[#559] docman: Unable to empty trash

Description

Summary:

Detailed description

Steps to reproduce: 1) Create a new project 2) Import the phpwiki ZIP (in attachment) in docman (will stop on a title length error, no worry). 3) Put the whole phpwiki folder in the trash 4) Clean the whole trash

Trash cleaning will fail with SQL errors (not visible): [256] SQL error: DELETE FROM docgroups WHERE stateid=$1 AND groupid=$2 AND groupname !=$3 [256] SQL: Arguments=["2","7",".trash"] [256] SQL> ERROR: update or delete on table "docgroups" violates foreign key constraint "docdatadocgroupid" on table "docdata" DETAIL: Key (docgroup)=(35) is still referenced from table "doc_data".

General Information
Submitted by:
Alain Peyrat
Date Submitted: 2013-06-25 13:20
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2013-06-25 22:27
Permalink: https://fusionforge.org/tracker/a_follow.php/559
Actions
Internal Fields
Data Type: Bugs
Assigned to: Franck Villaume (nerville)
State: Closed
Priority: 5
Extra Fields
Resolution:
Accepted As Bug
Severity:
blocker
Target Release:
5.3
Follow-up tabs
Message  ↓
Date: 2013-06-25 22:27
Sender: Franck Villaume

fix in master. commit 7d079729dbaaa4e163483967e4809e625a3697e8

some files were omitted when moving folder and subfolders to trash. reopen the bug if you need.

Attachments:
Size Name Date By Download
5.63 MiBphpwiki-1.4.0rc1.zip2013-06-25 13:20
Alain Peyrat
phpwiki-1.4.0rc1.zip

No related commits.

Field Old Value Date By
status_idOpen2013-06-25 22:27
Franck Villaume
close_dateNone2013-06-25 22:27
Franck Villaume
assigned_tonone2013-06-25 22:27
Franck Villaume
ResolutionNone2013-06-25 22:27
Franck Villaume
File Added323: phpwiki-1.4.0rc1.zip2013-06-25 13:20
Alain Peyrat

No relations found.