indexmenu icon indicating copy to clipboard operation
indexmenu copied to clipboard

Tree not updating correct after last update

Open PerThomsen opened this issue 1 year ago • 14 comments

After the last update the tree dos not reflect correct. New pages do not appear and deleted pages still remain. When I put &purge=1 at the end of the URL it displays correctly

PerThomsen avatar Feb 23 '24 08:02 PerThomsen

More people have now reported this issue, see also #296. So far I could not yet reproduce it on my own setup. But as the reports keep coming, there happens somewhere a wrong handling/triggering of the cache.

Klap-in avatar Feb 23 '24 12:02 Klap-in

had the same issue! I solved that problem by

  • changing the defaultoptions setting in the Configuration Manager to "treenew" and
  • changing the plugin»indexmenu»aclcache to "user"

IcEPiQQ avatar Feb 27 '24 07:02 IcEPiQQ

had the same issue! I solved that problem by

* changing the defaultoptions setting in the Configuration Manager to "treenew" and

* changing the plugin»indexmenu»aclcache to "user"

When I do that, my action-menu (right-click on menu) disappears ;)

PerThomsen avatar Feb 28 '24 11:02 PerThomsen

treenew has no contextmenu (yet..). (Btw, I doubt if I should readd it, see #244 )

All the reports give different small clues. If I can find time, my intent is to test multiple combinations of caching in the hope to find the cause. Unfortunately, so far I have not yet reproduced it.

Klap-in avatar Feb 28 '24 16:02 Klap-in

Hi,

I got the same or a similar issue. New sub pages are not shown in the indexmenu of the top page. If I edit the top page and press preview the new page is there. If I edit the page (just add a newline) and save the new page is in the index. So I guess that's an issue with the cache.

Used syntax (top page): {{indexmenu>.:Notizen#0|group}} Subpages are created in in the Notizen Namespace.

Release 2024-02-06a "Kaos", PHP 8.2.16 indexmenu defaultoptions: tsort nsort nogroup aclcache: groups Installed Plugins: Authad, Authldap, Authpdo, Commentsyntax, Folded, Indexmenu, Move, Pagelist, Tag, Wrap

If more data is helpful, please let me know.

e-dschungel avatar Mar 02 '24 12:03 e-dschungel

Yes, I have same problem (wrote here: https://github.com/samuelet/indexmenu/issues/296#issuecomment-1943647099) - I can provide any required data, and we need this fix.

Stikus avatar Mar 04 '24 08:03 Stikus

had the same issue! I solved that problem by

* changing the defaultoptions setting in the Configuration Manager to "treenew" and

* changing the plugin»indexmenu»aclcache to "user"

I have the same problem, and the above solution doesn't help. On my startpage i have a menu, It shows the same as the sidebar (for mobile users). When I log out, the sidebar is correct, but the startpage shows everything, like I'm still logged in.

hurik avatar Mar 11 '24 09:03 hurik

@Klap-in Hello, are you still sick? Any ETA for fix?

Stikus avatar Mar 28 '24 07:03 Stikus

I'm recovered. But I´m not able to provide a ETA because I'm not able to reproduce the situation, therefore, difficult get grip on it. Further, I've very limited time due to care for a newborn.

Klap-in avatar Mar 30 '24 13:03 Klap-in

Yes, I have the exactly same issue.

When using the default js tree (tree old), the indexemnu will not handle new page or deleted page, you need to pure the page to make indexmenu display it.

The solution is to use treenew either in defaultconfigs or in the indexmenu code, like {{indexmenu>..#1|js#thread navbar treenew skipfile=/sidebar/}}

However I encounter another problem, after changing to treenew, the indexmenu only use the default theme and I can't change them by #theme.

f1ynng8 avatar Apr 29 '24 04:04 f1ynng8

btw, there is a simple workaround if you using treeold, just add ~~NOCACHE~~ to your sidebar page, like this:

~~NOCACHE~~ 
{{indexmenu>..#1|js#leopard.png navbar treeold nocookie skipfile=/sidebar/}} 

I am using this workaround, because I like leopard.png theme but indexmenu can't change theme while using treenew https://github.com/samuelet/indexmenu/issues/313

f1ynng8 avatar Apr 29 '24 05:04 f1ynng8

@f1ynng8 Thx for advice, ~~NOCACHE~~ helped us. But we're still waiting for proper solution.

Stikus avatar May 02 '24 07:05 Stikus