[Feature] block cloudpages / asset-asset-webpage from getting created #2067
Labels
c/asset
COMPONENT
e/DevOps
EPIC
enhancement
New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story"
PRIORITY
used for professional service clients
Milestone
Is there an existing issue for this?
Current Behavior
technically you can deploy the source code of a cloudpage but that only makes sense it is pre-existing. otherwise, you create a new asset that is not connected to an actual cloudpage and has no other purpose.
this could happen when trying to change the key (the wrong way) or simply by deploying changes upwords to the next environment based on createDeltaPkg
Expected Behavior
when attempting to CREATE an asset of subtype asset-asset, check if its property assetType.name === 'webpage' and then throw an ERROR and consequently skip the component.
Steps To Reproduce
Version
7.6.3
Environment
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: