Looking for Menu Application Bug Verification

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Looking for Menu Application Bug Verification

DeHaynes
Today I was working on changing the Menu Application so it did not throw an error when a user didn't have permission to the Menu share.  I only use the horizontal menu at the top of the page and that is working fine.  I went to verify functionality on the left and right menus and they didn't work.  They worked when I first installed the Menu Application Extension so, thinking I broke something, I:

* Completely Uninstalled the 3 Menu extensions.
* Permanently deleted all documents associated with the Menu space.
* Re-installed the Menu Application (which installs 2 other Menu extensions it uses.)
* Created a new menu by accepting the default menu and set it to the right side of the form, which already has some widgets there.

It did not work.  So then I went to a completely different wiki server that I hadn't touched in weeks.  I tried to put the menu to the right side and it didn't work.  I repeated the uninstall and install process and it still doesn't work.

Anyone else having this issue?
Reply | Threaded
Open this post in threaded view
|

Re: Looking for Menu Application Bug Verification

Hamster
The only thing I can say...

...installing the Menu Application is a PITA (due to the dependencies to the 2 old menu apps).

I have managed to make it work on our XWiki 5.4.2 installation...and I am NOT touching it again! (Don't fix it if it ain't broke)
Reply | Threaded
Open this post in threaded view
|

Re: Looking for Menu Application Bug Verification

Marius Dumitru Florea
On Fri, Mar 21, 2014 at 3:05 PM, Hamster <[hidden email]> wrote:
> The only thing I can say...
>

> ...installing the Menu Application is a PITA (due to the dependencies to the
> 2 old menu apps).

You must be confusing the extensions. The Menu Application doesn't
have any dependencies to "old menu apps" as can be seen on

http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application#HDependencies
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-menu/xwiki-platform-menu-ui/pom.xml#L44

All its dependencies are bundled with XWiki Enterprise so *installing*
the Menu Application is NOT a PITA!

The only problem you may have is if you had previously installed

http://extensions.xwiki.org/xwiki/bin/view/Extension/Navigation+Menu+Wiki+Macro
http://extensions.xwiki.org/xwiki/bin/view/Extension/NavigationMenuConfig

The Menu Application is not compatible with these two, so you have to
uninstall them.

Hope this helps,
Marius

>
> I have managed to make it work on our XWiki 5.4.2 installation...and I am
> NOT touching it again! (Don't fix it if it ain't broke)
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Looking-for-Menu-Application-Bug-Verification-tp7589735p7589753.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Reply | Threaded
Open this post in threaded view
|

Re: Looking for Menu Application Bug Verification

Marius Dumitru Florea
In reply to this post by DeHaynes
On Thu, Mar 20, 2014 at 7:50 PM, DeHaynes <[hidden email]> wrote:
> Today I was working on changing the Menu Application so it did not throw an
> error when a user didn't have permission to the Menu share.  I only use the
> horizontal menu at the top of the page and that is working fine.  I went to
> verify functionality on the left and right menus and they didn't work.  They
> worked when I first installed the Menu Application Extension so, thinking I
> broke something, I:
>

> * Completely Uninstalled the 3 Menu extensions.

What are those 3 menu extensions? Can you give us links to
http://extensions.xwiki.org ?

> * Permanently deleted all documents associated with the Menu space.

> * Re-installed the Menu Application (which installs 2 other Menu extensions
> it uses.)

What "2 other Menu extensions"? The Menu Application
http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application
doesn't depend on any other menu extension.

> * Created a new menu by accepting the default menu and set it to the right
> side of the form, which already has some widgets there.
>
> It did not work.  So then I went to a completely different wiki server that
> I hadn't touched in weeks.  I tried to put the menu to the right side and it
> didn't work.  I repeated the uninstall and install process and it still
> doesn't work.

By right side you mean having the menu in a panel? On the Menu
Application documentation there is this paragraph:

{quote}
Currently, in order to have the menu inside a panel you need to make
one more step: add the menu page (e.g. Menu.Navigation Panel) to the
list of right/left panels in the administration.
{quote}

There is also this issue reported http://jira.xwiki.org/browse/XWIKI-10112 .

Hope this helps,
Marius

>
> Anyone else having this issue?
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Looking-for-Menu-Application-Bug-Verification-tp7589735.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Reply | Threaded
Open this post in threaded view
|

Re: Looking for Menu Application Bug Verification

DeHaynes
> What are those 3 menu extensions? Can you give us links to
> http://extensions.xwiki.org ?

http://extensions.xwiki.org/xwiki/bin/view/Extension/Navigation+Menu+Wiki+Macro
http://extensions.xwiki.org/xwiki/bin/view/Extension/NavigationMenuConfig
http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application

> What "2 other Menu extensions"? The Menu Application
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application
> doesn't depend on any other menu extension.

I didn't think it used them either but I uninstalled them and just in stalled "Menu Application" and the other two got re-installed along with it.  

> By right side you mean having the menu in a panel? On the Menu
> Application documentation there is this paragraph:

Yes, that is what I meant.

> Currently, in order to have the menu inside a panel you need to make
> one more step: add the menu page (e.g. Menu.Navigation Panel) to the
> list of right/left panels in the administration.
>
> There is also this issue reported http://jira.xwiki.org/browse/XWIKI-10112 .

Ah this is new.  When I original quit using "Navigation Menu Wiki Macro" and "NavigationMacroConfig" I knew you had to manually put references in the right/left panels in the administration section.  However when I originally tried the new "Menu Application" I didn't have to do this.  It was one of the items I noted as being a benefit.

I went ahead and put "Menu.Navigation" in for my right panel, which is always visible.  Then I changed the menu to display in the right panel.  It did not work.  However, based on what your saying that the "Menu Application" has no dependencies on the other menu extensions and my server seems to have this, I may have a unique issue with my setup?
Reply | Threaded
Open this post in threaded view
|

Re: Looking for Menu Application Bug Verification

Hamster
DeHaynes wrote
I didn't think it used them either but I uninstalled them and just in stalled "Menu Application" and the other two got re-installed along with it.  
I got the same thing here, so those items are definitly connected in some manner. At least when you upgrade a XWiki with the Navigation Menu Wiki Macro / Config Application to a new version of XWiki with the Menu Application (which should replace the old stuff)

DeHaynes wrote
However, based on what your saying that the "Menu Application" has no dependencies on the other menu extensions and my server seems to have this, I may have a unique issue with my setup?
All I can say, no...you don't have an unique issue, as we have had the same problem.

The EM also indicated that the old Navigation Menu Wiki Macro and the Navigation Menu Config Application and the Menu Application are somehow connected. It showed that I could downgrade the Navigation Menu Wiki Macro and the Navigation Menu Config Application. Sadly I can't show a screenshot, as I have spend lots of time trying to get rid of the old Navigation Menu macros (and I don't want that mess to come back).
Reply | Threaded
Open this post in threaded view
|

Re: Looking for Menu Application Bug Verification

Marius Dumitru Florea
In reply to this post by DeHaynes
On Mon, Mar 24, 2014 at 7:42 PM, DeHaynes <[hidden email]> wrote:
> I didn't think it used them either but I uninstalled them and just in
> stalled "Menu Application" and the other two got re-installed along with it.

They didn't got re-installed. The Menu Application offers (or at least
aims to offer) the same features as the other 2 extensions and the
descriptor of the Menu Application extensions specifies this
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-menu/xwiki-platform-menu-ui/pom.xml#L37
which means that Menu Application can be seen as an upgraded version
of the other 2. This ensures that if you have the old 2 menu
extensions installed and you install the Menu Application they are
"removed" (upgraded). You should see this http://imgur.com/wM86OD4 .
Only the Menu Application is installed because it is the only one
having the Uninstall button. The other two are not installed, they
have the Downgrade button to allow you to go back to the old menu if
you don't like the Menu Application.

>
>> By right side you mean having the menu in a panel? On the Menu
>> Application documentation there is this paragraph:
>
> Yes, that is what I meant.
>
>> Currently, in order to have the menu inside a panel you need to make
>> one more step: add the menu page (e.g. Menu.Navigation Panel) to the
>> list of right/left panels in the administration.
>>
>> There is also this issue reported http://jira.xwiki.org/browse/XWIKI-10112
>> .
>
> Ah this is new.  When I original quit using "Navigation Menu Wiki Macro" and
> "NavigationMacroConfig" I knew you had to manually put references in the
> right/left panels in the administration section.  However when I originally
> tried the new "Menu Application" I didn't have to do this.  It was one of
> the items I noted as being a benefit.

I'm telling you this has never worked. Believe me :) . Maybe you had
the panel already added to the right/left panels in the administration
and when you created the menu with the Menu Application you thought it
adds the panel automatically (while it may have been just a
coincidence). It doesn't. The paragraph I mentioned is there in the
Menu Application documentation from the start.

>
> I went ahead and put "Menu.Navigation" in for my right panel, which is
> always visible.  Then I changed the menu to display in the right panel.  It
> did not work.

I just tried and it worked for me. Make sure you use the right scope.
Larger scopes require special rights.

Hope this helps,
Marius

> However, based on what your saying that the "Menu
> Application" has no dependencies on the other menu extensions and my server
> seems to have this, I may have a unique issue with my setup?
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Looking-for-Menu-Application-Bug-Verification-tp7589735p7589781.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs