Clicking on deployed cartridges and clicking on Tenant Mgt also producing the same UI error.
On Sun, Aug 24, 2014 at 1:46 AM, Rajkumar Rajaratnam <[email protected]> wrote: > Hi, > > Let me give some updates on this UI issue. > > Policies are deployed successfully. Exception is thrown just after jaggery > console app is getting the response. To be more specific, exception is > thrown at the following line in jaggery console app (in > console/util/utility.jag) > response = post(endpoint,data,headers, 'json'); //calling rest api to > deploy policies > > What we are returning from rest end point is, > URI url = uriInfo.getAbsolutePathBuilder().path(partition.id).build(); > return Response.created(url).build(); > > If I return something like below, It just works fine without any error! > return Response.ok().entity(ServiceUtils.getAvailablePartitions()).build(); > > I hope that error is coming from jaggery when it is trying to decode the > response. > > Note: Listing policies is not throwing any UI error. It just works fine > even if there are no policies. > > Thanks. > > > On Sat, Aug 23, 2014 at 10:58 PM, Lahiru Sandaruwan <[email protected]> > wrote: > >> Hi all, >> >> I see an issue in CLI response, as it prints null when partition is >> successfully deployed. This is be due to the http response of 201 sent from >> rest endpoint. Cli does not handle this response code at the moment. >> >> Not sure if the error facing in GUI is same. Can anyone who is in context >> shed some light? >> >> Thanks. >> >> >> On Fri, Aug 22, 2014 at 2:08 PM, Udara Liyanage <[email protected]> wrote: >> >>> Hi, >>> >>> This error occurs not when deploying partition or policies. It occurs >>> when listing policies. >>> This error occurs in UI only I hope, CURL commands or CLI should work as >>> expected.. When there are no partitions or policies, response does not have >>> any output. UI expect an object of type. >>> >>> Rest API should send 404 when there are no resources and UI side should >>> handle it. >>> >>> >>> >>> >>> On Fri, Aug 22, 2014 at 2:03 PM, Lahiru Sandaruwan <[email protected]> >>> wrote: >>> >>>> >>>> >>>> >>>> On Fri, Aug 22, 2014 at 2:02 PM, Nirmal Fernando < >>>> [email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> Myself and Raj is looking into this at the moment and till we found >>>>> the fix, please continue with the CLI. This is only a UI issue and via CLI >>>>> things appeared to work. >>>>> >>>> >>>> Thanks Nirmal for the information. >>>> >>>>> >>>>> >>>>> On Fri, Aug 22, 2014 at 1:33 PM, Lahiru Sandaruwan <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> We need to fix this ASAP. This is blocking the development :( >>>>>> >>>>>> Thanks. >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Aug 16, 2014 at 6:35 PM, Asiri Liyana Arachchi < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Done. >>>>>>> >>>>>>> https://issues.apache.org/jira/browse/STRATOS-748 >>>>>>> >>>>>>> Regards, >>>>>>> Asiri >>>>>>> >>>>>>> >>>>>>> On Sat, Aug 16, 2014 at 5:58 PM, Udara Liyanage <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> Could you please file a jira so it will be fixed. >>>>>>>> >>>>>>>> >>>>>>>> Touched, not typed. Erroneous words are a feature, not a typo. >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> -- >>>>>> Lahiru Sandaruwan >>>>>> Committer and PMC member, Apache Stratos, >>>>>> Senior Software Engineer, >>>>>> WSO2 Inc., http://wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> email: [email protected] cell: (+94) 773 325 954 >>>>>> blog: http://lahiruwrites.blogspot.com/ >>>>>> twitter: http://twitter.com/lahirus >>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> Nirmal >>>>> >>>>> Nirmal Fernando. >>>>> PPMC Member & Committer of Apache Stratos, >>>>> >>>>> Senior Software Engineer, WSO2 Inc. >>>>> >>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> -- >>>> Lahiru Sandaruwan >>>> Committer and PMC member, Apache Stratos, >>>> Senior Software Engineer, >>>> WSO2 Inc., http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> email: [email protected] cell: (+94) 773 325 954 >>>> blog: http://lahiruwrites.blogspot.com/ >>>> twitter: http://twitter.com/lahirus >>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>> >>>> >>> >>> >>> -- >>> >>> Udara Liyanage >>> Software Engineer >>> WSO2, Inc.: http://wso2.com >>> lean. enterprise. middleware >>> >>> web: http://udaraliyanage.wordpress.com >>> phone: +94 71 443 6897 >>> >> >> >> >> -- >> -- >> Lahiru Sandaruwan >> Committer and PMC member, Apache Stratos, >> Senior Software Engineer, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> email: [email protected] cell: (+94) 773 325 954 >> blog: http://lahiruwrites.blogspot.com/ >> twitter: http://twitter.com/lahirus >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > Rajkumar Rajaratnam > Software Engineer | WSO2, Inc. > Mobile +94777568639 | +94783498120 > -- Rajkumar Rajaratnam Software Engineer | WSO2, Inc. Mobile +94777568639 | +94783498120
