Skip to end of metadata
Go to start of metadata

Hi,

We are unable to add a page to favorites from a {compound-menuitem} inside a {menubar}. When trying to add it, we get the following error :

No page found for id 0

A little investigation shows that the link "/labels/removefavourite.action?atl_token=Ec8nRKUqPU&entityId=11370535" is broken due to the encoding of "&" in the url (results as &).

Using the {compound-menuitem} outside a {menubar} (eg only a button and not a menu) works perfectly as the url is well encoded.

We are using Confluence 3.2.1_01 and Builder 4.0.2

Thanks a lot.

  • No labels

2 Comments

  1. Unknown User (scayla)

    hmmm sorry, that's just nonsense, my '&' have been encoded in the post. I was pointing the one before "entityId" in the url which is encoded as "& amp;" (without blank)

    1. Unknown User (scayla)

      OK my mistake.

      Solution:
      If you created an alias for Confluence 3.0 as described in this post, undo what you've done. Just end with the {compound-menuitem:favourite|caption=%Add% favourite} macro, written as is and everything will come back to normal.