You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2014/08/19 18:57:18 UTC

[jira] [Closed] (JSPWIKI-575) Attachment objects with wrong version numbers (-1)

     [ https://issues.apache.org/jira/browse/JSPWIKI-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske closed JSPWIKI-575.
--------------------------------

    Resolution: Cannot Reproduce

> Attachment objects with wrong version numbers (-1)
> --------------------------------------------------
>
>                 Key: JSPWIKI-575
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-575
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.2
>         Environment: Win, Tomcat, IE + FF
>            Reporter: Jochen Reutelshoefer
>
> If a new version of an attachment is uploaded jspwiki looks for the old version. This old version can not be found because its looked up with a wrong page  name (AttachmentServlet.executeUpload()). We believe the reason is that the current page name is not contained in this request. (DefaultURLConstructor.parsePage()) 
> We are implmenting a plugin that listens attachment file versions and we cannot manage to do so because the version number fo the Attachment is always -1.
> When the server is restartet all version numbers are initialized correctly but will be corrupted by new uploads of the particular file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)