many thanks for your answer. However I am not sure I understood everything.
What I actually would like to know is what should I do to solve this
critical problem? How should I edit the
http://xwiki:8080/xwiki/bin/edit/XWiki/XWikiAllGroup?editor=object for
instance?
First, browse /xwiki/bin/view/XWiki/XWikiAllGroup if this doesn't have all
the registered users of your wiki listed, then they will not have privilege
to do much of anything on the wiki. This can happen, for example, if you
overwrite your original XWikiAllGroup file with the one from the XAR at
import-time. If that happens, or if XWikiAdminGroup is similarly
overwritten or damaged, then additional administrators won't be granted that
privilege.
Hand editing of the objects associated with these documents may be necessary
if the above happens,. Hand editing is also necessitated by the new bug that
occurs from "add user" or "add member to group" causing
/xwiki/bin/view/XWiki/XWikiAllGroup and
/xwiki/bin/view/XWiki/XWikiAdminGroup to not list the associated users. I
guess this must be a regression introduced into 1.9 as 1.8 didn't have this
problem, and also had a different implementation and appearance for viewing
XWikiAllGroup and XWikiAdminGroup.
To hand-edit these documents, as 'Admin', select document menu Edit->Object.
In the object editor, note that each object is displayed in an "accordion"
with each object
heading looking like "XWiki.XWikiGroups[11]" (1.8) or "Objects of type
XWiki.XWikiGroups...XWikiGroups 6: XWiki.NielsMayer" (2.0). Fully expand the
accordions to see the contents of the objects you want to verify and edit.
On each of these group-documents (e.g. XWiki.XWikiAdminGroup,
XWiki.XWikiAllGroup), there are multiple object instances of
XWiki.XWikiGroups, each having a single "Member" field; that field contains
a single valid XWiki user. Verify that the document referenced as the user,
e.g. XWiki.NielsMayer exists and has appropriate "rights" for each user
listed as "Member." Delete any XWiki.XWikiGroups instances that don't
correspond to a real user on your wiki; use the "Add Object" panel on the
right to add new instances of XWiki.XWikiGroups to the group docs for any
users not listed. (You don't need to
delete an invalid member and separately add a valid one, just change the
invalid document in the "member" field to a valid one).
Finally, go to Administration->Rights and make sure the group documents you
just "hand edited" have appropriate rights, e.g. Wiki.XWikiAdminGroup should
probably have "Edit" "Delete" and "Admin" checked;
XWiki.XWikiAllGroup
should probably have "View" and "Comment" selected. This might be
needed
if you overwrote XWiki.XWikiPreferences in importing the new XAR. On the
other hand, sometimes you might need to overwrite XWiki.XWikiPreferences
(e.g. in upgrading Xwiki across big revision changes).
It's probably a good idea to allow XWiki.XWikiPreferences to get overwritten
across big Xwiki revision changes, just re-do Administration-> General,
Presentation, Registration, Programming and Rights*.*
One helpful tip is to use your browser's form-field autocompletion features
to save the contents of the fields of the "old wiki" by re-saving General,
Presentation, Registration, Programming and Rights prior to upgrading the
wiki. After upgrading, use your browser's memory of prior form fileds to
reinsert the appropriate prior form-field contents back into the form, and
re-save.
*
*It would be a nice addition to XWiki to have some kind of merging tool on
import. This would allow updating of system documents with new features or
bugfixes, while giving the wiki administrator bettter control over
customizations made in the wiki. Something like
http://n2.nabble.com/import-administration-enhancement-feature-request-td24…
* ...
***Niels
http://nielsmayer.com