For a troubleshooting guide, we have created a new class modelled on the FAQ tutorial. Fields such as ‘Problem’, ‘Solution’ and ‘Symptoms’ are correctly listed as a LiveData table, and filtering works. However, it does not work when I try to filter by ‘Author’.
Our users are created with the mailadress as username after a login using the OpenID Connect Authenticator Extension.
Possible cause
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
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:
- Create an entry with creator XWiki.devops.
- Create another entry with creator XWiki.foo@domain.com.
- Filter the doc.creator column.
Actual result:
Filtering for XWiki.devops works.
Filtering for the email-based user returns no results.
Expected result:
The filter should match the documents created by XWiki.foo@domain.com.
Thank you in advance for help or maybe a hint.