Closed (fixed)
Project:
DvG Webform Components
Version:
7.x-1.0-beta8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2017 at 08:46 UTC
Updated:
24 Oct 2017 at 15:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
paulvandenburg commentedThis patch restructures the logic so placeholder stuff is only done on elements that actually exist.
Additionally I've added an empty array to
element_info_property()which is returned if no element info was found for the element type, so the += operation doesn't fail.Comment #3
paulvandenburg commentedTokens without replacement aren't cleared apparently for the default values. Picking that one up in this issue to not open an issue for every little thing.
Extracted the logic for calculating the default_value since those lines were already too long.
Added the 'clear' option to token_replace which is the only actual change in logic added on top of the above patch.
Comment #4
ralphvdhoudt commentedBetter patch
Comment #5
ralphvdhoudt commentedCorrect path
Comment #6
ralphvdhoudt commentedActive for few months