-
Notifications
You must be signed in to change notification settings - Fork 251
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
Invalide JSON in ashx connector; Initiate method #194
Comments
Thanks for the fix. ASHX connector was created in the end of 2016. Since that point a few major updated were rolled out, so ASHX connector may be outdated in some perspectives. Feel free to create pull requests if you will found any other issues. Also it would be great if you decide to become a maintainer of ASHX connector and make it up to date with all latest features. |
Btw, you could create a new PR with the current fix and I will merge it. |
You are correct about the ashx connector being out of date in relation to the filemanager.js file. As I am working through trying to get it to work, I've found some other issues. At this point I am just testing this filemanager to see if I want to use it. I'm more interested in the .net mvc connector, but I think that one is even more out of date. I'll keep working on this for a bit to see if I can get it to work and then I'll get back with you. I don't use github, so if I do get the connector working, i'll probably just post the code here and let you make the updates. Thanks. |
Ok, hope you will like RFM. No problem. I will roll out your code if you will make it to work. |
I think the only issue with the ashx connector was the Initiate method. It hadn't been updated. The code I used is below. Two comments:
Thanks.
|
ASHX connector doesn't support "extract" API method at least. Also there may be some issues in existing methods, but if they work for you it's cool!
|
I have included your fix in the latest 2.5.0 release. |
I actually switched to creating a .net mvc connector. I used the code from the .net core connector. I believe I almost have it completed. I'll give it to you when I am finished. |
Awesome! Do you use this connector as a base? Of course it's up to you which connector to use as a base. Looking forward your connector. |
I used the aspxnetcore, because that seemed to be more current. I had to make some changes, but it seems to be working for me. Do you have a way for me to contact you? I can send you the code and a bit of documentation on what I did. |
The JSON generated by the initiate method in the ashx connector (https://github.com/servocoder/RichFilemanager/blob/master/connectors/ashx/filemanager.ashx) is invalid.
The issues are extra / missing commas.
Here is the updated code.
The text was updated successfully, but these errors were encountered: