Uploaded image for project: 'Inline Table LiveData'
  1. Inline Table LiveData
  2. XLIT-24

LiveTable filter fails for dotted usernames

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • Unknown

    Description

      Live Data serializes the users mailadress as an escaped XWiki document reference, but
      the LiveTable backend appears to compare that escaped serialization directly
      with XWikiDocument.creator → XWiki.foo@domain.com not equal to XWiki.foo@domain\.com

      XWiki version:
      17.10.4

      Example Macro:

      {{liveData
      id="troubleshootingguide"
      source="liveTable"
      properties="doc.title,error-message,doc.creationDate,doc.date,doc.creator,tags"
      sourceParameters="translationPrefix=Customization.&className=Customization.TroubleshootingEntryClass&tags_class=XWiki.TagClass"
      }}

      Steps to reproduce:

      1. Create an entry with creator XWiki.devops.
      2. Create another entry with creator XWiki.foo@domain.com.
      3. Filter the doc.creator column.

      Actual result:

      Filtering for XWiki.devops works.

      Filtering for the email-based user returns no results.

      XWiki.foo@domain.com

      Expected result:

      The filter should match the documents created by XWiki.foo@domain.com.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aryasvitkona Stefano Rutishauser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: