A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi,
We are trying to stop users from creating pages in other language than our master language by cancelling the CreatingContent Event and showing an error message:
This code will show the cancel message in the red error message field but doing this will also show this message further on when trying to translate pages in the same container which we of course do not want.
Changing to another container or doing a full refresh of the site will stop this message from showing any more.
Seems this may be a bug or do we need to add some more code to make it work?
Regards
Sammy