Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-117

Old user cleanup failes if document language is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.7.4
    • 9.7.2
    • User Cleanup
    • None
    • Unknown

    Description

      This seems to happen with Oracle DB, where the empty string might be stored as NULL.

       Error message:

      2022-06-09 14:52:27,112 [DefaultQuartzScheduler_Worker-2] WARN  o.x.c.l.s.OldUserCleanup       - Exception while test deleting [XWiki.testuser_11]. 
      groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method com.xpn.xwiki.doc.XWikiDocument#getTranslatedDocument.
      Cannot resolve which method to invoke for [null, class com.xpn.xwiki.XWikiContext] due to overlapping prototypes between:
      	[class java.lang.String, class com.xpn.xwiki.XWikiContext]
      	[class java.util.Locale, class com.xpn.xwiki.XWikiContext]
      

      Attachments

        Activity

          People

            camil7 Clemens Robbenhaar
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: