error while deleting some user : do someone reproduces ?

View: New views
1 Messages — Rating Filter:   Alert me  

error while deleting some user : do someone reproduces ?

by Jérémy Lal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Action : delete some user via admin Users page.
Result :
        java.sql.SQLException: ORA-02292: violation de contrainte (ATLEAP.FK608ABA4CB181EB49) d'intégrité - enregistrement fils existant
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
Probable cause :
        rows referencing that user in "al_core_user_cookie"
        somehow they are not deleted by hibernate, but oracle kept track of them.
workaround :
        delete rows in table "al_core_user_cookie" containing that username, before trying to delete user.


Version : atleap 0.55, HIBERNATE 3.2 (atleap needed some modifications, so perhaps my bug comes from this choice of version), Oracle 10g

regards,

Jeremy.








---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price