You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: internal links don't seem to get resolved properly #32177
I also couldn't reproduce it so far but what I saw is that when the private link is opened, while the page is loading the "fileid" is not appended yet. It's only after the folder finished loading that we know the fileid and the URL gets adjusted.
So if someone copies the URL before that it won't contain the file id.
I believe this is related to the removal of the redirect for performance reasons, the redirect would directly send to the URL containing the fileid to have it initially there: #31143
The new logic requires first loading the folder to know it.
One alternative idea would be to adjust the ViewController to pre-fetch the fileid and include it in initialState so that we have it earlier.
not sure if it's important to know, but I faced this issue also in earlier versions of NC. Already in v20 i have the same issue. The url displays: /apps/files/?dir=/&scrollto=Readme (2).md and gives the root folder
Activity
CarlSchwan commentedon Apr 27, 2022
weird this is working fine for me, could you look into your developer console and see if there is any errors reported?
Also what browser are you using?
jospoortvliet commentedon Apr 27, 2022
@CarlSchwan https://cloud.nextcloud.com/f/5995231
hope it helps. Christoph had the same issue, perhaps you can work with him to debug as I'm not terribly technical :D
PVince81 commentedon May 6, 2022
I also couldn't reproduce it so far but what I saw is that when the private link is opened, while the page is loading the "fileid" is not appended yet. It's only after the folder finished loading that we know the fileid and the URL gets adjusted.
So if someone copies the URL before that it won't contain the file id.
I believe this is related to the removal of the redirect for performance reasons, the redirect would directly send to the URL containing the fileid to have it initially there: #31143
The new logic requires first loading the folder to know it.
One alternative idea would be to adjust the ViewController to pre-fetch the fileid and include it in initialState so that we have it earlier.
alexbijma commentedon Aug 24, 2022
not sure if it's important to know, but I faced this issue also in earlier versions of NC. Already in v20 i have the same issue. The url displays: /apps/files/?dir=/&scrollto=Readme (2).md and gives the root folder
szaimen commentedon May 22, 2023