Defect #6878
openCopy Project: Using Browser Navigation Corrupts Projects
0%
Description
Using the Browser "Back" Navigation button when copying projects (used Safari on a Mac) to create the same project (as a series of subprojects of one parent project!) multiple times (Browser asks to resubmit form data, clicking "yes" of course), the following happens:
- Redmine says Name and Identifier are already taken.
- Changing name and identifier lets the copy be saved.
Doing this respeatedly results in projects circularly containing each other, duplicate or ambiguous identifiers, etc.
Repro:- Create project.
- Create subproject.
- Copy subproject in Administration Menu, name it "test1"
- Hit Back on browser.
- Click "Send" on re-send form data
- Change project name and identifier to "test2", click save.
- Repeat several times.
- try to manage or move around projects.
- observe weird projects structure (see screenshots)
Files
Updated by Moritz Voss about 14 years ago
I first noticed this when one project seemed to exist twice, containing both itself and being contained by another project twice. (stress 3). Deleting one made the other disappear, but deleting their container made the first stress3 reappear.
Difficult do estimate what exactly broke there, and I can't reproduce it as of now.
Updated by Luis Serrano Aranda over 13 years ago
I have the same error, In addition Redmine copied twice for the same project and also has gotten me existing projects that have nothing to do within the project