Warning: file_get_contents(.../clientside_validation/plugins/validator/js/dateformat.cv.js): failed to open stream: No such file or directory in drupal_build_js_cache()

dateformat.cv.js was moved in this commit, but is still referenced in it's old location.

Snippet from: clientside_validation_date/clientside_validation_date.module

  public function jsFiles(array &$element) {
    $files = parent::jsFiles($element);
    $files[] = drupal_get_path('module', 'clientside_validation') . '/plugins/validator/js/dateformat.cv.js';
    return $files;
  }
CommentFileSizeAuthor
#2 dateformat_moved-2453251-1.patch730 bytesheathdutton
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heathdutton’s picture

Title: Warning: file_get_contents(profiles/d2/modules/contrib/clientside_validation/plugins/validator/js/dateformat.cv.js): failed to open stream: No such file or directory in drupal_build_js_cache() » dateformat.cv.js has moved
heathdutton’s picture

heathdutton’s picture

I went searching through the other plugins to see if the same glitch existed elsewhere, but they all seem clean. Only the date plugin had this issue.

joelpittet’s picture

Version: 7.x-2.0-alpha3 » 7.x-2.x-dev
Status: Active » Needs review

Moving to the right branch and there is a patch so setting the status to reflect that.

joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

Yes it loading from the wrong module. Thanks for the patch.

joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Sorry someone fixed this already.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.