Steps to reproduce error

  1. Update Drupal core to 7.50
  2. Run update.php
  3. The following two error messages are return

User warning: The following module is missing from the file system: working_times. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of [***]/includes/bootstrap.inc).

User warning: The following module is missing from the file system: reference_dialog. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of [***]/includes/bootstrap.inc).

We tried all the options suggested at https://www.drupal.org/node/2487215
But none worked. Including:

Could those two error messages be created by a bug in ERPAL module?

Any volunteers to investigate? We would be happy to test patches.

Using ERPAL 7.x-2.x-dev from 2016-Sep-21

CommentFileSizeAuthor
#4 2805779-4.patch1.19 KBchipway
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Francewhoa created an issue. See original summary.

Francewhoa’s picture

We did some digging on this. It seems to be a bug in ERPAL. Maybe an old ERPAL module was move or remove? But the database was not updated accordingly?

The following ERPAL files are related to the missing reference_dialog module

  • erpal-7.x-2.x-dev/profiles/erpal/modules/contrib/references_dialog/references_dialog.dialog_widgets.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/contrib/references_dialog/references_dialog.module

The following ERPAL files are related to the missing working_times module

  • erpal-7.x-2.x-dev/profiles/erpal/db/erpal.mysql
  • erpal-7.x-2.x-dev/profiles/erpal/db/erpal_demo.mysql
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_core/erpal_basic/erpal_basic_helper/erpal_basic_helper.install
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee.cat.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_ui/erpal_employee_ui.quicktabs.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_ui/erpal_employee_ui.info
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_ui/erpal_employee_ui.views_default.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_ui/erpal_employee_ui.pages_default.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/erpal_employee_helper.info
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/views/erpal_employee_helper.views.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/views/working_times_handler_delete_link_field.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/views/working_times_handler_link_field.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/views/working_times_handler_edit_link_field.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/erpal_employee_helper.install
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/inc/working_times.entity.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/inc/working_times.calc.inc
  • erpal-7.x-2.x-dev/profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/erpal_employee_helper.module
  • erpal-7.x-2.x-dev/profiles/erpal/libraries/dhtmlxgantt/codebase/dhtmlxgantt.js
  • erpal-7.x-2.x-dev/profiles/erpal/libraries/dhtmlxgantt/codebase/sources/dhtmlxgantt.js.map
  • erpal-7.x-2.x-dev/profiles/erpal/libraries/dhtmlxgantt/codebase/sources/dhtmlxgantt.js
  • erpal-7.x-2.x-dev/profiles/erpal/erpal_callbacks.inc
chipway’s picture

Hi François,

To remove the 2 "following module is missing" error messages:

1) Issue for "reference_dialog" is in profiles/erpal/modules/contrib/references_dialog/references_dialog.module 7.x-1.0-beta1
line 546: 'path' => drupal_get_path('module', 'reference_dialog') . '/views',
fixed in 7.x-1.0-beta2

=> drush up references_dialog

2) For working_times,
profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/inc/working_times.entity.inc
line 227: module_load_include('inc', 'working_times', 'working_times.configurable');
where 'working_times' is not a module

module_load_include('inc', 'my_module', 'includes/my_module.include1');

I didn't found any "working_times.inc" or "configurable.inc", so I commented line 227 until new advice.

chipway’s picture

Status: Active » Needs review
FileSize
1.19 KB

Here is a patch that does the 2 quick fixes explained in #3.

1) updated version required for "references_dialog" module.

2) commented line 227 of working_times.entity.inc.

Francewhoa’s picture

Merci chipway :)

We'll test that patch and post result here

Francewhoa’s picture

Status: Needs review » Reviewed & tested by the community
Related issues: +#1923330: Fatal Error when creating Timekeeping Offset

About the patch in this comment #4 above. The Ubertus team is confirming that it worked with both Drupal core 7.50 and 7.58. Commenting out the line 227 "working_times.entity.inc" file resolved the challenge with the error about "working_times".

Merci encore chipway :) / Thank you again chipway :)