Hi All,
This is regarding the JIRA issue [1]. When user try to create a new
artifact with same name and title, an exception is printed in logs with
whole stack trace. as follows
ERROR - GovernanceArtifactManager Failed to add artifact: artifact id:
33b672f3-5d65-4678-b1d1-c7fc5680d974. Governance artifact Title
already exists at /mobileapps/creator2/android/Title/1.0
org.wso2.carbon.governance.api.exception.GovernanceException:
Governance artifact Title already exists at
/mobileapps/creator2/android/Title/1.0
at
org.wso2.carbon.governance.api.common.GovernanceArtifactManager.addGovernanceArtifact(GovernanceArtifactManager.java:189)
at
org.wso2.carbon.governance.api.generic.GenericArtifactManager.addGenericArtifact(GenericArtifactManager.java:170)
at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
IMO this is not necessary since it is a user error. What's your idea on
this?
[1] - https://wso2.org/jira/browse/APPM-572
--
Regards,
Chatura Dilan Perera
*(Senior Software Engineer** - WSO2 Inc.**)*
www.dilan.me
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev