[BUG] Do the attachments hustle

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] Do the attachments hustle

Hamster
Can someone please reproduce these steps?

First prepare 2 documents for upload. Let's say 2 MSWord documents, A.doc and B.doc.

1) Create a new page, enter some text
2) Upload A.doc
3) Remove A.doc
4) Upload B.doc
5) Activate the version where you uploaded A.doc (should be version 2.1)
6) Delete the latest version of the page (this *should* take you back to version 4.1 where you uploaded B.doc)

Examine the attachments page:
It will show A.doc and B.doc (which in my opinion is strange, because I would expect to only find B.doc).

Try to open A.doc (this is possible), now try to open B.doc (this is NOT possible).
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Hamster
What I would have expected:

Deleting the last version of the page should take be back where only B.doc was uploaded (and B.doc should be accessible).

But now I have BOTH attachments (small bug), and B.doc is NOT accessible! (major bug!)
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Hamster
-bump-

Could anyone please confirm the behaviour I have reported? If so, I will issue a JIRA :-)
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Hamster
In reply to this post by Hamster
-bump-

Can a developer please comment on this serious issue?
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Caleb James DeLisle-3
Any series of events which can cause an attachment to appear to exist but not
should be considered a bug so I think you should go ahead and open a JIRA issue.

Thanks for your detailed instructions to repeat, as always instructions are good,
a piece of velocity/groovy is better and a pull request with a failing test is
best :)

Thanks,
Caleb


ok actually a pull to fix the bug is best ;)


On 04/08/2014 12:00 PM, Hamster wrote:

> -bump-
>
> Can a developer please comment on this serious issue?
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/BUG-Do-the-attachments-hustle-tp7589936p7590024.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Hamster
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Hamster
Btw, my problem looks A LOT like this issue (which is marked as resolved!) http://jira.xwiki.org/browse/XWIKI-7947
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Do the attachments hustle

Hamster
Any dev willing to comment on these JIRA's?