Hi Alessio,

The update handling logic is as follows:

publisher/controllers/ref_apis_router.jag -->
publisher/extensions/assets/default/apis/assets.jag -->
/modules/asset_api.js

The methods called in the asset_api.js can be found in
{CARBON_HOME}/modules/rxt/scripts/asset/asset.js

I wonder whether asset update has already been fully implemented (meaning
> that I'm doing something wrong) or this part has yet to be finalised
>
The update functionality has been implemented and should be working

Could you provide a bit of details on the use case that causes the error:

   - Are you encountering this with one of the stock asset types shipped
   with the ES?
   - If it is a new asset type could you please attach the rxt file and any
   extensions you have built for it (publisher/extensions/assets)
   - Did this issue occur  after the unbounded table changes?

In case it's unimplemented I'm more than willing to contribute :)
>
I believe this is a bug , but



Thank You,
Sameera

On Tue, Jan 20, 2015 at 12:18 PM, Alessio Carenini <
[email protected]> wrote:

> Hi all,
> while trying to implement unbound tables in ES 2.0.0-M4, I noticed that
> updating an asset containing images causes a File Upload exception
>
> [2015-01-20 18:03:23,860] ERROR 
> {org.jaggeryjs.hostobjects.web.RequestHostObject}
> -  Stream closed
> org.apache.commons.fileupload.FileUploadException: Stream closed
>    at    org.apache.commons.fileupload.FileUploadBase.parseRequest(
> FileUploadBase.java:385)
>
> In update-asset.js I see little code, so I wonder whether asset update has
> already been fully implemented (meaning that I'm doing something wrong) or
> this part has yet to be finalised. Is it a known bug? In case it's
> unimplemented I'm more than willing to contribute :)
>
> Thank you in advance
>
> Alessio
>
> -------------------------------------------------------------------
> Alessio Carenini
> CEFRIEL - ICT Institute Politecnico di Milano
> Via Fucini, 2 - 20133 Milano (Italy)
> e: [email protected] - skype: ale.carenini
> live messenger: [email protected] - w: www.cefriel.it
> p: +39 0223954352 - f: +39 0223954352
> ----------------------------------------------------------------
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: [email protected]
Mobile: + 94 077 255 3005
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to