AnsweredAssumed Answered

How to Show error message in Share from a repository policy

Question asked by amin.zamani on Apr 22, 2013
Latest reply on May 11, 2015 by mrogers
Hi everybody,

I have written a policy within the repository (alfresco webapp). This policy is executed when in share a site is created. The policy validates some input data and if some fields are not ok an "AlfrescoRuntimeExcepion" is thrown with a (localized) error message. But the error message which the policy throws is never visible in Share UI. Share a Does someone know how to show this error message? Maybe a special exception type must be thrown?

Share shows always a standard error message which has nothing to do with my error message that I have thrown (I use alfresco enterprise)

Thanks for helping us!

Best regards