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

Error which prevents creating a folder in some cases on Chrome and Edge #55

Open
ilieandriuta opened this issue May 20, 2022 · 0 comments

Comments

@ilieandriuta
Copy link

Environment: Windows 11 Pro 64bit, Edge 101, Chrome 101 using a local instance of XWiki 14.4 RC1 and 13.10.5 (Jetty/HSQLDB), Java 17 (Oracle), File Manager Application (Pro) 2.5.4

STEPS TO REPRODUCE

  1. Install File Manager Application (Pro)
  2. Go to the main page of the application
  3. Right click on File Manager > New Folder (fill the folder's name)
  4. Press Enter

EXPECTED RESULTS
The folder is created and displayed in the tree below File Manager.

ACTUAL RESULTS
In some cases (reproduced quite often on Chrome 101 and Edge 101 for some reason after clearing the cache, but not always) when pressing Enter, the folder disappears and the following error is displayed in browser's JS console:

POST http://localhost:1440/xwiki/bin/get/FileManager/WebHome?action=createFolder&outputSyntax=plain 403 (Forbidden)

send | @ | jquery.min.js?r=1:2
  | ajax | @ | jquery.min.js?r=1:2
  | s.ajax.s.ajax | @ | jquery-migrate.min.js?r=1:2
  | S.<computed> | @ | jquery.min.js?r=1:2
  | run | @ | jobRunner.js:99
  | execute | @ | tree.js:481
  | C | @ | tree.js:218
  | (anonymous) | @ | tree.js:540
  | dispatch | @ | jquery.min.js?r=1:2
  | v.handle | @ | jquery.min.js?r=1:2
  | trigger | @ | jquery.min.js?r=1:2
  | h.event.trigger | @ | eventsBridge.js:30
  | triggerHandler | @ | jquery.min.js?r=1:2
  | trigger | @ | jstree.min.js:2
  | rename_node | @ | jstree.min.js:3
  | (anonymous) | @ | jstree.min.js:4
  | dispatch | @ | jquery.min.js?r=1:2
  | v.handle | @ | jquery.min.js?r=1:2
  | keydown | @ | jstree.min.js:4
  | dispatch | @ | jquery.min.js?r=1:2
  | v.handle | @ | jquery.min.js?r=1:2

The issue seems to not reproduce on Firefox 100.

image

@ilieandriuta ilieandriuta added this to the 2.5.5 milestone May 20, 2022
@slauriere slauriere modified the milestones: 2.5.5, 2.5.6 Oct 5, 2022
@oanalavinia oanalavinia modified the milestones: 2.6.1, 2.6.2 Nov 15, 2023
@oanalavinia oanalavinia removed this from the 2.6.2 milestone Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants