Problem/Motivation
When adding tokens to the field which contain non-required fields, the tokens stays in the .ics file.
Steps to reproduce
Configure an .ics field and add non required field tokens.
Proposed resolution
Clear tokens which were not replaced
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | non_required_field_tokens_dont_get_replaced.patch | 629 bytes | jorgespiessens |
Comments
Comment #2
jorgespiessens commentedAdded a 'clear' parameter for non replaced tokens.
Comment #3
zekvyrin commentedThank you @jorgespiessens for the report & the code.
I understand what you mean. I'll try to test it and think/test possible a usecase when this solution could not be a problem.
Basically I want to see what happens if I add a string containing with an "invalid" token like "[something]" in their description.
Comment #5
zekvyrin commentedI've tested & commited your patch @jorgespiessens. Thank you!
"Invalid" tokens are not cleared (so you can use [] as normal if you want)
Comment #6
zekvyrin commented