stable

Clone or download

Read-only

request #11675: Updating an artifact through SOAP sets an invalid comment format in database

The verification of the comment format takes into account the type of the value being verified, a boolean true value is not the same than "text" or "html" value. Also, the comment format given to the SOAP API is now taken into account, previously the value true was always set regardless of what the user chosen. Change-Id: I35752e5e325a5edec83a8fc7adb330f73d0538bf

Modified Files

Name
A plugins/tracker/db/mysql/updates/2018/201806251130_fix_invalid_comment_format.php +41 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/SOAPServer.class.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_Artifact_Changeset_CommentTest.php +9 −1 Go to diff View file