Re: [xwiki-users] No create wiki menu in XWiki 5.4.3

2014-04-08 Thread Jeremie BOUSQUET
2014-04-02 14:30 GMT+02:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:

 Hello,


 2014-04-02 10:21 GMT+02:00 Marius Dumitru Florea 
 mariusdumitru.flo...@xwiki.com:

 On Fri, Mar 28, 2014 at 4:53 PM, Jeremie BOUSQUET
 jeremie.bousq...@gmail.com wrote:
  Hello,
 
  Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
  issues (or misunderstandings) :
  - My user is in an admin group with admin and PR rights, and I've set it
  also (on the group) the create wiki right. Still, when logged in, I
 don't
  have any wiki item in the Add menu (only usual space, page, ...).
 I'm
  sure I'm missing something obvious but can't find it.

  - I show the Blog in a gadget of the Dashboard. Weirdly, permalinks
  correctly point to each blog entry, but the link from page title points
 to
  a create action (though it points apparently to exact same url as
 permalink
  except for the create action). The same for the buttons on right side
 of
  each blog subject (create/delete/)

 Does this happen on a subwiki?


 No it's on main wiki, anyway I'm not able to create sub-wikis because of
 first point I listed ;)


 The default UI for subwikis doesn't
 include the Blog application any more in 5.4.3 so the Blog application
 is removed during the upgrade. You should have been asked to confirm
 the deletion of unused wiki pages during the upgrade and the Blog code
 pages must have been among those pages. See

 http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Application#HDeleteUnusedWikiPages

 . The upgrade doesn't remove the pages created by the user (e.g. the
 blog posts). That's why the links to the Blog UI pages have /create/
 action (they have been removed) and the links to the blog posts are
 fine (they have been kept).


 I'm not sure of what is the difference between a Blog UI page and a blog
 post page here ...
 Example of bad link (ko):
 http://host:port/xwiki/bin/create/Blog/TOTO?parent=Main.WebHome
 Permalink for same post (ok):
 http://host:port/xwiki/bin/view/Blog/TOTO


More about this (Blog posts link with create action in dashboard) :
Currently these blog posts are displayed by a Dashboard, in a specific
XWiki.GadgetClass with following content, in the Main.WebHome of the main
(home) wiki:

{{include document=Blog.BlogCode/}}

{{velocity}}
{{html clean=false wiki=true}}
#set($blogDoc = $xwiki.getDocument(Blog.WebHome))
#set($blogPostObjectNumber = 5)
#if($xcontext.action != 'edit'  $xcontext.action != 'inline')
  #printBlog($blogDoc)
#end
{{/html}}
{{/velocity}}

If I move this exact same code to another page of the main wiki, the blog
posts links are displayed just fine - no create anymore.
This is weird ... Could it be something done by the Dashboard macro ?




 I wonder if both points I list may be linked together ...
 Currently I cloned my original instance to test migration, and it's now
 configured as follow:
 DB : mysql, schema xwikinew, user xwiki
 xwiki.cfg : xwiki.db=xwikinew



 Hope this helps,
 Marius

 
  Thanks,
  Jeremie
  ___
  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] No create wiki menu in XWiki 5.4.3

2014-04-08 Thread Jeremie BOUSQUET
2014-04-08 17:18 GMT+02:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:




 2014-04-02 14:30 GMT+02:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:

 Hello,


 2014-04-02 10:21 GMT+02:00 Marius Dumitru Florea 
 mariusdumitru.flo...@xwiki.com:

 On Fri, Mar 28, 2014 at 4:53 PM, Jeremie BOUSQUET
 jeremie.bousq...@gmail.com wrote:
  Hello,
 
  Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
  issues (or misunderstandings) :
  - My user is in an admin group with admin and PR rights, and I've set
 it
  also (on the group) the create wiki right. Still, when logged in, I
 don't
  have any wiki item in the Add menu (only usual space, page, ...).
 I'm
  sure I'm missing something obvious but can't find it.

  - I show the Blog in a gadget of the Dashboard. Weirdly, permalinks
  correctly point to each blog entry, but the link from page title
 points to
  a create action (though it points apparently to exact same url as
 permalink
  except for the create action). The same for the buttons on right
 side of
  each blog subject (create/delete/)

 Does this happen on a subwiki?


 No it's on main wiki, anyway I'm not able to create sub-wikis because of
 first point I listed ;)


 The default UI for subwikis doesn't
 include the Blog application any more in 5.4.3 so the Blog application
 is removed during the upgrade. You should have been asked to confirm
 the deletion of unused wiki pages during the upgrade and the Blog code
 pages must have been among those pages. See

 http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Application#HDeleteUnusedWikiPages

 . The upgrade doesn't remove the pages created by the user (e.g. the
 blog posts). That's why the links to the Blog UI pages have /create/
 action (they have been removed) and the links to the blog posts are
 fine (they have been kept).


 I'm not sure of what is the difference between a Blog UI page and a blog
 post page here ...
 Example of bad link (ko):
 http://host:port/xwiki/bin/create/Blog/TOTO?parent=Main.WebHome
 Permalink for same post (ok):
 http://host:port/xwiki/bin/view/Blog/TOTO


 More about this (Blog posts link with create action in dashboard) :
 Currently these blog posts are displayed by a Dashboard, in a specific
 XWiki.GadgetClass with following content, in the Main.WebHome of the main
 (home) wiki:

 {{include document=Blog.BlogCode/}}

 {{velocity}}
 {{html clean=false wiki=true}}
 #set($blogDoc = $xwiki.getDocument(Blog.WebHome))
 #set($blogPostObjectNumber = 5)
 #if($xcontext.action != 'edit'  $xcontext.action != 'inline')
   #printBlog($blogDoc)
 #end
 {{/html}}
 {{/velocity}}

 If I move this exact same code to another page of the main wiki, the blog
 posts links are displayed just fine - no create anymore.
 This is weird ... Could it be something done by the Dashboard macro ?


Got it !
My Main.WebHome was in syntax 2.0, after moving to 2.1, the blogs show up
correctly ...
So I assume, that the #printblog macro, generates links compliant with
syntax 2.1 and not 2.0. Now I'll know :)






 I wonder if both points I list may be linked together ...
 Currently I cloned my original instance to test migration, and it's now
 configured as follow:
 DB : mysql, schema xwikinew, user xwiki
 xwiki.cfg : xwiki.db=xwikinew



 Hope this helps,
 Marius

 
  Thanks,
  Jeremie
  ___
  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] No create wiki menu in XWiki 5.4.3

2014-04-03 Thread Jeremie BOUSQUET
2014-04-02 18:19 GMT+02:00 Guillaume Louis-Marie Delhumeau 
gdelhum...@xwiki.com:

 2014-03-28 15:53 GMT+01:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:

  Hello,
 
  Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
  issues (or misunderstandings) :
  - My user is in an admin group with admin and PR rights, and I've set it
  also (on the group) the create wiki right. Still, when logged in, I
 don't
  have any wiki item in the Add menu (only usual space, page, ...). I'm
  sure I'm missing something obvious but can't find it.
 

 Can you display, somewhere, $isWikiUIAvailable and $hasCreateWiki in a
 {{velocity}} macro?


It shows this:
isWikiUIAvailable : false
hasCreateWiki : true

I checked, and I have the following extension installed:

org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki 5.4.3

I thought it to be the wiki ui ?

___
 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] No create wiki menu in XWiki 5.4.3

2014-04-03 Thread Jeremie BOUSQUET
2014-04-03 9:08 GMT+02:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:




 2014-04-02 18:19 GMT+02:00 Guillaume Louis-Marie Delhumeau 
 gdelhum...@xwiki.com:

 2014-03-28 15:53 GMT+01:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:

  Hello,
 
  Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
  issues (or misunderstandings) :
  - My user is in an admin group with admin and PR rights, and I've set it
  also (on the group) the create wiki right. Still, when logged in, I
 don't
  have any wiki item in the Add menu (only usual space, page, ...).
 I'm
  sure I'm missing something obvious but can't find it.
 

 Can you display, somewhere, $isWikiUIAvailable and $hasCreateWiki in a
 {{velocity}} macro?


 It shows this:
 isWikiUIAvailable : false
 hasCreateWiki : true

 I checked, and I have the following extension installed:

 org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki 5.4.3

 I thought it to be the wiki ui ?


After some searching, menuview.vm checks for WikiManager.WebHome page
from main wiki, and though it should be part of
xwiki-platform-wiki-ui-mainwiki (that is installed), that page doesn't
exist in my wiki...
So I'm not sure what happened, but I tried to uninstall it in order to
reinstall it and got:

Extension [org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki] is not
installed

I checked permanent data directory and found:

/data/extension/repository/org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki/5%2E4%2E3
  org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki-5%2E4%2E3.xar
  org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki-5%2E4%2E3.xed

I'm a bit surprised by the escaped dots in version folder, but maybe it's
normal ... ?



 ___
 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] No create wiki menu in XWiki 5.4.3

2014-04-03 Thread Jeremie BOUSQUET
2014-04-03 10:09 GMT+02:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:




 2014-04-03 9:08 GMT+02:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:




 2014-04-02 18:19 GMT+02:00 Guillaume Louis-Marie Delhumeau 
 gdelhum...@xwiki.com:

 2014-03-28 15:53 GMT+01:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:

  Hello,
 
  Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
  issues (or misunderstandings) :
  - My user is in an admin group with admin and PR rights, and I've set
 it
  also (on the group) the create wiki right. Still, when logged in, I
 don't
  have any wiki item in the Add menu (only usual space, page, ...).
 I'm
  sure I'm missing something obvious but can't find it.
 

 Can you display, somewhere, $isWikiUIAvailable and $hasCreateWiki in a
 {{velocity}} macro?


 It shows this:
 isWikiUIAvailable : false
 hasCreateWiki : true

 I checked, and I have the following extension installed:

 org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki 5.4.3

 I thought it to be the wiki ui ?


 After some searching, menuview.vm checks for WikiManager.WebHome page
 from main wiki, and though it should be part of
 xwiki-platform-wiki-ui-mainwiki (that is installed), that page doesn't
 exist in my wiki...
 So I'm not sure what happened, but I tried to uninstall it in order to
 reinstall it and got:

 Extension [org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki] is not
 installed

 I checked permanent data directory and found:


 /data/extension/repository/org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki/5%2E4%2E3
   org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki-5%2E4%2E3.xar
   org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki-5%2E4%2E3.xed

 I'm a bit surprised by the escaped dots in version folder, but maybe it's
 normal ... ?


Sorry I should have tested more before posting, in fact it was uninstall
on farm that was causing the error, uninstall worked correctly, after
re-installing xwiki-platform-wiki-ui-mainwiki, the menus show up nicely ! :)
What I really don't know, if what caused that, and what I could do wrong
during migration ... I'm afraid I didn't take note of everything I did for
this migration, but apparently all was ok.
Also not sure if I could have issues with other extensions that appear
installed but in fact are not, difficult to find them. I think it's
unusual, because in such cases usually EM clearly states the extension is
invalid (but many not for missing pages).
I noted also something, in extension repository in data directory, there's
a mix of extension folders starting with org.xwiki and org%2Exwiki. I
don't know if my issue comes from that or not.





 ___
 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] No create wiki menu in XWiki 5.4.3

2014-04-02 Thread Marius Dumitru Florea
On Fri, Mar 28, 2014 at 4:53 PM, Jeremie BOUSQUET
jeremie.bousq...@gmail.com wrote:
 Hello,

 Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
 issues (or misunderstandings) :
 - My user is in an admin group with admin and PR rights, and I've set it
 also (on the group) the create wiki right. Still, when logged in, I don't
 have any wiki item in the Add menu (only usual space, page, ...). I'm
 sure I'm missing something obvious but can't find it.

 - I show the Blog in a gadget of the Dashboard. Weirdly, permalinks
 correctly point to each blog entry, but the link from page title points to
 a create action (though it points apparently to exact same url as permalink
 except for the create action). The same for the buttons on right side of
 each blog subject (create/delete/)

Does this happen on a subwiki? The default UI for subwikis doesn't
include the Blog application any more in 5.4.3 so the Blog application
is removed during the upgrade. You should have been asked to confirm
the deletion of unused wiki pages during the upgrade and the Blog code
pages must have been among those pages. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Application#HDeleteUnusedWikiPages
. The upgrade doesn't remove the pages created by the user (e.g. the
blog posts). That's why the links to the Blog UI pages have /create/
action (they have been removed) and the links to the blog posts are
fine (they have been kept).

Hope this helps,
Marius


 Thanks,
 Jeremie
 ___
 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] No create wiki menu in XWiki 5.4.3

2014-04-02 Thread Jeremie BOUSQUET
Hello,


2014-04-02 10:21 GMT+02:00 Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com:

 On Fri, Mar 28, 2014 at 4:53 PM, Jeremie BOUSQUET
 jeremie.bousq...@gmail.com wrote:
  Hello,
 
  Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
  issues (or misunderstandings) :
  - My user is in an admin group with admin and PR rights, and I've set it
  also (on the group) the create wiki right. Still, when logged in, I
 don't
  have any wiki item in the Add menu (only usual space, page, ...). I'm
  sure I'm missing something obvious but can't find it.

  - I show the Blog in a gadget of the Dashboard. Weirdly, permalinks
  correctly point to each blog entry, but the link from page title points
 to
  a create action (though it points apparently to exact same url as
 permalink
  except for the create action). The same for the buttons on right side
 of
  each blog subject (create/delete/)

 Does this happen on a subwiki?


No it's on main wiki, anyway I'm not able to create sub-wikis because of
first point I listed ;)


 The default UI for subwikis doesn't
 include the Blog application any more in 5.4.3 so the Blog application
 is removed during the upgrade. You should have been asked to confirm
 the deletion of unused wiki pages during the upgrade and the Blog code
 pages must have been among those pages. See

 http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Application#HDeleteUnusedWikiPages

. The upgrade doesn't remove the pages created by the user (e.g. the
 blog posts). That's why the links to the Blog UI pages have /create/
 action (they have been removed) and the links to the blog posts are
 fine (they have been kept).


I'm not sure of what is the difference between a Blog UI page and a blog
post page here ...
Example of bad link (ko):
http://host:port/xwiki/bin/create/Blog/TOTO?parent=Main.WebHome
Permalink for same post (ok):
http://host:port/xwiki/bin/view/Blog/TOTO

I wonder if both points I list may be linked together ...
Currently I cloned my original instance to test migration, and it's now
configured as follow:
DB : mysql, schema xwikinew, user xwiki
xwiki.cfg : xwiki.db=xwikinew



 Hope this helps,
 Marius

 
  Thanks,
  Jeremie
  ___
  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] No create wiki menu in XWiki 5.4.3

2014-04-02 Thread Guillaume Louis-Marie Delhumeau
2014-03-28 15:53 GMT+01:00 Jeremie BOUSQUET jeremie.bousq...@gmail.com:

 Hello,

 Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
 issues (or misunderstandings) :
 - My user is in an admin group with admin and PR rights, and I've set it
 also (on the group) the create wiki right. Still, when logged in, I don't
 have any wiki item in the Add menu (only usual space, page, ...). I'm
 sure I'm missing something obvious but can't find it.


Can you display, somewhere, $isWikiUIAvailable and $hasCreateWiki in a
{{velocity}} macro?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users