Re: [xwiki-users] Double parents after upgrading to 7.2
On Fri, Oct 16, 2015 at 1:01 PM, Eduard Moraru wrote: > On Thu, Oct 15, 2015 at 5:37 PM, Marius Dumitru Florea < > mariusdumitru.flo...@xwiki.com> wrote: > > > On Thu, Oct 15, 2015 at 12:34 PM, Silviu Vulcan < > silviu.vul...@jentla.com> > > wrote: > > > > > Hi, > > > > > > I checked the content for the two and indeed I had it off. It seems > both > > > had showSpaces="true" among other settings and that was throwing things > > > off. Thanks a bunch. > > > > > > I have one last issue to fix and that is sorting the navigation panel > (or > > > the {{documentTree /}} in a page for that matter). > > > > > > The pages appear in a random order -> that is even if I create a new > page > > > is not the first and not the last just somewhere in the middle. > > > > > > The screenshot of documentTree is here: > > > http://i.imgur.com/sSKMxod.png > > > > > > > > > > > Is there any way to have them sorted alphabetically ? > > > > > > > The tree nodes are already sorted, at least in version 7.2, see > > > > > https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-7.2/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/DocumentTreeMacros.xml > > (search for "order by"), but they are sorted by the page name not by the > > page title. The page title (what is visible in the tree) is dynamic (e.g. > > can contain Velocity code) so it's not possible to sort on it (at the > > database level). We could sort on the raw (static) title but then the > order > > will be wrong for pages that have dynamic titles. If you don't care about > > these then you could modify XWiki.DocumentTreeMacros, but it may not be > > that easy (a simple replace of "order by name" with "order by title" > might > > not be enough). > > > > Wondering if we could fix this by doing it on the client side (in > javascript), when the lazy loading finishes and just before displaying the > loaded nodes. Should not be that hard. > > > WDYT, Marius? > You also need to take into account the pagination of the child nodes. > > Thanks, > Eduard > > > > Hope this helps, > > Marius > > > > > > > > > > Cheers, > > > Silviu > > > > > > > > > On 10/08/2015 03:46 PM, Marius Dumitru Florea wrote: > > > > > >> On Thu, Oct 8, 2015 at 3:27 PM, Silviu Vulcan < > silviu.vul...@jentla.com > > > > > >> wrote: > > >> > > >> Progress ! > > >>> > > >>> I reverted to the 6.x backup and re-did the upgrade steps. I must > have > > >>> did > > >>> something wrong the last time as now I did get the migration wizard > > which > > >>> updated everything without showing errors. > > >>> > > >>> But: > > >>> > > >>> > > >>> > > >> - The navigation still shows double parents. This is improved if I set > > >>> showChildDocuments="false" for the navigation panel. This way it > > becomes > > >>> like in the screenshot (not two parents, but a page in line with the > > >>> other > > >>> children) and I can edit the parent page, click hide and now I can > have > > >>> one > > >>> parent and it doesn't show again as a sub-page too. > > >>> > > >>> > > >> Are you referring to the Navigation Panel (the Panels.Navigation > page)? > > >> Can > > >> you edit this page and check if the panel code is this > > >> > > >> > > > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/Navigation.xml#L125 > > >> . > > >> > > >> > > >> > > >>> - The Document tree is still showing double parents in the tree. > > >>> > > >>> > > >> I suppose you are referring to the tree view/tab from the Page Index. > > Can > > >> you edit in wiki edit mode the XWiki.Treeview page and compare the > > content > > >> with > > >> > > >> > > > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/Treeview.xml#L42 > > >> > > >> Can you create a new wiki page and put this inside the content: > > >> > > >> {{documentTree /}} > > >> > > >> Can you give me a screenshot with the result. > > >> > > >> > > >> > > >>> - When going to rename clicking the tree icon to choose a new parent > > >>> still > > >>> produces a dark overlay that never goes away > > >>> > > >>> > > >> Did you clear the browser cache after the upgrade? You said you're > using > > >> the Flamingo skin right? (without customizations) > > >> > > >> > > >> > > >>> - Last issue: I create a top level page "A Test". Then two pages > under > > it > > >>> named "Subpage" and "subpage 2" (ore.hierarchymode is reference in > > >>> xwiki.properties) and the result is what shows in the screenshot. > > >>> > > >>> > > >> It depends on how you created the subpages. From the "A Test" page you > > >> clicked on the + icon and then? What value did you type in the "Title" > > >> field? Was the "Location" field pointing to the "A Test" page? > > >> > > >> > > >> > > >>> http://i.imgur.com/bW6pXN8.png > > >>> > > >>> This doesn't look right. > > >>> > > >>> Cheers, > > >>> Si
Re: [xwiki-users] Double parents after upgrading to 7.2
On Thu, Oct 15, 2015 at 5:37 PM, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > On Thu, Oct 15, 2015 at 12:34 PM, Silviu Vulcan > wrote: > > > Hi, > > > > I checked the content for the two and indeed I had it off. It seems both > > had showSpaces="true" among other settings and that was throwing things > > off. Thanks a bunch. > > > > I have one last issue to fix and that is sorting the navigation panel (or > > the {{documentTree /}} in a page for that matter). > > > > The pages appear in a random order -> that is even if I create a new page > > is not the first and not the last just somewhere in the middle. > > > > The screenshot of documentTree is here: > > http://i.imgur.com/sSKMxod.png > > > > > > > Is there any way to have them sorted alphabetically ? > > > > The tree nodes are already sorted, at least in version 7.2, see > > https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-7.2/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/DocumentTreeMacros.xml > (search for "order by"), but they are sorted by the page name not by the > page title. The page title (what is visible in the tree) is dynamic (e.g. > can contain Velocity code) so it's not possible to sort on it (at the > database level). We could sort on the raw (static) title but then the order > will be wrong for pages that have dynamic titles. If you don't care about > these then you could modify XWiki.DocumentTreeMacros, but it may not be > that easy (a simple replace of "order by name" with "order by title" might > not be enough). > Wondering if we could fix this by doing it on the client side (in javascript), when the lazy loading finishes and just before displaying the loaded nodes. Should not be that hard. WDYT, Marius? Thanks, Eduard > Hope this helps, > Marius > > > > > > Cheers, > > Silviu > > > > > > On 10/08/2015 03:46 PM, Marius Dumitru Florea wrote: > > > >> On Thu, Oct 8, 2015 at 3:27 PM, Silviu Vulcan > > >> wrote: > >> > >> Progress ! > >>> > >>> I reverted to the 6.x backup and re-did the upgrade steps. I must have > >>> did > >>> something wrong the last time as now I did get the migration wizard > which > >>> updated everything without showing errors. > >>> > >>> But: > >>> > >>> > >>> > >> - The navigation still shows double parents. This is improved if I set > >>> showChildDocuments="false" for the navigation panel. This way it > becomes > >>> like in the screenshot (not two parents, but a page in line with the > >>> other > >>> children) and I can edit the parent page, click hide and now I can have > >>> one > >>> parent and it doesn't show again as a sub-page too. > >>> > >>> > >> Are you referring to the Navigation Panel (the Panels.Navigation page)? > >> Can > >> you edit this page and check if the panel code is this > >> > >> > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/Navigation.xml#L125 > >> . > >> > >> > >> > >>> - The Document tree is still showing double parents in the tree. > >>> > >>> > >> I suppose you are referring to the tree view/tab from the Page Index. > Can > >> you edit in wiki edit mode the XWiki.Treeview page and compare the > content > >> with > >> > >> > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/Treeview.xml#L42 > >> > >> Can you create a new wiki page and put this inside the content: > >> > >> {{documentTree /}} > >> > >> Can you give me a screenshot with the result. > >> > >> > >> > >>> - When going to rename clicking the tree icon to choose a new parent > >>> still > >>> produces a dark overlay that never goes away > >>> > >>> > >> Did you clear the browser cache after the upgrade? You said you're using > >> the Flamingo skin right? (without customizations) > >> > >> > >> > >>> - Last issue: I create a top level page "A Test". Then two pages under > it > >>> named "Subpage" and "subpage 2" (ore.hierarchymode is reference in > >>> xwiki.properties) and the result is what shows in the screenshot. > >>> > >>> > >> It depends on how you created the subpages. From the "A Test" page you > >> clicked on the + icon and then? What value did you type in the "Title" > >> field? Was the "Location" field pointing to the "A Test" page? > >> > >> > >> > >>> http://i.imgur.com/bW6pXN8.png > >>> > >>> This doesn't look right. > >>> > >>> Cheers, > >>> Silviu > >>> > >>> On 07.10.2015 15:14, Marius Dumitru Florea wrote: > >>> > >>> On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan < > silviu.vul...@jentla.com> > wrote: > > Hi, > > > > > Thank you both for your answers. > > > > To answer the raised questions: > > > > Setting hierarchyMode='parentchild' does not make the double parents > go > > away. > > > > I did not set hierachMode to parentchild as I wanted to migrate to > the > > new > >>>
Re: [xwiki-users] Double parents after upgrading to 7.2
On Thu, Oct 15, 2015 at 12:34 PM, Silviu Vulcan wrote: > Hi, > > I checked the content for the two and indeed I had it off. It seems both > had showSpaces="true" among other settings and that was throwing things > off. Thanks a bunch. > > I have one last issue to fix and that is sorting the navigation panel (or > the {{documentTree /}} in a page for that matter). > > The pages appear in a random order -> that is even if I create a new page > is not the first and not the last just somewhere in the middle. > > The screenshot of documentTree is here: > http://i.imgur.com/sSKMxod.png > > > Is there any way to have them sorted alphabetically ? > The tree nodes are already sorted, at least in version 7.2, see https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-7.2/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/DocumentTreeMacros.xml (search for "order by"), but they are sorted by the page name not by the page title. The page title (what is visible in the tree) is dynamic (e.g. can contain Velocity code) so it's not possible to sort on it (at the database level). We could sort on the raw (static) title but then the order will be wrong for pages that have dynamic titles. If you don't care about these then you could modify XWiki.DocumentTreeMacros, but it may not be that easy (a simple replace of "order by name" with "order by title" might not be enough). Hope this helps, Marius > > Cheers, > Silviu > > > On 10/08/2015 03:46 PM, Marius Dumitru Florea wrote: > >> On Thu, Oct 8, 2015 at 3:27 PM, Silviu Vulcan >> wrote: >> >> Progress ! >>> >>> I reverted to the 6.x backup and re-did the upgrade steps. I must have >>> did >>> something wrong the last time as now I did get the migration wizard which >>> updated everything without showing errors. >>> >>> But: >>> >>> >>> >> - The navigation still shows double parents. This is improved if I set >>> showChildDocuments="false" for the navigation panel. This way it becomes >>> like in the screenshot (not two parents, but a page in line with the >>> other >>> children) and I can edit the parent page, click hide and now I can have >>> one >>> parent and it doesn't show again as a sub-page too. >>> >>> >> Are you referring to the Navigation Panel (the Panels.Navigation page)? >> Can >> you edit this page and check if the panel code is this >> >> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/Navigation.xml#L125 >> . >> >> >> >>> - The Document tree is still showing double parents in the tree. >>> >>> >> I suppose you are referring to the tree view/tab from the Page Index. Can >> you edit in wiki edit mode the XWiki.Treeview page and compare the content >> with >> >> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/Treeview.xml#L42 >> >> Can you create a new wiki page and put this inside the content: >> >> {{documentTree /}} >> >> Can you give me a screenshot with the result. >> >> >> >>> - When going to rename clicking the tree icon to choose a new parent >>> still >>> produces a dark overlay that never goes away >>> >>> >> Did you clear the browser cache after the upgrade? You said you're using >> the Flamingo skin right? (without customizations) >> >> >> >>> - Last issue: I create a top level page "A Test". Then two pages under it >>> named "Subpage" and "subpage 2" (ore.hierarchymode is reference in >>> xwiki.properties) and the result is what shows in the screenshot. >>> >>> >> It depends on how you created the subpages. From the "A Test" page you >> clicked on the + icon and then? What value did you type in the "Title" >> field? Was the "Location" field pointing to the "A Test" page? >> >> >> >>> http://i.imgur.com/bW6pXN8.png >>> >>> This doesn't look right. >>> >>> Cheers, >>> Silviu >>> >>> On 07.10.2015 15:14, Marius Dumitru Florea wrote: >>> >>> On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, > > Thank you both for your answers. > > To answer the raised questions: > > Setting hierarchyMode='parentchild' does not make the double parents go > away. > > I did not set hierachMode to parentchild as I wanted to migrate to the > new > organization (and I feel this is where I'm going wrong about it) but I > don't know how. > > Ok I think I understand where the doubling comes from but I have two > issues: clicking either of the two takes me to the same place and also > is > there a way to "merge" the two? > > > > The migration wizard did not appear even after going trough the steps in > troubleshooting. Can I manually invoke it? > > > Not directly. Are you logged in with a user that has administration rights? Do you have a custom skin? Did you overwrite any Velocity templates (e
Re: [xwiki-users] Double parents after upgrading to 7.2
Hi, I checked the content for the two and indeed I had it off. It seems both had showSpaces="true" among other settings and that was throwing things off. Thanks a bunch. I have one last issue to fix and that is sorting the navigation panel (or the {{documentTree /}} in a page for that matter). The pages appear in a random order -> that is even if I create a new page is not the first and not the last just somewhere in the middle. The screenshot of documentTree is here: http://i.imgur.com/sSKMxod.png Is there any way to have them sorted alphabetically ? Cheers, Silviu On 10/08/2015 03:46 PM, Marius Dumitru Florea wrote: On Thu, Oct 8, 2015 at 3:27 PM, Silviu Vulcan wrote: Progress ! I reverted to the 6.x backup and re-did the upgrade steps. I must have did something wrong the last time as now I did get the migration wizard which updated everything without showing errors. But: - The navigation still shows double parents. This is improved if I set showChildDocuments="false" for the navigation panel. This way it becomes like in the screenshot (not two parents, but a page in line with the other children) and I can edit the parent page, click hide and now I can have one parent and it doesn't show again as a sub-page too. Are you referring to the Navigation Panel (the Panels.Navigation page)? Can you edit this page and check if the panel code is this https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/Navigation.xml#L125 . - The Document tree is still showing double parents in the tree. I suppose you are referring to the tree view/tab from the Page Index. Can you edit in wiki edit mode the XWiki.Treeview page and compare the content with https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/Treeview.xml#L42 Can you create a new wiki page and put this inside the content: {{documentTree /}} Can you give me a screenshot with the result. - When going to rename clicking the tree icon to choose a new parent still produces a dark overlay that never goes away Did you clear the browser cache after the upgrade? You said you're using the Flamingo skin right? (without customizations) - Last issue: I create a top level page "A Test". Then two pages under it named "Subpage" and "subpage 2" (ore.hierarchymode is reference in xwiki.properties) and the result is what shows in the screenshot. It depends on how you created the subpages. From the "A Test" page you clicked on the + icon and then? What value did you type in the "Title" field? Was the "Location" field pointing to the "A Test" page? http://i.imgur.com/bW6pXN8.png This doesn't look right. Cheers, Silviu On 07.10.2015 15:14, Marius Dumitru Florea wrote: On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, Thank you both for your answers. To answer the raised questions: Setting hierarchyMode='parentchild' does not make the double parents go away. I did not set hierachMode to parentchild as I wanted to migrate to the new organization (and I feel this is where I'm going wrong about it) but I don't know how. Ok I think I understand where the doubling comes from but I have two issues: clicking either of the two takes me to the same place and also is there a way to "merge" the two? The migration wizard did not appear even after going trough the steps in troubleshooting. Can I manually invoke it? Not directly. Are you logged in with a user that has administration rights? Do you have a custom skin? Did you overwrite any Velocity templates (e.g. view.vm)? Is the version displayed in the page footer "XWiki Enterprise 7.2"? How exactly did you upgrade the XWiki WAR? What version of XWiki did you upgrade from? In the end what is the correct way to move from a wiki with multiple spaces and parent-child pages to the new nested organization method? Cheers, Silviu On 06.10.2015 18:01, Marius Dumitru Florea wrote: Hi Silviu, On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, I am building a xwiki site and recently upgraded to 7.2 (we are holding off launch for the permissions inheritance and nesting features) The site was built using spaces as parents for pages and child-parent relations. After upgrade I realized two issues: 1. In the document tree the parrents are doubled. Example at: http://imgur.com/Jj72P17l.png Your image suggests that you didn't upgrade the XWiki UI (the wiki pages). Did you run the Distribution Wizard ( http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) ? The tree I see in the image is specific to XWiki <7.2, because it displays a mix of space-page and parent-child (i.e. you can see the pages grouped by space and also the parent-child relationship inside each space). The tree looks different in 7.2 (after you upgrade the UI). The parents are not doubled. The fi
Re: [xwiki-users] Double parents after upgrading to 7.2
On Thu, Oct 8, 2015 at 3:27 PM, Silviu Vulcan wrote: > Progress ! > > I reverted to the 6.x backup and re-did the upgrade steps. I must have did > something wrong the last time as now I did get the migration wizard which > updated everything without showing errors. > > But: > > > - The navigation still shows double parents. This is improved if I set > showChildDocuments="false" for the navigation panel. This way it becomes > like in the screenshot (not two parents, but a page in line with the other > children) and I can edit the parent page, click hide and now I can have one > parent and it doesn't show again as a sub-page too. > Are you referring to the Navigation Panel (the Panels.Navigation page)? Can you edit this page and check if the panel code is this https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/Navigation.xml#L125 . > > - The Document tree is still showing double parents in the tree. > I suppose you are referring to the tree view/tab from the Page Index. Can you edit in wiki edit mode the XWiki.Treeview page and compare the content with https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/Treeview.xml#L42 Can you create a new wiki page and put this inside the content: {{documentTree /}} Can you give me a screenshot with the result. > > - When going to rename clicking the tree icon to choose a new parent still > produces a dark overlay that never goes away > Did you clear the browser cache after the upgrade? You said you're using the Flamingo skin right? (without customizations) > > - Last issue: I create a top level page "A Test". Then two pages under it > named "Subpage" and "subpage 2" (ore.hierarchymode is reference in > xwiki.properties) and the result is what shows in the screenshot. > It depends on how you created the subpages. From the "A Test" page you clicked on the + icon and then? What value did you type in the "Title" field? Was the "Location" field pointing to the "A Test" page? > > http://i.imgur.com/bW6pXN8.png > > This doesn't look right. > > Cheers, > Silviu > > On 07.10.2015 15:14, Marius Dumitru Florea wrote: > >> On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan >> wrote: >> >> Hi, >>> >>> Thank you both for your answers. >>> >>> To answer the raised questions: >>> >>> Setting hierarchyMode='parentchild' does not make the double parents go >>> away. >>> >>> I did not set hierachMode to parentchild as I wanted to migrate to the >>> new >>> organization (and I feel this is where I'm going wrong about it) but I >>> don't know how. >>> >>> Ok I think I understand where the doubling comes from but I have two >>> issues: clicking either of the two takes me to the same place and also is >>> there a way to "merge" the two? >>> >>> >>> >> The migration wizard did not appear even after going trough the steps in >>> troubleshooting. Can I manually invoke it? >>> >>> >> Not directly. Are you logged in with a user that has administration >> rights? >> Do you have a custom skin? Did you overwrite any Velocity templates (e.g. >> view.vm)? Is the version displayed in the page footer "XWiki Enterprise >> 7.2"? How exactly did you upgrade the XWiki WAR? What version of XWiki did >> you upgrade from? >> >> >> >>> In the end what is the correct way to move from a wiki with multiple >>> spaces and parent-child pages to the new nested organization method? >>> >>> Cheers, >>> Silviu >>> >>> >>> On 06.10.2015 18:01, Marius Dumitru Florea wrote: >>> >>> Hi Silviu, On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan >>> > wrote: Hi, > > I am building a xwiki site and recently upgraded to 7.2 (we are holding > off > launch for the permissions inheritance and nesting features) > > The site was built using spaces as parents for pages and child-parent > relations. > > After upgrade I realized two issues: > > 1. In the document tree the parrents are doubled. > Example at: http://imgur.com/Jj72P17l.png > > Your image suggests that you didn't upgrade the XWiki UI (the wiki pages). Did you run the Distribution Wizard ( http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) ? The tree I see in the image is specific to XWiki <7.2, because it displays a mix of space-page and parent-child (i.e. you can see the pages grouped by space and also the parent-child relationship inside each space). The tree looks different in 7.2 (after you upgrade the UI). The parents are not doubled. The first "Configuring OpenVPN clients" is the space name. The second "Configuring OpenVPN clients" is the rendered title of the space home page (the space home page doesn't have a title in your case and thus it falls back on the space name to avoid showing the technical "WebHome" nam
Re: [xwiki-users] Double parents after upgrading to 7.2
Progress ! I reverted to the 6.x backup and re-did the upgrade steps. I must have did something wrong the last time as now I did get the migration wizard which updated everything without showing errors. But: - The navigation still shows double parents. This is improved if I set showChildDocuments="false" for the navigation panel. This way it becomes like in the screenshot (not two parents, but a page in line with the other children) and I can edit the parent page, click hide and now I can have one parent and it doesn't show again as a sub-page too. - The Document tree is still showing double parents in the tree. - When going to rename clicking the tree icon to choose a new parent still produces a dark overlay that never goes away - Last issue: I create a top level page "A Test". Then two pages under it named "Subpage" and "subpage 2" (ore.hierarchymode is reference in xwiki.properties) and the result is what shows in the screenshot. http://i.imgur.com/bW6pXN8.png This doesn't look right. Cheers, Silviu On 07.10.2015 15:14, Marius Dumitru Florea wrote: On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, Thank you both for your answers. To answer the raised questions: Setting hierarchyMode='parentchild' does not make the double parents go away. I did not set hierachMode to parentchild as I wanted to migrate to the new organization (and I feel this is where I'm going wrong about it) but I don't know how. Ok I think I understand where the doubling comes from but I have two issues: clicking either of the two takes me to the same place and also is there a way to "merge" the two? The migration wizard did not appear even after going trough the steps in troubleshooting. Can I manually invoke it? Not directly. Are you logged in with a user that has administration rights? Do you have a custom skin? Did you overwrite any Velocity templates (e.g. view.vm)? Is the version displayed in the page footer "XWiki Enterprise 7.2"? How exactly did you upgrade the XWiki WAR? What version of XWiki did you upgrade from? In the end what is the correct way to move from a wiki with multiple spaces and parent-child pages to the new nested organization method? Cheers, Silviu On 06.10.2015 18:01, Marius Dumitru Florea wrote: Hi Silviu, On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, I am building a xwiki site and recently upgraded to 7.2 (we are holding off launch for the permissions inheritance and nesting features) The site was built using spaces as parents for pages and child-parent relations. After upgrade I realized two issues: 1. In the document tree the parrents are doubled. Example at: http://imgur.com/Jj72P17l.png Your image suggests that you didn't upgrade the XWiki UI (the wiki pages). Did you run the Distribution Wizard ( http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) ? The tree I see in the image is specific to XWiki <7.2, because it displays a mix of space-page and parent-child (i.e. you can see the pages grouped by space and also the parent-child relationship inside each space). The tree looks different in 7.2 (after you upgrade the UI). The parents are not doubled. The first "Configuring OpenVPN clients" is the space name. The second "Configuring OpenVPN clients" is the rendered title of the space home page (the space home page doesn't have a title in your case and thus it falls back on the space name to avoid showing the technical "WebHome" name; if you edit the space home page and change the title you should see the difference). 2. Trying to edit the parent of a page (Rename->network icon) brings up a list with a dark overlay that never goes away and I cannot click anywhere. See Edy's comment. Also, don't forget to clear the browser cache after doing an upgrade. Hope this helps, Marius Any ideas what am I doing wrong? Cheers, Silviu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Double parents after upgrading to 7.2
Hi, I upgraded from 6.4.x (I think 6.4.4). I upgraded by downloading the new standalone and copied the configuration settings (not files) over from the old wiki folder. I also copied the mysql driver. Basically I followed http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade I log in as superadmin and afaik no .vm file was changed. I'll try to revert to a 6.4 backup and do the update all over again, maybe I failed at some step. I used a customized version of the flamingo skin with 6.4 but reverted to the default on 7.2 as it does the job just fine. Cheers, Silviu On 07.10.2015 15:14, Marius Dumitru Florea wrote: On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, Thank you both for your answers. To answer the raised questions: Setting hierarchyMode='parentchild' does not make the double parents go away. I did not set hierachMode to parentchild as I wanted to migrate to the new organization (and I feel this is where I'm going wrong about it) but I don't know how. Ok I think I understand where the doubling comes from but I have two issues: clicking either of the two takes me to the same place and also is there a way to "merge" the two? The migration wizard did not appear even after going trough the steps in troubleshooting. Can I manually invoke it? Not directly. Are you logged in with a user that has administration rights? Do you have a custom skin? Did you overwrite any Velocity templates (e.g. view.vm)? Is the version displayed in the page footer "XWiki Enterprise 7.2"? How exactly did you upgrade the XWiki WAR? What version of XWiki did you upgrade from? In the end what is the correct way to move from a wiki with multiple spaces and parent-child pages to the new nested organization method? Cheers, Silviu On 06.10.2015 18:01, Marius Dumitru Florea wrote: Hi Silviu, On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, I am building a xwiki site and recently upgraded to 7.2 (we are holding off launch for the permissions inheritance and nesting features) The site was built using spaces as parents for pages and child-parent relations. After upgrade I realized two issues: 1. In the document tree the parrents are doubled. Example at: http://imgur.com/Jj72P17l.png Your image suggests that you didn't upgrade the XWiki UI (the wiki pages). Did you run the Distribution Wizard ( http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) ? The tree I see in the image is specific to XWiki <7.2, because it displays a mix of space-page and parent-child (i.e. you can see the pages grouped by space and also the parent-child relationship inside each space). The tree looks different in 7.2 (after you upgrade the UI). The parents are not doubled. The first "Configuring OpenVPN clients" is the space name. The second "Configuring OpenVPN clients" is the rendered title of the space home page (the space home page doesn't have a title in your case and thus it falls back on the space name to avoid showing the technical "WebHome" name; if you edit the space home page and change the title you should see the difference). 2. Trying to edit the parent of a page (Rename->network icon) brings up a list with a dark overlay that never goes away and I cannot click anywhere. See Edy's comment. Also, don't forget to clear the browser cache after doing an upgrade. Hope this helps, Marius Any ideas what am I doing wrong? Cheers, Silviu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Double parents after upgrading to 7.2
On Wed, Oct 7, 2015 at 2:42 PM, Silviu Vulcan wrote: > Hi, > > Thank you both for your answers. > > To answer the raised questions: > > Setting hierarchyMode='parentchild' does not make the double parents go > away. > > I did not set hierachMode to parentchild as I wanted to migrate to the new > organization (and I feel this is where I'm going wrong about it) but I > don't know how. > > Ok I think I understand where the doubling comes from but I have two > issues: clicking either of the two takes me to the same place and also is > there a way to "merge" the two? > > > The migration wizard did not appear even after going trough the steps in > troubleshooting. Can I manually invoke it? > Not directly. Are you logged in with a user that has administration rights? Do you have a custom skin? Did you overwrite any Velocity templates (e.g. view.vm)? Is the version displayed in the page footer "XWiki Enterprise 7.2"? How exactly did you upgrade the XWiki WAR? What version of XWiki did you upgrade from? > > In the end what is the correct way to move from a wiki with multiple > spaces and parent-child pages to the new nested organization method? > > Cheers, > Silviu > > > On 06.10.2015 18:01, Marius Dumitru Florea wrote: > >> Hi Silviu, >> >> On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan >> wrote: >> >>> Hi, >>> >>> I am building a xwiki site and recently upgraded to 7.2 (we are holding >>> off >>> launch for the permissions inheritance and nesting features) >>> >>> The site was built using spaces as parents for pages and child-parent >>> relations. >>> >>> After upgrade I realized two issues: >>> >>> 1. In the document tree the parrents are doubled. >>> Example at: http://imgur.com/Jj72P17l.png >>> >> >> Your image suggests that you didn't upgrade the XWiki UI (the wiki >> pages). Did you run the Distribution Wizard ( >> http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) >> ? The tree I see in the image is specific to XWiki <7.2, because it >> displays a mix of space-page and parent-child (i.e. you can see the >> pages grouped by space and also the parent-child relationship inside >> each space). The tree looks different in 7.2 (after you upgrade the >> UI). >> >> The parents are not doubled. The first "Configuring OpenVPN clients" >> is the space name. The second "Configuring OpenVPN clients" is the >> rendered title of the space home page (the space home page doesn't >> have a title in your case and thus it falls back on the space name to >> avoid showing the technical "WebHome" name; if you edit the space home >> page and change the title you should see the difference). >> >> >>> >> 2. Trying to edit the parent of a page (Rename->network icon) brings up a >>> list with a dark overlay that never goes away and I cannot click >>> anywhere. >>> >> >> See Edy's comment. Also, don't forget to clear the browser cache after >> doing an upgrade. >> >> Hope this helps, >> Marius >> >> >>> Any ideas what am I doing wrong? >>> >>> Cheers, >>> Silviu >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> >> ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Double parents after upgrading to 7.2
Hi, Thank you both for your answers. To answer the raised questions: Setting hierarchyMode='parentchild' does not make the double parents go away. I did not set hierachMode to parentchild as I wanted to migrate to the new organization (and I feel this is where I'm going wrong about it) but I don't know how. Ok I think I understand where the doubling comes from but I have two issues: clicking either of the two takes me to the same place and also is there a way to "merge" the two? The migration wizard did not appear even after going trough the steps in troubleshooting. Can I manually invoke it? In the end what is the correct way to move from a wiki with multiple spaces and parent-child pages to the new nested organization method? Cheers, Silviu On 06.10.2015 18:01, Marius Dumitru Florea wrote: Hi Silviu, On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan wrote: Hi, I am building a xwiki site and recently upgraded to 7.2 (we are holding off launch for the permissions inheritance and nesting features) The site was built using spaces as parents for pages and child-parent relations. After upgrade I realized two issues: 1. In the document tree the parrents are doubled. Example at: http://imgur.com/Jj72P17l.png Your image suggests that you didn't upgrade the XWiki UI (the wiki pages). Did you run the Distribution Wizard ( http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) ? The tree I see in the image is specific to XWiki <7.2, because it displays a mix of space-page and parent-child (i.e. you can see the pages grouped by space and also the parent-child relationship inside each space). The tree looks different in 7.2 (after you upgrade the UI). The parents are not doubled. The first "Configuring OpenVPN clients" is the space name. The second "Configuring OpenVPN clients" is the rendered title of the space home page (the space home page doesn't have a title in your case and thus it falls back on the space name to avoid showing the technical "WebHome" name; if you edit the space home page and change the title you should see the difference). 2. Trying to edit the parent of a page (Rename->network icon) brings up a list with a dark overlay that never goes away and I cannot click anywhere. See Edy's comment. Also, don't forget to clear the browser cache after doing an upgrade. Hope this helps, Marius Any ideas what am I doing wrong? Cheers, Silviu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Double parents after upgrading to 7.2
Hi Silviu, On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan wrote: > Hi, > > I am building a xwiki site and recently upgraded to 7.2 (we are holding off > launch for the permissions inheritance and nesting features) > > The site was built using spaces as parents for pages and child-parent > relations. > > After upgrade I realized two issues: > > 1. In the document tree the parrents are doubled. > Example at: http://imgur.com/Jj72P17l.png Your image suggests that you didn't upgrade the XWiki UI (the wiki pages). Did you run the Distribution Wizard ( http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ) ? The tree I see in the image is specific to XWiki <7.2, because it displays a mix of space-page and parent-child (i.e. you can see the pages grouped by space and also the parent-child relationship inside each space). The tree looks different in 7.2 (after you upgrade the UI). The parents are not doubled. The first "Configuring OpenVPN clients" is the space name. The second "Configuring OpenVPN clients" is the rendered title of the space home page (the space home page doesn't have a title in your case and thus it falls back on the space name to avoid showing the technical "WebHome" name; if you edit the space home page and change the title you should see the difference). > > 2. Trying to edit the parent of a page (Rename->network icon) brings up a > list with a dark overlay that never goes away and I cannot click anywhere. See Edy's comment. Also, don't forget to clear the browser cache after doing an upgrade. Hope this helps, Marius > > Any ideas what am I doing wrong? > > Cheers, > Silviu > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Double parents after upgrading to 7.2
Hi Silviu, I get the impression you are confusing things a bit. What do you mean by "The site was built using spaces as parents for pages and child-parent relations." ? You probably meant to say that the site was built using the parent-child relationship (available pre 7.2). 1. From what I can see from that screenshot, you`ve probably set the hierarchy mode to "parentchild" in order to still be able to use the parent-child relationship in 7.2. Looking at the tree view in the Document index, I notice that it always shows the documents using the "reference" (Nested Spaces) relationship and it ignores the configured hierarchy mode. This looks like a bug to me. As a workaround, you could try editing XWiki.TreeView and using this content instead: {{documentTree finder="true" hierarchyMode='parentchild' /}} (notice the extra hierarchyMode parameter) Does this make things better for your tree view? I am still not sure why you were getting those double parents in the first place. 2. Since you are using the parentchild hierarchy mode, changing a parent means editing the document and using the button on the right of the title in edit mode, to change the parent. You seem to describe trying to rename/move the document and that operation is similar to changing the parent, but nly if you are in the default reference hierarchy mode, which you are not, as far as I understand. Hope this helps, Eduard On Mon, Oct 5, 2015 at 2:42 PM, Silviu Vulcan wrote: > Hi, > > I am building a xwiki site and recently upgraded to 7.2 (we are holding > off launch for the permissions inheritance and nesting features) > > The site was built using spaces as parents for pages and child-parent > relations. > > After upgrade I realized two issues: > > 1. In the document tree the parrents are doubled. > Example at: http://imgur.com/Jj72P17l.png > > 2. Trying to edit the parent of a page (Rename->network icon) brings up a > list with a dark overlay that never goes away and I cannot click anywhere. > > Any ideas what am I doing wrong? > > Cheers, > Silviu > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Double parents after upgrading to 7.2
Hi, I am building a xwiki site and recently upgraded to 7.2 (we are holding off launch for the permissions inheritance and nesting features) The site was built using spaces as parents for pages and child-parent relations. After upgrade I realized two issues: 1. In the document tree the parrents are doubled. Example at: http://imgur.com/Jj72P17l.png 2. Trying to edit the parent of a page (Rename->network icon) brings up a list with a dark overlay that never goes away and I cannot click anywhere. Any ideas what am I doing wrong? Cheers, Silviu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users