History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: CHD-2019
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Assignee: Unassigned
Reporter: Dan Hildebrandt [WGM]
Votes: 0
Watchers: 0
Operations

Clone this issue
If you were logged in you would be able to see more operations.
Cerberus Helpdesk

Address peek cannot create new Orgs

Created: 18/Aug/10 05:57 AM   Updated: 18/Aug/10 11:00 AM
Fix Version/s: 5.1-rc1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description   
When adding details about an address via the peek popup (clicking the From: on a message in a ticket), the save silently fails when the Org entered does not exist already.

 All   Comments   Work Log   Change History      Sort Order:
Comment by Jeff Standen [WGM] [18/Aug/10 10:49 AM]
DAO_ContactOrg(93):Duplicate entry '0' for key 'PRIMARY'

Comment by Jeff Standen [WGM] [18/Aug/10 10:53 AM]
The issue was the lack of AUTOINCREMENT on the contact_org table since we dropped sequences.

It wouldn't have been a problem adding an org directly from the address book too.

It's a little sneaky, since adding the first org during testing works because it's assigned an ID of 0. However, a second org can't be created which duplicates ID = 0.

Comment by Jeff Standen [WGM] [18/Aug/10 11:00 AM]
Fixed!