Download & Extend

Case Tracker failing to keep parameter from comment sent from mailcomment

Project:Case Tracker
Version:6.x-1.0-beta9
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Hi,

I tried to set mailcomment to be able to reply to case tracker comments directly from my inbox. It works great for the blog comments, however I get some errors coming from the case tracker.

warning: htmlspecialchars() expects parameter 1 to be string, array
    given in /home6/anthrop3/public_html/mywebsite/atrium/includes/bootstrap.inc
    on line 857.

Then the comment reset all the parameter of the case (status, priority, project, assignment, etc.)

If I edit the comment, and save it without changing anything, everything fall back in place.

My understanding of this problem is that CT is expecting to get information regarding the case parameter in the mail comment. I tried to read the CT documentation without finding anything regarding this.

So my question his, is there a command I could use to tell CT to keep previous setting ? How those setting works, what are the command ? Is there some documentation somewhere about it ? Could I set them to mailhandler default command ? Is there anyway to bypass those setting ?

I attached a screenshot of the case and the comment, with the error and the modification done by the comment to the CT status.
https://community.openatrium.com/sites/community.openatrium.com/files/at...
Please take in consideration that I am just a end user without any programming knowledge. I am fairly familiar with the AO differents GUI interface, but that's about it.

Thanks in advance.

Philippe

(xpost from https://community.openatrium.com/issues/node/3257 )

Comments

#1

Category:support request» bug report
Status:active» needs review

I've had this issue as well. patch attached.

AttachmentSize
casetracker_mailcomment.patch 1.24 KB

#2

Status:needs review» needs work

I've also had this issue. Posted a fix at https://community.openatrium.com/issues/node/3257 which is just the code from http://drupal.org/node/641974#comment-2306912 put into a new module called mailcomment_casetracker - which gives the desired result.

#1 looks like a good fix too - and doesn't require a new module! However, when testing, I got the same result as the initial problem. Screenshot: http://img.skitch.com/20110902-d35hmp4mk352xsrcy51pufw2rb.jpg

#3

subscribe

nobody click here