Forum

Comment field in ta...
 
Notifications
Clear all

Comment field in table Activity

4 Posts
2 Users
0 Reactions
4,169 Views
Klaus
(@climb4fun)
Posts: 449
Contributor
Topic starter
 
[#424]

Hi Babynus,

there is a comment field in table Activity, but never used (value is always NULL) -- it's even not in Activities template.
What's purpose? How is it implemented and where? If not used yet, it would be nice to have it in template for usage.

Klaus


 
Posted : 21 Mar 2012 16H37
(@babynus)
Posts: 14952
Member Admin
 

Comment field was used in very first versions of Project'Or RIA (much before V1.0).
This field has been removed from GUI when "notes" functionality was implemented, because usage was notvery different, but field has never been removed from table definition.

You can easily use it : add

public $comment; 

in the fields list in /model/Activity.php, just at the place you wosh to have it displayed.
That's all : it's magic !


 
Posted : 21 Mar 2012 17H42
Klaus
(@climb4fun)
Posts: 449
Contributor
Topic starter
 

Great - indeed, it's magic!
Shouldn't we move this to tips & tricks?
---
What happens on an version upgrade? Do I have to trace manually?


 
Posted : 22 Mar 2012 8H57
Klaus
(@climb4fun)
Posts: 449
Contributor
Topic starter
 

Btw. never would miss the great note feature. Comment will be only used for small task handover hints or backlog tasks reminder.


 
Posted : 22 Mar 2012 9H00
Share:

Scroll to Top