Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Kasun Thennakoon
Hi Chandana, Thanks for the info, We will update the versions accordingly. Thanks ~KasunTe On Thu, Feb 16, 2017 at 6:11 PM, Chandana Napagoda wrote: > HI Kasun/Roshan, > > This issue occurred since UUF M12 has not included some required fixes. So > please use UUF M13 and

Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Chandana Napagoda
HI Kasun/Roshan, This issue occurred since UUF M12 has not included some required fixes. So please use UUF M13 and uuf-common M5 version and fix which you have suggested is not required anymore. Regards, Chandana On Thu, Feb 16, 2017 at 4:05 PM, SajithAR Ariyarathna wrote:

Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread SajithAR Ariyarathna
Hi Roshan, Thanks for the PR. I have put some comments, please have a look. Thanks. On Thu, Feb 16, 2017 at 3:01 PM, Roshan Wijesena wrote: > It seems Kasun is right, > > the object "data" is by-default coming as html/text. so we don't need use > it as 'data.html' . > > Since

Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Roshan Wijesena
It seems Kasun is right, the object "data" is by-default coming as html/text. so we don't need use it as 'data.html' . Since this is a blocker for APIM C5 - M1 release for now I have sent a pull request with a fix. Please review and merge. https://github.com/wso2/carbon-uuf-common/pull/41/files

[Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-13 Thread Kasun Thennakoon
Hi all, Experience the $subject when using UUF-Client for rendering hbs fragments. As I understand, the response of *http://localhost:9090/publisher/fragments/{fragment-name} *contains an HTML string and in this line[1] it is looking for