Closed (fixed)
Project:
External Hreflang
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2020 at 08:40 UTC
Updated:
11 Apr 2020 at 04:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sergiuteaca commentedThe
$form_state->getValueexpects to be a string if the value is directly found in values, but if it's nested, it expects a multi-dimensional associative array. So the best way to do this is to use$element['#parents']instead of$element['#name']. This will work in both node level and metatag admin level.Comment #4
sergiuteaca commentedStrange, the status of the Build is Successful.
Putting it to Needs Review again.
Comment #6
nikunjkotechaThanks Sergiu for reporting the issue and also providing the fix. You are right it was developed and tested for admin page only and it's a miss.
I confirm the fix works for both the cases and I've merged it.