Currently, the date type change tool in date_tools does not work in D7, but was not removed (just prevented from executing yet to be ported code). This was fine until Drupal 7.50 introduced a fix for #2581445: Performance improvements for drupal_get_filename(), which will now trigger a PHP warning when it can't find a file (unless the new $trigger_error parameter is set to FALSE)

Comments

amanaplan created an issue. See original summary.

amanaplan’s picture

Patched date_tools module with ported date type change tool functionality.

amanaplan’s picture

Issue summary: View changes
amanaplan’s picture

Issue summary: View changes
chris matthews’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll, +Needs rework

The patch in #2 to date_tools.change_type.inc does not apply to the latest 7.x-2.x-dev and will need to be rerolled.

Checking patch date_tools/date_tools.change_type.inc...
error: while searching for:
 */
function date_tools_change_type_form() {
  $form = array();
  // This is broken, still needs to be adjusted for the D6->D7 changes.
  drupal_set_message(t('This operation does not yet work for the Drupal 7 version.'), 'error');
  return $form;
  $fields = content_fields();
  $date_options = array();
  $type_options = array();

error: patch failed: date_tools/date_tools.change_type.inc:13
error: date_tools/date_tools.change_type.inc: patch does not apply