Re: [Dev] Error in console when adding a WSDL

2015-08-27 Thread Prasanna Dangalla
Hi Manu,

Thanks for the fix[1]. Issue is now solved.

[1] -
https://github.com/wso2/carbon-store/commit/30d582177fcf47e62f894717e03df5a06a89f5e5

Thanks

On Wed, Aug 26, 2015 at 6:24 PM, Prasanna Dangalla prasa...@wso2.com
wrote:

 Hi Manu,

 We are getting an error when adding WSDL in publisher[1]. I went through
 the code and noticed that its happening from this method[2]. I have created
 the JIRA[3] and attached the fix[PR, 4] as well. Review and merge it. You
 might have to change in your side tag.length validations (if exists) to
 null validations, if you are checking whether tags are in the request
 through the tag.length. Else have to return a blank array from this method
 if tags are not their.[2]

 [1] - [2015-08-26 17:36:43,121] ERROR {rxt.asset} - Unable to add tags:
 [] to asset id: undefined as it was not located.
 [2] -
 https://github.com/wso2/carbon-store/blob/master/apps/publisher/modules/asset-api.js#L203
 [3] - https://wso2.org/jira/browse/REGISTRY-2847
 [4] - https://github.com/wso2/carbon-store/pull/173

 Thanks

 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77




-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error in console when adding a WSDL

2015-08-26 Thread Prasanna Dangalla
Hi Manu,

We are getting an error when adding WSDL in publisher[1]. I went through
the code and noticed that its happening from this method[2]. I have created
the JIRA[3] and attached the fix[PR, 4] as well. Review and merge it. You
might have to change in your side tag.length validations (if exists) to
null validations, if you are checking whether tags are in the request
through the tag.length. Else have to return a blank array from this method
if tags are not their.[2]

[1] - [2015-08-26 17:36:43,121] ERROR {rxt.asset} - Unable to add tags:
[] to asset id: undefined as it was not located.
[2] -
https://github.com/wso2/carbon-store/blob/master/apps/publisher/modules/asset-api.js#L203
[3] - https://wso2.org/jira/browse/REGISTRY-2847
[4] - https://github.com/wso2/carbon-store/pull/173

Thanks

Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev