Project

General

Profile

Actions

Defect #6878

open

Copy Project: Using Browser Navigation Corrupts Projects

Added by Moritz Voss about 14 years ago. Updated over 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

Also available in: Atom PDF