We have created editable template for experience fragment and also, we created template type and page component for it.
Now, when we check in production and stage the xf template type is missing or deleted.
But experience fragment is editable in Prod and not on Stage. Also sometimes it is not editable in Prod also.
So do we know that if template type is deleted and the template would still be editable ?
I did not understood your reply. I tried reproducing in my local, the page was still editable and no error was thrown at template when template type is deleted.
Sometime back, i had similar issues, where i was not able to edit experience fragments and I had to update core components version to 2.8.0 and it resolved (AEM6.5.9). May be you can try upgrading core components incase if you're using older version of core components and see if that resolves issue.
Note: Please test this on your local before trying something on Stage/prod
hi @SagarVerliani ,
the xf template type is missing or deleted - if this happens intermittently and working fine in local check the merge mode for those template policies under /conf folder. Based on the mode set for the package, the content will get overwritten/ merged/ deleted. which might causing this issue. Check the pom.xml related to that folder.