Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2014 at 12:39 UTC
Updated:
29 Jan 2014 at 12:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fabsor commentedActually, this could break things back to 7009, since remove_dupes() can call entity_load as well.
Comment #2
fabsor commentedHere is a patch that runs 7015 earlier, by invoking it programmatically that solved the problem for me. Not a very clean solution but all other solutions would involve avoiding entity api, which can be problematic for some entity types.
Comment #3
damienmckennaOh crikey! Thanks for catching this bug! Yeah, need to fix this before beta8. I've bumped it to major as it has the potential to screw up sites.
The patch could use a little tweaking, mainly that the metatag_skip_update_7015 logic could be moved into metatag_update_7015 itself.
Comment #4
damienmckennaComment #5
damienmckennaHow about this?
Comment #6
hyperglide commentedHow best to test this patch? These updates are post beta 7?
Comment #7
damienmckennaEvery patch will require the current -dev codebase.
Comment #8
hyperglide commentedPatch #5 could not be applied to the Jan 14 Dev.
output of patch.rej
Comment #9
damienmckennaYou might need to try downloading the code from git, it's working for me :-\
Comment #10
hyperglide commentedNope. I just cloned the git:
git clone --branch 7.x-1.x http://git.drupal.org/project/metatag.gitSame issue.
Hunk #1 FAILED at 221.
Hunk #2 FAILED at 459.
Hunk #3 FAILED at 475.
Hunk #4 FAILED at 489.
Hunk #5 FAILED at 598.
Hunk #6 FAILED at 628.
Hunk #7 FAILED at 919.
Hunk #8 FAILED at 1193.
Comment #11
damienmckennaI just did the same thing again, it worked fine. Do you have anything set up in your git global config to auto-change line endings? Are you able to apply other patches?
Comment #12
damienmckennaCommitted! Thanks fabsor!
Comment #13
hyperglide commentedNo. Yes. Same environment as other testing. See you committed it so :-)