Error when editing and then saving a ticket: Transaction rolled back because it has been marked as Rollback Only Error details: Message: Transaction rolled back because it has been marked as rollback-only Exception Type: org.springframework.transaction.UnexpectedRollbackException Error Code: 999 Facility: webapp.FP Build Number: 23 Serial Number: FPxxxxx Locale: en_US Log entry identifier: 8a6b96c0-f889-4ab0-af20-3654849930aa Hash Code: -1550096214 Stack Trace: * Stack Trace Summary: - org.springframework.transaction.UnexpectedRollbackException : Transaction rolled back because it has been marked as rollback-only |
1. Go to Server Configuration and enabled custom logging 2. Add this package filter: core.dataaccess and select Debug. 3. Then Save Open Log Viewer, showing Debug. Filter by method: core.dataaccess. Errors in the logs will show something like the following: DEBUG|2016-05-12T17:01:15.160|EDT|FP-SERVER|importUserTaskExecutor-1|*.core.caching.CacheTransactionAspect$1.afterRolledBack()|||Transaction: 1, rollback changes, clean up elements from caches: [UserProfileCache, UserCacheById, SystemProfileCache, UserCacheByLogin, UserNameCache], and: []| DEBUG|2016-05-12T17:01:24.020|EDT|FP3-CENTRAL|http-nio-443-exec-15|*.core.dataaccess.lock.DefaultLockService.deleteLock()|||Lock is deleted for the DYNAMIC_ITEM and user Thomas West with target parent id 80,001 and target child id = 105 and lockState = DELETE| Also includes the actual business rule in error something like: Error Execution of action "sendsurveyto" This should help identify the business rule causing the conflict on the rule. Set this to Inactive to be able to edit and save/close the ticket without error |