Giter Site home page Giter Site logo

[Composer\Downloader\TransportException] file could not be downloaded, got redirect without Location (HTTP/1.1 300 Multiple Choices) about icheck HOT 18 OPEN

nigelwhite avatar nigelwhite commented on August 17, 2024 7
[Composer\Downloader\TransportException] file could not be downloaded, got redirect without Location (HTTP/1.1 300 Multiple Choices)

from icheck.

Comments (18)

jcnventura avatar jcnventura commented on August 17, 2024 5

Please remove the branches with the same name as tags.. A tag can be somewhat considered a 'named branch'. If you ever need to checkout 1.0.1 simply do that: git checkout 1.0.1. It just works.

Deleting the 1.0.2 and 1.0.3 branches will fix the Github release URLs: https://github.com/dargullin/icheck/archive/1.0.2.zip

from icheck.

AnnoyedDeveloper avatar AnnoyedDeveloper commented on August 17, 2024 4

To the team managing this project:

This issue causes a big problem while upgrading a Drupal website to v9.

Please fix this right away.

from icheck.

neclimdul avatar neclimdul commented on August 17, 2024 2

@dargullin sorry for the direct ping but this is still broken.

from icheck.

prudloff-insite avatar prudloff-insite commented on August 17, 2024 1

The webform patch does indeed fix the issue but it will require patching a lot of websites.
In the mean time, renaming the 1.0.2 branch could instantly fix the problem for everyone.

from icheck.

andykillen avatar andykillen commented on August 17, 2024 1

yep, same here for both Drupal 8 and Drupal 9. gonna go with @jaylenw hack, its not nice but it works. Better if you re-name the branches not to be the same as the tags.

from icheck.

MatrixOfDeath avatar MatrixOfDeath commented on August 17, 2024

Having same issue, a patch is out here for webform contrib module who is requiring this jquery/icheck library : https://www.drupal.org/project/webform/issues/3264249

from icheck.

prudloff-insite avatar prudloff-insite commented on August 17, 2024

This potentially breaks the deployment of tens of thousands of websites using the webform module for Drupal.
The root cause is that https://github.com/dargullin/icheck/archive/1.0.2.zip returns this weird error:

the given path has multiple possibilities: #<Git::Ref:0x00007f0f498260b8>, #<Git::Ref:0x00007f0f49825b68>

Edit: the problem is caused by the fact that 1.0.2 is both a tag and a branch

from icheck.

LaravZ avatar LaravZ commented on August 17, 2024

@prudloff-insite installing the patch (for webform 6.1.2 at least) will resolve the issue for now as long as you make sure the composer lock file is updated correctly. I would not be surprised if updating webform will be the solution to this problem since the webform module links to github/fronteed which in turn links to this repo.

from icheck.

mgbellaire avatar mgbellaire commented on August 17, 2024

This is breaking the developer workflow of anyone trying to use this package. Please remove the branches for 1.0.2 and 1.0.3.

from icheck.

belray avatar belray commented on August 17, 2024

this patch for webform worked for us
https://www.drupal.org/files/issues/2022-02-14/3264249-6.2.x.patch

from icheck.

z3cka avatar z3cka commented on August 17, 2024

I also got bit by this today. Please fix.

from icheck.

ericjgruber avatar ericjgruber commented on August 17, 2024

Having the same issue.

from icheck.

z3cka avatar z3cka commented on August 17, 2024

Removing icheck's entry in my project's composer.lock file and then re-running composer install fixed the issue for me.

from icheck.

belray avatar belray commented on August 17, 2024

from icheck.

cherouvim avatar cherouvim commented on August 17, 2024

Please remove the branches.

from icheck.

timcorkerton avatar timcorkerton commented on August 17, 2024

Same here, please remove branches

from icheck.

munsinator avatar munsinator commented on August 17, 2024

Same issue.

from icheck.

jaylenw avatar jaylenw commented on August 17, 2024

In the composer.lock file I tried replacing https://github.com/fronteed/icheck/archive/1.0.2.zip with https://github.com/dargullin/icheck/archive/refs/tags/1.0.2.zip and it worked when running composer install. It is not a perfect solution. Got the idea from https://www.drupal.org/project/webform/issues/3264249#comment-14422171

from icheck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.