Restoring a broken XWikiSkins class
Hey everyone, Sorry to be posting yet again, but... I seem to have broken my XWikiSkins class and am looking for a way to restore it to the out-of-box default. Can this be done easily? The story is this: I've been trying to set up a new skin for my XWiki instance, based on the default one. This has been tricky since the default skin imports a bunch of extra CSS files which are not shown in the skin-editor form that XWiki uses. I edited the XWikiSkins class to add some of these files to the display. But that didn't work as well as I'd hoped, so I wanted to delete these properties from the XWikiSkins class. Seeing nothing in the UI to do that, I tried clearing all the form fields and saving it. I got an error that property names can only be "A-Za-z0-9", which makes sense. However, it looks like something went really wrong behind the scenes. When I viewed this class again, it was missing all of the properties except for one ("Page Menu"). This seems like a serious bug in the Class Editor, but I am less concerned about that than I am about getting the skins class back to normal. So, is there any easy way to do this? Thanks again, - Peter
Hi Peter, Have you tried using the « Show History » feature and then clicking on Rollback to restore a previous version? Thanks -Vincent From: Peter Flynn [mailto:pflynn@adobe.com] Sent: mercredi 13 décembre 2006 23:58 To: xwiki-users@objectweb.org Subject: [xwiki-users] Restoring a broken XWikiSkins class Hey everyone, Sorry to be posting yet again, but I seem to have broken my XWikiSkins class and am looking for a way to restore it to the out-of-box default. Can this be done easily? The story is this: Ive been trying to set up a new skin for my XWiki instance, based on the default one. This has been tricky since the default skin imports a bunch of extra CSS files which are not shown in the skin-editor form that XWiki uses. I edited the XWikiSkins class to add some of these files to the display. But that didnt work as well as Id hoped, so I wanted to delete these properties from the XWikiSkins class. Seeing nothing in the UI to do that, I tried clearing all the form fields and saving it. I got an error that property names can only be A-Za-z0-9, which makes sense. However, it looks like something went really wrong behind the scenes. When I viewed this class again, it was missing all of the properties except for one (Page Menu). This seems like a serious bug in the Class Editor, but I am less concerned about that than I am about getting the skins class back to normal. So, is there any easy way to do this? Thanks again, - Peter
participants (2)
-
Peter Flynn -
Vincent Massol