Opened 4 years ago

Closed 4 years ago

#963 closed defect (fixed)

The retraction wizard can't delete top-level data folder in project archive

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.9.4
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

After deleting all items in the BASE database it fails with an error message:

Path must be at least two levels deep: /1234567.1

Even though the secondary analysis only create files in subdirectories to the top-level directory a retraction should remove everything from the "top-level" directory and down.

Note! The "top-level" directory here is relative the configured root for the project archive.

Change History (4)

comment:1 Changed 4 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [4483]) Fixes #963: The retraction wizard can't delete top-level data folder in project archive

I think this should fix the problem. Could not really test it since running in debug mode create all files in /debug/1234567.1 folder which doesn't trigger the error message.

comment:2 Changed 4 years ago by Nicklas Nordborg

Milestone: Reggie v4.10Reggie v4.9.4
Resolution: fixed
Status: closedreopened

comment:3 Changed 4 years ago by Nicklas Nordborg

(In [4488]) References #963: The retraction wizard can't delete top-level data folder in project archive

Patch applied to Reggie 4.9-stable branch as well.

comment:4 Changed 4 years ago by Nicklas Nordborg

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.