The new actions in case tracker allow administrative users to make changes in "invisible mode". This changes the database without posting a comment or creating a revision and thus makes it impossible to trace how a issue ended up in the current state.

I think this functionality is problematic, and should be removed.

CommentFileSizeAuthor
#2 538830_invisibility-removed.patch7.26 KBGrayside

Comments

Grayside’s picture

Assigned: Unassigned » Grayside

I'll try to tackle this in the couple weeks.

Grayside’s picture

Status: Active » Needs review
StatusFileSize
new7.26 KB

Here's invisibility removed.

jmiccolis’s picture

Status: Needs review » Fixed

Thanks for the patch, sorry for the delay. Committed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

akin.demirci’s picture

So the invisible mode is removed. OK but which code performs the action defined in rules now? As far as I could see the only action that is performed when the rule is triggered is to insert a new comment, but no change is made to the case itself.
For example I want a case to be auto-assigned to a user according to the taxonomy term which the case updated belongs to. I set the rule, it is triggered, the comment is there, the message "Case #1617: assign_to set to 96" is there, but the assign_to field of the case #1617 in the database is not changed, still anonymous.
I am surely missing something here but what?
Thanks...

akin.demirci’s picture

Status: Closed (fixed) » Active

So the invisible mode is removed. OK but which code performs the action defined in rules now? As far as I could see the only action that is performed when the rule is triggered is to insert a new comment, but no change is made to the case itself.
For example I want a case to be auto-assigned to a user according to the taxonomy term which the case updated belongs to. I set the rule, it is triggered, the comment is there, the message "Case #1617: assign_to set to 96" is there, but the assign_to field of the case #1617 in the database is not changed, still anonymous.
I am surely missing something here but what?
Thanks...

akin.demirci’s picture

Status: Active » Fixed

Sorry to bother you :(
I realized what I was missing: drupal_write_record in the hook_comment.
Learning more everyday :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.