That's the thing.. I would have expected this to happen if I imported either
the base groups or base users. Luckily I have been doing the upgrade tests
on my own pc - so I've run through it a couple of times now.
Any included (or otherwise parsed) pages with "protected" instructions,
notably groovy scripts and .search() [obviously .searchDocuments() is fine]
do not work.
Even when I don't import the .XAR this happens with my current version
(1.4.1). I don't have any other versions to test - so I'm not sure if the
same happens with those.
On Fri, Dec 12, 2008 at 1:22 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote;wrote:
On Fri, Dec 12, 2008 at 1:22 PM, Jean-Vincent Drean
<jean-vincent(a)drean.org> wrote:
On Fri, Dec 12, 2008 at 12:01 PM, Sergiu Dumitriu
<sergiu(a)xwiki.com>
wrote:
> underbad wrote:
>> Sorry being a pain..
>> Is there no way of avoiding this? It effectively stops me from
upgrading
past my current version of xwiki.
You shouldn't need this at all. Why are you saying it is not working?
Programming rights are lost in three cases:
1. You save the affected document with a user without programming rights
(in which case you are intentionally removing rights)
2. You delete the user who provided programming rights to the document
(and you just need to re-create the user, not save all the documents)
3. You delete the rights from that user (and you just need to re-add
those rights)
It reminds me a problem I had once. When the importer overwrite a page
it first delete it, and when the XWiki.Admin user is deleted its
XWiki.XWikiAdminGroup membership is deleted too.
In this case, when you import the XWiki.Admin user by mistake you can
have to put it in the XWiki.XWikiAdminGroup again.
The importer does not sens delete notification anymore. See
http://jira.xwiki.org/jira/browse/XWIKI-2365
JV.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users