-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Bugfix: issues#131 in Gitify #12669
Bugfix: issues#131 in Gitify #12669
Conversation
Fix issue: modmore/Gitify#131
bugfix #131 in modmore/Gitify
Hi @tyllo! Could you use the template from https://github.com/modxcms/revolution/blob/2.x/CONTRIBUTING.md#template-1 in the pull request, and explain a bit how this fix works? |
Google translate: Russian: |
I've tested this pull request on my Vagrant image and it fixes issue modmore/Gitify#131 for me 😸 |
Any reason this is not merged yet? |
Just checking in to see if there's any more testing I can do, or help I can give, to get this fix merged? |
I got into same troubles with latest Gitify and MODX 2.4.2-pl, after this fix |
Latest Gitify works fine with MODX 2.3.6-pl, even without this fix. |
Hi @tyllo! Any update on this? Just want to understand the how/why behind the solution. (See @Mark-H's request above about updating to use the PR contribution template) |
It does fix the issue we've been seeing with Gitify's batch package install, I've since tested this on several sites. I think @tyllo might not speak a lot of English and after a bit more digging, I understand what this is doing as well, so if you'd allow me (as the developer responsible for Gitify :P), here's the template and description of what this does: What does it doEnsures the responseType is set correctly on the rest service. In the downloadUrl method of the provider object, the responseType is being set to The bug starts happening when multiple packages are installed in a single request (through Why is it neededThis pull request makes sure the responseType is set back to its original value after the call to get the download url with responseType=text. That way batch downloads/installs with tools like Gitify work again as they did in 2.3.x. Related issue(s)/PR(s)On a final note, I believe this should probably target 2.4.3 instead of 2.5 as it's a bug fix for behaviour that was inadvertently broken in 2.4.0 @rtripault. |
Thanks Mark. I'd agree, definitely |
Thanks guys, hope this will be released in next 2.4.x release ;) |
Right, this is indeed a fix for commit cb48cc3. |
@pixelchutes If by signed release you mean the CLA, then I'm not sure.. @tyllo Have you ever signed the MODX CLA? If not, can you please do so at modx.com/cla and post here when you did that? |
I am not registered to MODX CLA, I'm bad at writing English. If is still actual, you can take my commit themselves to recycle, I will not be offended. |
Hi @tyllo, this pull request is still actual, thanks :) If you could just go to http://modx.com/cla and fill in the form, that will allow us to merge it and include it in the next release. The CLA gives the MODX project the legal right to the code you provide, so it can be licensed as GPL. |
done |
Merged via d1f0555 |
👏 |
❤️ |
modmore/Gitify#131