Details
-
Bug
-
Resolution: Fixed
-
Low
-
2.6, 2.6.1, 4.4.5
-
None
Description
We enforce a non-null constraint on the USER_NAME column, if username is not specified during loging:
2010-07-19 12:50:00,469 INFO [7373191@qtp-16554308-202] [DefaultAuthenticator] login : '' does not exist and cannot be authenticated.
Bamboo throws a SQL error, as Oracle interprets empty strings as NULL:
2010-07-19 12:50:00,479 ERROR [7373191@qtp-16554308-202] [FiveOhOh] 500 Exception was thrown. org.springframework.dao.DataIntegrityViolationException: Hibernate operation: Could not execute JDBC batch update; SQL []; ORA-01400: cannot insert NULL into ("BAMBOO"."AUTH_ATTEMPT_INFO"."USER_NAME") ; nested exception is java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("BAMBOO"."AUTH_ATTEMPT_INFO"."USER_NAME")
Attachments
Issue Links
- relates to
-
BDEV-5456 Loading...