PDA

View Full Version : Exception while registering an app



Lori
Dec 8th, 2010, 03:47 AM
Hi,

i like the idea very much to have a growing, community based project that serves as "state of the art" example or "best practice" example or how you may call it.

I registered yesterday and got an exception on my very first try to register an app :(

It all comes down to a database constraint.
The message is
Unique index or primary key violation: "CONSTRAINT_INDEX_FE ON PUBLIC.APP(SLUG)

Now how will it be solved?
Can i contribute and fix that problem?
Can i even extend the whole application with an ExceptionResolver (as we all know that showing stacktraces to the user is....)

LOVE

Keith Donald
Dec 8th, 2010, 08:48 AM
Looks like you attempted to register an application with the same name as another application, and the unique index on the SLUG column was violated. We should definitely be handling that case if we are not. You can report the bug here at http://jira.springsource.org/browse/GREENHOUSE. You can definitely also fork the Greenhouse repository, fix the bug, and submit a merge request back to the core development team. I'm also working on a social coding article that covers this process.

Keith