Open Euquimides opened 3 weeks ago
Some customers use custom macros. @rart, please think of a design that supports custom macros or does not prevent them from working.
Hi @jvega190 ! While reviewing the fix for this ticket, I noticed that in the case of {objectGroupId}
, {objectGroupId2}
, {parentPath[index]}
the validation is not working as with {objectId}
and {parentPath}
, since it still saves the macros in the Content Type form. Can you please check this out? Thank you!
@Euquimides please note that for {parentPath[index]}
macro, index is an actual number.
e.g: parentPath[2]
.
For objectGroupId/objectGroupId2
, I'll send an update to validate those too
Duplicates
Latest version
Describe the issue
When creating Content Types, we are not validating if the macros being added (such as {year}, {month}, {objectId}) exists or not. We should validate that the macros being added is indeed supported, before saving and closing the edition or creation of the Content-Type.
For example
objectId
andparentPath
are macros that according to the documentation are supported, but are not working right now.Steps to reproduce
Steps:
Editorial
{objectId}
macros.-objectid-
is created, instead of the ID of the item.Relevant log output
No response
Screenshots and/or videos