|
| Description: |
Steps to reproduce: # Create an ldap user with a mail (or any other attribute) of length greater than 768 # On xwiki, create an attribute mapping from XWiki's email to the ldap mail attribute # Setup the correct connection between xwiki and ldap # Try to authenticate with the configured user
Excepted Expepted :
The user successfully logs in
Actual:
The login fails and the following error is present in the logs:
{code:java} 2026-04-06 15:17:35,925 [qtp1039949752-32 - http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN o.h.e.j.s.SqlExceptionHelper - SQL Error: 3401, SQLState: 22001 2026-04-06 15:17:35,926 [qtp1039949752-32 - http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] ERROR o.h.e.j.s.SqlExceptionHelper - data exception: string data, right truncation ; size limit: 768 table: XWIKISTRINGS column: XWS_VALUE 2026-04-06 15:17:35,934 [qtp1039949752-32 - http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN nticationFailureLoggerListener - Authentication failure with login [RetiredAccName] {code} |
|