Edgewall Software
Modify

Opened 15 years ago

Closed 14 years ago

Last modified 9 years ago

#7933 closed defect (fixed)

Milestone Attachments Lost when Milestone Name Updated

Reported by: anonymous Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: attachment Version: 0.11.1
Severity: normal Keywords: milestone, attachment
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When I updated a milestone's name, the attachments associated with it no longer appeared. They were still in the database's "attachment" table, only associated with the id of the milestone's previous name. Manually updating the id in said table corrected everything as it should be.

Personally, I think updating a milestone's name shouldn't cause the attachments associated with it to no longer show up, requiring manually adjusting the database field.

Attachments (0)

Change History (5)

comment:1 by Christian Boos, 15 years ago

Milestone: 0.13

Right, we should call:

Attachment.reparent_all(env, 'milestone', old, 'milestone', new, db)

(method only in the WikiRename branch for now).

comment:2 by Christian Boos, 14 years ago

Milestone: next-major-0.1X0.12.1

comment:3 by Remy Blank, 14 years ago

Milestone: 0.12.10.12
Resolution: fixed
Status: newclosed

Fixed in [9692], together with a unit test.

comment:4 by Remy Blank, 14 years ago

Owner: set to Remy Blank

comment:5 by Ryan J Ollos, 9 years ago

Regression from [9692] described in comment:7:ticket:11419 and fixed in comment:9:ticket:11419.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.