-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[js:core] backward compatibility with API 2.0 is broken #2403
Comments
@gordon-matt It seems JSON data is wrong. "volumeId" should be "volumeid". |
However, since "volumeid" is easy to mistake to "volumeId", I would like to be fixes by the client side. |
I see. Thank you. I believe it might be a change with the JSON serializer in .NET Core compared to previous .NET Framework. So you will change it in a future version to, "volumeId" instead? And what about the other attributes? For example, I have "copyOverwrite" and "tmbUrl". Do they need to be "copyoverwrite" and "tmburl" instead? Can you give me a link to the best place to find all options for your latest JSON structure? The original version of the .NET Connector was written quite a few years ago.. and I just migrated that code to latest .NET Core and did some refactoring... but if I can get your latest JSON structure and explanation of all properties, I can look at updating the new connector to support everything in the latest elFinder. Thanks in advance. |
- Create a TinyMCE demo page - Refactoring - Changed default theme to "Material - Gray"
No, "volumeid" is correct, it will not be changed in the future. And, there is the Wiki page "Client-Server API 2.1". |
OK, again it will only allow "volumeid". However, since backward compatibility to API 2.0 is broken, I will fix it. |
I am again working on the .NET Core backend and noticed an annoying issue, which is that the real file paths are not being displayed. I found this link in your wiki: Disable real file path from being shown. The problem is I want the reverse of that and that article is for PHP... and since I did not write the original version of the ELFinder Connector for .NET (which you can find here: https://github.com/leniel/elFinder.Net and I believe the very first version is from here: https://github.com/EvgenNoskov/Elfinder.NET), then I am not 100% certain how to solve this issue. I have been looking at this issue for hours, but can't seem to figure out what the problem is. If I am not mistaken, I just need to make sure that the JSON response has a 'url' property. You can see that it does in the JSON snippet below:
However, the links are always something like
connector.php?cmd=file&target=HASH_TO_FILE_PATH
, which I don't want. Can you help?The text was updated successfully, but these errors were encountered: