Closed (fixed)
Project:
Clientside Validation
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2016 at 01:16 UTC
Updated:
2 Feb 2018 at 09:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
quironHi,
I have a similar issue that seems to apear randomly. I solved with a
Any idea of what can be going on?
Comment #3
davy-r commentedSame issue here (composer 1.2.0), but
composer clear-cachedoesn't solve the issue for me..Comment #4
jelle_sMy guess is that you need to re-define the jqueryvalidate in your root
composer.jsonfile, as repositories are not resolved recursively (see https://getcomposer.org/doc/04-schema.md#repositories).Can you check if that works?
Comment #5
davy-r commentedThanks, that's correct, when I re-define the jqueryvalidate in my root composer.json the dependency can be resolved. But imho it is a workaround and not a neat solution to this issue.
Another thing that I noticed is that the jqueryvalidate dependency is downloaded to "libraries/jqueryvalidate", but the cdn version is being loaded.
Comment #6
itamair commented+subscribe
Comment #7
greenskunkThe project page states the following:
An Option
Don't make it a composer dependency but have the module check the libraries folder for jqueryvalidate.If it doesn't exist then have it output something on the Status Report page using hook_requirements https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...
Comment #8
Pascal- commentedAdd this to your composer.json for an easy fix:
Comment #9
nikunjkotechaFor now, removing composer require from module, readme and other stuff will be managed in https://www.drupal.org/node/2895666
This won't break existing setups as CDN version is already made available if not available in module.
Comment #10
nikunjkotechaComment #13
nikunjkotechaConfirmed the fix above in https://www.drupal.org/node/2899231#comment-12244123, patches are now passing if the code is proper :)
Comment #15
nikunjkotechaIssue still left with the readme update. Since the fix to remove composer dependency was added in this ticket, reopening this one instead of fixing in 2895666.
Comment #16
nikunjkotechaComment #17
nikunjkotechaComment #18
nikunjkotechaI feel like I'm messing up a lot today. I mentioned that README and rest all will be fixed as part of other ticket here https://www.drupal.org/project/clientside_validation/issues/2784069#comm...
Closing this again and adding patch + changes there.
Sorry for all the unnecessary notifications.