Yes, there is a common problem: necessary pages are not saved with programming rights.
There are several ways to fix it:
1. Make standard XAR import as backup package. As far as I understand, XWiki imports pages
as already saved with programming rights. In this case there is no need in user with
programming rights (as far as I understand XWiki)
2. Use Admin Tools application and run Programming Rights Check. In most cases it would
help.
3. Open and save all these pages manually with a user with programming rights. "These
pages" means all scripting pages that fails to run. In this case all
"dependencies" you will have to search manually looking at source code.
I had several cases, mainly in virtual wikis, were macroses, sripts, sheets, dashboards
etc. were magically not working.
Each time It happens, I find it not from the very beginning and cannot trace action-result
dependencies.
But sure, it looks very annoing to "debug" new wiki when users send me requests,
that something is not working in the BRAND NEW virtual wiki out of the box.
IMHO, it happens mainly after upgrade and new wiki creation, but I can't even guess
what actions are giving such a results, that is why, I can't jira it as a bug. Looks
unpredictable for me, because in 99% of cases I use user with programming rights to fulfil
admin tasks, but it doesn't help much :-(
Some last cases I remember: Activity stream, AllDocs page refused to show Tree, Spaces
macro refused to show spaces, dasboard etc.
If someone will give a solution, how to fix ALL pages containing scripting all together
(resaving with programming rights) and/or give a hint gow to avoid this, would appreciate
much, because XWiki sometimes drives me crazy to make it running :-)
Воскресенье, 13 января 2013, 17:08 -08:00 от Regan Gill <reganfgill(a)yahoo.com>om>:
Hi,
I updated the virtual wiki
http://scservicesub.myxwiki.org with the
xwiki-enterprise-ui-all-4.4-rc-1 and now the Activity stream on the dashboard doesn't
show anything. I am wondering if I need someone with programming rights to do the import?
I am used to running our wiki and now moving it to the virtual system and so many things
seem to be hard to do....
Thanks,
Regan
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry