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
New files disappear from view after upload #2098
Comments
@ioaoue Is there a problem with Nightly build too? I verified with PHP connector 2.0 and 2.1, but there was no problem. Ask the developer of the Java connector because there is a possibility of a problem with the Java connector. If you find any problems with elFinder's client side program, please let me know as I will fix it. |
I tested some versions from 2.1 branch including 2.1.12, 2.1.13, 2.1.20, 2.1.25 and the latest commit. Version 2.1.12 works correctly, and 2.1.13 do not. Then I did git bisect and found that d5ce45b is the first commit with this problem. I looked at requests from elFinder client to connector and found that on https://studio-42.github.io/elFinder/ every file upload consists of 2 requests: "ls" and then "upload" commands. But on my server only the first file upload looks like that (and the first file uploads correctly). All subsequent uploads conist of 4 requests:
And "open" request lasts much longer than subsequent "ls" and "upload". I think there could be some issue with asynchronous handling of responses.
So I have 2 questions:
|
Perhaps the result of your connector's
|
For now elFinder do not send the |
For now I do not see this behavior. I tried:
ElFinder client sent only 2 requests: |
Did the same test on 2.1.25:
|
What data will your connector return to the |
Captured full conversations for 2 cases:
Now I see at least one bug in the connector: it seems that it does not understand |
The value returned by the I edited Wiki - https://github.com/Studio-42/elFinder/wiki/Client-Server-API-2.1#ls . Please check out it. |
I modified response from connector to match this format. Now ElFinder client works as expected. I think this issue could be closed. Please update the wiki if there are some other errors in API description. |
@ioaoue Thank you for your report. 👍 |
I use elFinder 2.1.25 with this Java connector: https://github.com/bluejoe2008/elfinder-2.x-servlet
I try to upload some files one by one, for example, A, B and C.
Such behavior was first introduced in commit d5ce45b:
Maybe there were commits fixing this, but I did not found any. In the last release this line is fixed, but the bug is still present.
The text was updated successfully, but these errors were encountered: