Item11105: Saving an attachment stores "save attachment" string in version history, instead of the attachment comment
This line in
has a comment hardcoded:
$handler->addRevisionFromStream( $stream, 'save attachment', $cUID );
This string shows up in the attachment version history table, where you would expect the comment of the attachment. And this means that the previous comments to that attachment are lost.
This did not happen in Release01x00 branch.
- 04 Sep 2011
Added a unit test. Verified that the test fails with Arthur's fix reverted. Passes with fix applied.
- 12 Sep 2011