Issue with Main.AllDocs/Page Index/livetable and rights access on xwiki 8.4.4

Hello,

My Main/AllDocs page displayed some blank lines in the table showing pages on the Wiki when log in with a restricting user

<tr><td> </td><td> </td><td> </td><td> </td><td> </td></tr>

I manage to reproduce the problem in jetty package:
Step to reproduce on SandBox space:

  • create a parent page “SubPageReadByAllExcepTest” with these rights access:
  • rights on page: XWikiAllGroup:View
  • rights on page and children: XWikiAllGroup:View and user (or group) “MyUser”: view forbidden
  • create a terminal page (or nestedpage) “SubPageReadByAllExcepTest.NormalPage” without rights access
  • create a terminal page (or nestedpage) “SubPageReadByAllExcepTest.PageWriteByMyUser” with rights: View, Edit and Comment for “MyUser”

Then “MyUser” have right access to SubPageReadByAllExcepTest.PageWriteByMyUser but can not view SubPageReadByAllExcepTest.NormalPage

Now with “MyUser” account the Page Index display a blank line in livetable if I filter (or sort) the table on “SubPageReadByAllExcepTest” location:
http://localhost:8080/xwiki/bin/view/Main/AllDocs#|t=alldocs&p=1&l=15&doc.location=SubPageReadByAllExcepTest

On my xwiki with a lot of page, the pagination is incorrect too becasue balnk lines.

ty

Pascal B

Hi Pascal,

See https://jira.xwiki.org/browse/XWIKI-14011 .

Hope this helps,
Marius

k Thxs.
I will try to merge your fix in my xwiki 8.4.4.
I hope I don’t need the fix of this file: xwiki-platform-core/xwiki-platform-livetable/xwiki-platform-livetable-ui/src/test/java/org/xwiki/livetable/LiveTableResultsTest.java

You can and should apply the changes for LiveTableResultsTest.java locally just to see that the live table build passes on 8.4.4 (a failing test means there’s a potential runtime issue). But you don’t need to overwrite any jar from WEB-INF/lib of your XWiki instance.

Hope this helps,
Marius

Ok thanks