Project

General

Profile

Actions

Defect #6878

open

Copy Project: Using Browser Navigation Corrupts Projects

Added by Moritz Voss over 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
-
Start date:
2010-11-12
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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.
Later:
  • try to manage or move around projects.
  • observe weird projects structure (see screenshots)

Files

list_of_projects.png (68.7 KB) list_of_projects.png Project list looks like this! Moritz Voss, 2010-11-12 14:02
broken_project_stress10.png (74.4 KB) broken_project_stress10.png However, entering stress10 will look like this: (see top!) Moritz Voss, 2010-11-12 14:02
broken_delete_stress5.png (18.9 KB) broken_delete_stress5.png Deleting some (not all!) projects will tell you stress10 is one of their subprojects Moritz Voss, 2010-11-12 14:02
Actions #1

Updated by Moritz Voss over 13 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.

Actions #2

Updated by Luis Serrano Aranda almost 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

Actions

Also available in: Atom PDF