Enabling the module and creating profile works like a charm but when installing site using the installation profile created with profiler builder it will still ask for profiler library so dependency is still there even thou in module description it states there is no dependency for RC4

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

btopro’s picture

hmm... in your profiler builder export did you uncheck profiler from the libraries listed?

Kristina Katalinic’s picture

I did not have profiler library installed at all and the profile was created using the drush command 'drush distro distroname --untar' and that puts the

 !function_exists('profiler_v2') ? require_once('libraries/profiler/profiler.inc') : FALSE;
  profiler_v2('myprofile');

on top of the myprofile.install file. Maybe the drush command is working as if profiler was still required? So basically it throws an error on installation but, if you comment that code out it will still install without problems. So, my guess is that the profiler dependency still hasn't been removed somewhere in the code..

thijsvdanker’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
918 bytes

The drush command did still set the $profiler dependency to TRUE.
The attached patch changes this to false.

btopro’s picture

Version: 7.x-1.0-rc4 » 7.x-1.x-dev
Status: Needs review » Fixed

credited thx

Status: Fixed » Closed (fixed)

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