Copy Project: Using Browser Navigation Corrupts Projects
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)
#1 Updated by Moritz Voss about 12 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.