I have identified a new type of artifact and successfully create new instances of it in a publisher that works well. I recently experimented with my own create_form.hbs in the publisher / extensions / assets // themes / default / partials / section, and then decided not to continue. After deleting the newly created "/themes/default/partials/create_form.hbs" I found that when I try to publish a new instance of the artifact, I get the following error:
[2016-11-11 11:17: 06,833] ERROR - Failed to call action: Create id for asset: "9a3a4e55-a5a3-4c94-a2d0-152a10e4ab45". The following exception has been thrown: JavaException: org.wso2.carbon.registry.core.exceptions.RegistryException: the Preprequest action must be completed before Create {rxt.asset} [2016-11-11 11:17: 06,833] ERROR - org.wso2. carbon.registry.core.exceptions.RegistryException: Preprequest action must be completed before {asset_api_endpoints} is created
org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.registry.core.exceptions.RegistryException: Preprequest action must be completed before creation (code eval # 1 (eval) # 87) on org.mozilla.javascript.Context. throwAsScriptRuntimeEx (Context.java:1754) in org.mozilla.javascript.MemberBox.invoke (MemberBox.java:148) in org.mozilla.javascript.NativeJavaMethod.call (NativeJavaMethod.java:22
Despite this and the fact that I received an error message on the publication page saying that the asset could not be created, a new instance is actually being created (I can see it when I go to the asset list page) . I can also edit without problems.
, ( ) create_form.hbs, .
?
, , , .
.