[ 
https://issues.apache.org/jira/browse/JSPWIKI-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139921#comment-18139921
 ] 

ASF subversion and git services commented on JSPWIKI-1320:
----------------------------------------------------------

Commit 560bbc4b3898dae695b621829bb16971c66705a1 in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=560bbc4b3 ]

JSPWIKI-1320 Add the entry of the change to the ChangeLog


> The RSS feed of a page diffs against a version that does not exist when a 
> version was deleted
> ---------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1320
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1320
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Arturo Bernal
>            Priority: Major
>              Labels: pull-request-available
>
> The RSS feed of a page describes a change with a diff between the version and 
> the one before it. DefaultRSSGenerator.getPageDescription takes the previous 
> version as version - 1, as its FIXME says ("Will fail when non-contiguous 
> versions").
> Measured on the current master with VersioningFileProvider and the 
> SvnStyleDiffProvider: I saved a page three times ("line one", then two lines, 
> then three lines), deleted version 2 with PageManager.deleteVersion, and 
> generated the RSS of the page for version 3. The description of the entry 
> shows all three lines as added, although version 3 differs from the remaining 
> version 1 only by the lines "line two" and "line three". Reading version 2 
> fails with a ProviderException, which is logged at ERROR level twice, and the 
> text of the missing version is taken as empty.
> Expected: the diff is made against the latest version that still exists 
> before the one described.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to