tracker issue : CF-3040512

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 80982:When creating an Entity with something like thisproperty name="username" ormtype="string" unique="true" fieldtype="id";And then changing it to thisproperty name="id" ormtype="int" generator="identity"

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)

Created: 12/06/2009

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

When creating an Entity with something like thisproperty name="username" ormtype="string" unique="true" fieldtype="id";And then changing it to thisproperty name="id" ormtype="int" generator="identity";property name="username" ormtype="string"; // unique="true" fieldtype="id";The primary key is left on the username instead of being transfered over to the ID field, I think this is related to another bug I raised that did something similar with changing a datetime to a string and leaving the length of the field to that of the timestamp
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040512

External Customer Info:
External Company:  
External Customer Name: Andrew Scott
External Customer Email: 3DEA395D4926D3D0992015B9
External Test Config: 12/06/2009

Attachments:

Comments: