Closed (fixed)
Project:
Pathauto Persistent State
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2015 at 08:23 UTC
Updated:
9 Oct 2015 at 20:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amoebanath commentedPorted patch pathauto-persists-936222-281_0 from the linked issue for the
pathauto_entity_loadandpathauto_entity_state_load_multiplefunctions.Comment #2
amoebanath commentedComment #4
amoebanath commentedCorrected function names & tweaked Drupal static usage.
Comment #6
amoebanath commentedI missed the drupal_static_reset out!
Comment #7
sebastien m. commentedNo news ?
Comment #8
dave reidShouldn't this just be SELECT DISTINCT entity_type instead of using a GROUP BY?
This is handled by https://www.drupal.org/node/2107365 and not related to performance.
table does not exist, so a default value was provided. Please make sure to run
update.php');+ drupal_set_message($message, 'warning');
+ watchdog('pathauto', $message, array(), WATCHDOG_WARNING);
+ }
+ $result = array();
+ foreach ($entity_ids as $id) {
+ $result[$id] = FALSE;
+ }
+
+ return $result;
+ }
This is not relevant for pathauto_persist.
Comment #9
dave reidThis should be left out too.
Comment #10
dave reidUpdated with all the un-relevant sections removed.
Comment #11
dave reidTry that again, I had staged everything but didn't use git diff --cached.
Comment #13
dave reidTurns out drupal_static_reset() doesn't like using a query result as the default parameter. Need to set separately.
Comment #14
dave reidCommitted #14 to 7.x-1.x.