[xwiki-users] Livetable results for guest users
Hi, I have a Wiki which sole purpose is provide documentation for another Wiki based on vairous classes used to define this documentation. The wiki should be publicly accessible. I'm using Livetables to show the results. So far so good. I do not have any problems controlling the environment for guest users in accessing the data. I ran into a problem however: I added a column "sequencenumber" (just a "Number") in a class, to control the sequence of objects for a certain parent. This column is displayed in the livetable as a sortable column. This works great when I'm signed-in as Admin, but when I'm accessing the livetable as guest, it doesn't work as I expected. The data is shown when I'm selecting any other (non-number) column as a sort key, but when I select the sequencenumber column to sort the data, nothing (no single row) is displayed. Selecting another key to sort the data brings the rows back on the screen. I've tried changing the visibility of the livetable macro's but that didn't bring me anything. Is there anyone who had the same experience and (obviously) can help me solve this (without changing the sequencenumber to String type)? :-) Thanks, Peter
Hi Peter, Would help to know what version of XWiki you are using and whether you have a custom live table results page or you're using the default (unmodified) XWiki.LiveTableResults . Also, does the number sort work for a simple (non-admin) user that is logged in? Thanks, Marius On Mon, Apr 20, 2015 at 10:18 AM, Peter Huisman <[email protected]> wrote:
Hi,
I have a Wiki which sole purpose is provide documentation for another Wiki based on vairous classes used to define this documentation. The wiki should be publicly accessible. I'm using Livetables to show the results.
So far so good. I do not have any problems controlling the environment for guest users in accessing the data. I ran into a problem however: I added a column "sequencenumber" (just a "Number") in a class, to control the sequence of objects for a certain parent. This column is displayed in the livetable as a sortable column. This works great when I'm signed-in as Admin, but when I'm accessing the livetable as guest, it doesn't work as I expected. The data is shown when I'm selecting any other (non-number) column as a sort key, but when I select the sequencenumber column to sort the data, nothing (no single row) is displayed. Selecting another key to sort the data brings the rows back on the screen.
I've tried changing the visibility of the livetable macro's but that didn't bring me anything. Is there anyone who had the same experience and (obviously) can help me solve this (without changing the sequencenumber to String type)? :-)
Thanks,
Peter _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Marius Dumitru Florea -
Peter Huisman