Problem/Motivation

Version 2.0.15 added a new library dependency in tour.libraries.yml for assets/shepherd/css/shepherd.css:

tour-styling:
  version: VERSION
  css:
    component:
      assets/shepherd/css/shepherd.css: { media: screen }
      css/tour.module.css: { media: screen }

However, this file doesn't exist in the module's code and causes a JavaScript error in the browser console:
Screenshot of JavaScript error due to missing file

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

richarddavies created an issue. See original summary.

thedut’s picture

Status: Active » Needs review
StatusFileSize
new337 bytes

Hello,
Here is a patch fixing the 404 error.
Note : the css/third-party/shepherd/css/shepherd.css is still loaded throught the tour/shepherd dependency.

richarddavies’s picture

Status: Needs review » Reviewed & tested by the community

Thank you. After applying the patch and clearing Drupal caches, I've confirmed the console error is gone.

  • smustgrave committed e3d9fa93 on 2.0.x
    feat: #3562939 Missing library assets/shepherd/css/shepherd.css
    
    By:...
smustgrave’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, just FYI though patches should be in MRs

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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