[#304] Cannot edit or remove document in docman

Description

Summary:

Detailed description

This bug is forwarded from https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=931&group_id=1&atid=101

Here is the original bug:

I found various issues with the Doc Manager when I tried to update the file CHANGES of calendar. See https://forge.ocamlcore.org/docman/?group_id=83.

1) Button "Edit this document" doesn't seem to work 2) Button "Remove" seems to remove the file as expected since it does not appear anymore in the list BUT: a) the link still works : http://forge.ocamlcore.org/docman/view.php/83/51/CHANGES (I'm not sure that is really the same file actually ;-)) b) it is still not possible to upload a file called "CHANGES": there is an error "Ce document a déjà été publié dans ce dossier" (already published document).

Thus after removing my old CHANGES, I found no way to add a new one :-(.

General Information
Submitted by:
Sylvain Le Gall
Date Submitted: 2011-05-19 09:51
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2012-10-22 08:19
Permalink: https://fusionforge.org/tracker/a_follow.php/304
Actions
Internal Fields
Data Type: Bugs
Assigned to: Franck Villaume (nerville)
State: Closed
Priority: 3
Extra Fields
Resolution:
Fixed
Severity:
normal
Target Release:
5.2
Follow-up tabs
Message  ↓
Date: 2012-10-22 08:19
Sender: Franck Villaume

fixed in 5.2

Date: 2011-07-04 07:13
Sender: Franck Villaume

@alain: if documents from trash are not available for download, how can you be sure you want to restore this document ? You need to be able to download the document, check this document and restore it or permanently delete it.

In trunk, you need at least "approve" permission to download trashed documents. If anonymous user has only read access, then you need to log.

Date: 2011-07-01 19:55
Sender: Alain Peyrat

Frank: I think that trashed documents should not be available for download.

Sylvain: I fixed several bugs on docman recently, so you might recheck with an uptodate svn tree.

Date: 2011-06-10 13:52
Sender: Franck Villaume

on remove, the file has "delete" state id. The file is now visible in trash. To keep data constitency, you cannot upload same file until to permanently delete the file thru the trash administration.

The link still works because the file is not deleted but just trashed. Actually, it's not a bug, trash implementation in branch 5.1 is not user friendly.

No attached documents

No related commits.

Field Old Value Date By
status_idOpen2012-10-22 08:19
Franck Villaume
close_dateNone2012-10-22 08:19
Franck Villaume
assigned_tonone2012-10-22 08:19
Franck Villaume
Target ReleaseNone2012-10-22 08:19
Franck Villaume
ResolutionNone2012-10-22 08:19
Franck Villaume

No relations found.