Opened 14 years ago

Closed 14 years ago

#677 closed defect (fixed)

Element vars disappear if application element id changes

Reported by: verenadiewald Owned by: kmq
Priority: major Milestone: 2.7 release
Component: administration Version: 2.7 rc1
Keywords: Cc:

Description

Element vars of an application element are not copied if an application id is changed

Change History (7)

comment:1 by kmq, 14 years ago

Owner: changed from dev to kmq

comment:2 by kmq, 14 years ago

When saving an elemnt under a new name, it should actually be renamed, not copied under a new name. If it's copied the element_vars should be copied as well.

comment:3 by kmq, 14 years ago

Resolution: fixed
Status: newclosed

fixed in r6816

comment:4 by kmq, 14 years ago

Resolution: fixed
Status: closedreopened

Still some weirdness, go over again

comment:5 by kmq, 14 years ago

Resolution: fixed
Status: reopenedclosed

I got confused: when renaming an element to an already exisiting ID, an SQL error is shown. This is to be expected and handled better, but for my purposes the ticket is closed

comment:6 by verenadiewald, 14 years ago

Resolution: fixed
Status: closedreopened

Error editing an existing element: Editing and saving works doing it for the first time, but an error appears doing these steps for a second time: sql error: FEHLER: doppelter Schlüsselwert verletzt Unique-Constraint »pk_fkey_gui_id« ROLLBACK performed....

comment:7 by kmq, 14 years ago

Resolution: fixed
Status: reopenedclosed

orig_e_id_ needed to be set correctly fixed in r6865

Note: See TracTickets for help on using tickets.