The report page of the libraries module shows the Highcharts library as Not detected.

Despite this information, the library works correctly when using it on a View or a custom graph.

The steps for reproducing this bug are:

  1. Download the Highcharts JS file from https://code.highcharts.com/highcharts.js and copy the file to sites/all/libraries/highcharts/js/highcharts.js.
  2. Enable the charts module and the charts_highcharts submodule.
  3. Go to admin/reports/libraries.
  4. The Highcharts library is listed, but marked as Not detected

Comments

tucho created an issue. See original summary.

tucho’s picture

Status: Active » Needs review
StatusFileSize
new620 bytes

The library was not detected because the file of the version arguments index on Highcharts' library info does not include the js subdirectory.

When the libraries_get_version searchs for the file, it does not find it, marking the library as Not detected

I attached a patch that solves the issue, adding the missing js subdirectory to the file path.

emerham’s picture

Status: Needs review » Reviewed & tested by the community

Tested, looks good.

  • andileco committed ba58b89 on 7.x-2.x authored by tucho
    Issue #2919149 by tucho: Libraries does not detect highcharts.js file
    
andileco’s picture

Status: Reviewed & tested by the community » Fixed
andileco’s picture

Status: Fixed » Closed (fixed)