Closed (duplicate)
Project:
Google Tag
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2020 at 05:25 UTC
Updated:
9 Aug 2023 at 20:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rakshith.thotada commentedComment #3
rakshith.thotada commentedComment #4
solotandem commentedThere is a reason the code your patch un-comments was commented (as the text comment indicates).
Even if this issue pointed out a legitimate bug, your patch includes:
and would be rejected for such.
See also #3113799: Container insertion condition 'negate' value not converted to boolean when saving in form which is likely the real issue.
If you disagree, then you will need to provide more details (see bug reporting guidelines).
Comment #5
solotandem commentedChange status for lack of follow-up.
Comment #6
shabana.navas commentedI'm seeing this now on the latest 2.0 version. I'm continuously getting the `MissingValueContextException` exception for the Group and Webform modules even when not setting the condition at all for these modules. I had to downgrade to the 8.x version in order for this module to work.
Comment #7
smitghelani commentedCreated patch for added condition to avoid missing value exception for web-form submission.
Comment #8
nginex commentedThis is something that can be reproduced.
Just save a google tag container entity and see there there are bunch of conditions saved to the config entity, but ideally it should save only configured conditions. Default (untouched) conditions should not be stored in the config. The issue is happening when calling $entity->getInsertionConditions() and there are checks for default (untouched) conditions.
There reason is quite clear (negate is saved in wrong format), the way how conditions are saved is not ok. I know how to fix it.
Comment #9
nginex commentedThis seems is already fixed in #3357105: Condition plugins not evaluated properly when using Some Modules