Problem/Motivation

The following warning shows on the Status Report page:
The powerbi.js library is missing, check the README.md file for instructions to load it

Steps to reproduce

Visit the Status Report page

Proposed resolution

The helper function _pwbi_get_path is checking for the incorrect library name (pwbi). Simply update the argument to the correct name.

From this:

if (function_exists('libraries_get_path') && $libraries_path = libraries_get_path('pwbi')) {
  return $libraries_path;
}

To this:

if (function_exists('libraries_get_path') && $libraries_path = libraries_get_path('powerbi')) {
  return $libraries_path;
}

Issue fork pwbi-3562488

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 2.x Comparechanges, plain diff MR !13

Comments

simplyshipley created an issue. See original summary.

simplyshipley’s picture

Issue summary: View changes

enriquelacoma made their first commit to this issue’s fork.

enriquelacoma’s picture

Assigned: Unassigned » enriquelacoma
Status: Active » Needs review
enriquelacoma’s picture

Status: Needs review » Fixed

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.

enriquelacoma’s picture

Status: Fixed » Closed (fixed)