NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item11105: Saving an attachment stores "save attachment" string in version history, instead of the attachment comment
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
|
|
This line in
lib/Foswiki/Store/VC/Store.pm 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.
--
ArthurClemens - 04 Sep 2011
Added a unit test. Verified that the test fails with Arthur's fix reverted. Passes with fix applied.
--
GeorgeClark - 12 Sep 2011