nextcloud / fulltextsearch

🔍 Core of the full-text search framework for Nextcloud
GNU Affero General Public License v3.0
212 stars 51 forks source link

Fulltextsearch causes other plugins to not be reachable through navigation bar #842

Closed D3nnis3n closed 1 month ago

D3nnis3n commented 4 months ago

I use plugins like "Passwords" and "Tasks", they add links to the NC navbar on top to reach them: image

Once this Fulltextsearch is installed and enabled, those links don't work anymore, as they change in a way the link is always to the page you currently are already on.

Example for Passwords Plugin, when currently on the Dashboard: Fulltext Search not installed, link in navbar leads to: https://domain.com/settings/apps/passwords Fulltext Search installed, link in navbar leads to: https://domain.com/settings/apps/dashboard

This happens with many third-party plugins (but not official ones like "Calendar") and only if Fulltextsearch is enabled. As soon as I disable it, everything works fine. I had reported the issues to each of the third-party plugins before, but they seemingly correctly closed them as not caused by them.

Nextcloud 29.0.1 Versions of all Fulltext Search Plugins: image

jacotec commented 4 months ago

Same issue hereon all of my 3 instances, also related issue are (just to link them together): https://github.com/julien-nc/phonetrack/issues/45 https://github.com/pulsejet/memories/issues/1198 https://github.com/nextcloud/server/issues/45223

Fulltextsearch core is the app which causes it.

D3nnis3n commented 4 months ago

Yeh, I also had posted on multiple other apps, but closed my issues after the developer of passwords - somewhat rude, but ultimately correctly - hinted at me that it's not their plugin and i tried through all manually until I found the one. I had originally just assumed that plugins that weren't official (they are not affected) just forgot to maybe change something in code that needed to be changed in NC 29 for header link to correctly appear.

In any case I cannot even temporarily remedy the situation through disabling and enabling fulltextsearch_core as some people seemingly can in the issues you posted. The bug appears immediately with enabling and disappears immediately with disabling. I don't even need to reload the page, the links change while I am still on the apps page in the navbar, as if it was loaded with javascript or something.

martingwb commented 4 months ago

I am having this issue with the tasks and tables apps but have not been able to clearly reproduce the behavior by disabling/enabling fulltextsearch. On some tests the link for the latest loaded page is used for these apps, sometimes the correct links for the apps are used. My tests included logout/login, deleting browser cache, checking before/after cron, disabling/enabling fulltextsearch through web-gui/occ.

Latest test was to disable/enable fulltextsearch through occ(!). After this the behavior is correct for some time now. Update: after around 1-2 hours the wrong behavior reappeared. Not sure which action triggers it.

baltaner commented 4 months ago

Hi, same here: after disable/enable fulltextsearch the link to "task" is back again, but after a while it disappears. I tested to disable/enable other apps - but only disable/enable fulltextsearch brings back the link to "tasks"

jacotec commented 4 months ago

@ArtificialOwl This seems to be a very widespread problem with Fulltextsearch and NC29, at least a patch would be highly appreciated :-)

HPPinata commented 4 months ago

The issue appears to be specifically with the "Navigational Symbol" Option. Disabeling it and reloading fixes the problem for me consistently, so using the FTS integration into the "normal" nextcloud search is a usable but not ideal workaround. Disabeling the App is not neccessary. After reenabeling it works for some time (single digit hours, maybe PHP cache?). The FTS app is also still reachable under it's normal address and appears to function normally, even if the icon is hidden/disabled Option is found under: /settings/admin/fulltextsearch/

Screenshot 2024-05-30 001313
HPPinata commented 4 months ago

I am unsure why this only affects some third party Apps, but fulltext search is the only App i know of that has this option to show/hide it's navigation bar icon, so it's a likely thing to behave weirdly, maybe due to some upstream changes not fully tested against this niche functionality...

baltaner commented 4 months ago

Same behavior here with "settings/admin/fulltextsearch": when I disable/enable "Navigation Icon: Enable global search within all your content." - the missing link to "Tasks" is back, but vanish after a couple of hours. When I disable "Navigation Icon: Enable global search within all your content." the missing link stays visible!

raimund-schluessler commented 3 months ago

It would be nice if this could be taken care of by the Nextcloud team, as it causes ongoing bug reports in other repos. Thanks!

renne commented 2 months ago

Same behavior here with "settings/admin/fulltextsearch": when I disable/enable "Navigation Icon: Enable global search within all your content." - the missing link to "Tasks" is back, but vanish after a couple of hours. When I disable "Navigation Icon: Enable global search within all your content." the missing link stays visible!

I can confirm this!

D3nnis3n commented 2 months ago

It's a pity this major issue is still not addressed after nearly three months. :(

codejp3 commented 2 months ago

Still ongoing here too.

Disabling/re-enabling FullTextSearch temporarily resolves the issue.

I've turned off the Navigation Icon option and will continue to monitor, but it would be nice to have that working properly.

prolibre commented 2 months ago

As fixing the bug takes a lot of time, here's what I do. It's a bit grotesque, but here's what I do:

Have a nice day.