Closed (fixed)
Project:
Metatag
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2015 at 18:27 UTC
Updated:
20 Oct 2015 at 19:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
damienmckennaI've confirmed this isn't working as intended, there must have been an API change at some point.
Comment #3
damienmckennaYes, an API change caused this: https://www.drupal.org/node/2546598
Comment #4
damienmckennaComment #5
damienmckennaComment #6
michelleI made the API change but that didn't completely fix the problem. The original code (stepping back to before the accidentally committed debug code) simply checked to see if $tags was empty, which it isn't unless it's totally not there. If the values are just not set on the node itself, it doesn't fall back to the field values. I changed it so it gets the defaults and then overwrites those with the node's values so that it will always fall back to the field defaults if there are no settings on the node.
Comment #12
michelleI haven't the foggiest idea what to do about these test errors. Does that mean something is wrong with my code or with the testbot?
Comment #14
damienmckennaCommitted.
Comment #15
damienmckennaFYI I also opened this issue: #2581351: API flaw - modified defaults don't affect existing records