Issue Details (XML | Word | Printable)

Key: CHKOUT-24
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Riyaz Shaikh
Reporter: Anthony Gilley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Attachment Checkout Plugin

Possible to circumvent the checkin functionality

Created: 18/Jul/08 04:01 AM   Updated: 23/Oct/08 09:26 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Confluence 2.8.2, plugins-checkout-1.0.4-dr01.jar

Labels:


 Description  « Hide
It is possible to bypass the checkin/out functionality by directly uploading a new version of a file.

Scenario:
1. Upload the original file (file.txt).
2. Check the file out
3. Check in an updated version of the file
4. There are now two version of the file.
5. Via the standard attachment interface upload an altered file with the same name (file.txt)
6. Error: A third version of the file now exists. This should not have been permitted.



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Andy Brook added a comment - 03/Oct/08 07:53 AM - edited
tried in 2.9..1 / 2.0-dr01 :

Given the use case you describe, I would say this is not a bug, its normal and expected behaviour. IF the file was checked out you would see:

 The following error(s) occurred:

    * A file being saved is checked out for editing. Either upload the file with a different name or check in the checked out files.


Anthony Gilley added a comment - 05/Oct/08 02:28 AM
If a file can be altered without first checking it out then what's the purpose of the plugin?

Riyaz Shaikh added a comment - 23/Oct/08 09:26 AM
Anthony,
ACP is developed on top to Confluence Attachment Macro. If install ACP is then default Confluence Attachment macro will be automatically get disabled and if you disable ACP then Confluence Attachment macro will get enable.
Purpose of ACP is to provide some extra feature to Confluence Attachment macro and disabling ACP will not stop you create versions for attachments.

I am closing this issue as this is not a bug.

ACP: - Attachment Checkout Plug-in


Riyaz Shaikh added a comment - 23/Oct/08 09:26 AM
This is not a bug.