otetard/ownpad

New pad created in the root directory and not in the current one

Closed this issue · 3 comments

It can now be enabled on my instance, however I have a weird behavior when creating a new pad: it is created at the root directory for the current user.

Since it might be a Nextcloud 25 (or 0.7.0) only issue I mention it here. I haven't found any similar issues on the bugtracker yet.
Let me know if you prefer that I open a new one.

To reproduce: in a directory, create a new pad
What happens:

  • opening the pad directly leads to a "the URL specified in your file does not match the allowed server." error
  • the new pad disappears when refreshing the page
  • we can find it (and open it successfully) in the top-level directory

Expected:

  • the file should be created in the directory and remain there
  • it could be opened from there

Demo:

vokoscreen-2022-11-13_18-06-14.mp4

Originally posted by @real34 in #119 (comment)

I confirm this issue. This is due to some changes in the files app. I’ll try to fix this quickly.

Bug is now fixed in 0.7.1 (8e07b0d). Issue was due to a change in Nextcloud 25: nextcloud/server#33373

Thanks a lot!
I could install 0.7.1 and I confirm it fixes the issue.

So far, so good… everything seems to be working as expected!
🙏 👍