Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree not updating correct after last update #302

Open
PerThomsen opened this issue Feb 23, 2024 · 14 comments
Open

Tree not updating correct after last update #302

PerThomsen opened this issue Feb 23, 2024 · 14 comments

Comments

@PerThomsen
Copy link

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

@Klap-in
Copy link
Collaborator

Klap-in commented Feb 23, 2024

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.

@IcEPiQQ
Copy link

IcEPiQQ commented Feb 27, 2024

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"

@PerThomsen
Copy link
Author

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 ;)

@Klap-in
Copy link
Collaborator

Klap-in commented Feb 28, 2024

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.

@e-dschungel
Copy link

e-dschungel commented Mar 2, 2024

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.

@Stikus
Copy link

Stikus commented Mar 4, 2024

Yes, I have same problem (wrote here: #296 (comment)) - I can provide any required data, and we need this fix.

@hurik
Copy link

hurik commented Mar 11, 2024

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.

@Stikus
Copy link

Stikus commented Mar 28, 2024

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

@Klap-in
Copy link
Collaborator

Klap-in commented Mar 30, 2024

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.

@f1ynng8
Copy link

f1ynng8 commented Apr 29, 2024

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
Copy link

f1ynng8 commented Apr 29, 2024

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 #313

@Stikus
Copy link

Stikus commented May 2, 2024

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

@vincent1890
Copy link

Up News ?

@Klap-in
Copy link
Collaborator

Klap-in commented Sep 15, 2024

Nope, the very strange thing here is that there are submitted several bit different reports,that seems kind of related to caching, but which I can not reproduce for myself.

This makes it difficult for me to come up with a solution. Also I have limited time, recently tried another unsuccessful attempt to reproduce, but I do not know how to speed up a remedy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants