[jira] [Commented] (ISIS-479) Properties not getting updated as per 14.2 in RO Spec
[ https://issues.apache.org/jira/browse/ISIS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727507#comment-13727507 ] Dan Haywood commented on ISIS-479: -- from Bhargav: Thanks for all the help Dan. Individual properties updating is working. But with the PUT to update properties of object, it is asking for a mandatory parameter called Owned By. But I don't see anything like that in ToDo. Tried giving Due By also. But same error. Any help? ~~~ Dan's response: yes, this is an issue; the bulk update logic doesn't account for hidden or disabled (yet still possibly mandatory) properties. Will fix. Properties not getting updated as per 14.2 in RO Spec - Key: ISIS-479 URL: https://issues.apache.org/jira/browse/ISIS-479 Project: Isis Issue Type: Bug Components: Viewer: RestfulObjects Affects Versions: viewer-restfulobjects-2.0.0 Reporter: Bhargav Golla Assignee: Dan Haywood As per 14.2 in RO Spec, making a PUT request to /objects/{domainType}/{instanceId}, should update the properties values. I tried several different formats for the body [1], [2], [3], but got the same error in each case [4]. [1] this - which is valid according to the spec, I think - didn't work: { cost : { value : 2.75 }, description : { value : An updated description }, category : { value : Professional } } [2] nor did this: { members: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } } [3] nor did this: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } [4]Status Code: 400 Server: Jetty(6.1.26) Content-Length: 0 Warning: 199 RestfulObjects Could not find properties list (no members[memberType=property]); got {cost:{memberType:property,value:2.75},description:{memberType:property,value:An updated description},category:{memberType:property,value:Professional}} Content-Type: application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-479) Properties not getting updated as per 14.2 in RO Spec
[ https://issues.apache.org/jira/browse/ISIS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727524#comment-13727524 ] ASF subversion and git services commented on ISIS-479: -- Commit 0c8a5a0169b8f5f178e13fb62739361e051f16a6 in branch refs/heads/master from [~danhaywood] [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=0c8a5a0 ] ISIS-479: fix for bulk update logic in the RO viewer. ... taking into account invisible, disabled and optional properties. Properties not getting updated as per 14.2 in RO Spec - Key: ISIS-479 URL: https://issues.apache.org/jira/browse/ISIS-479 Project: Isis Issue Type: Bug Components: Viewer: RestfulObjects Affects Versions: viewer-restfulobjects-2.0.0 Reporter: Bhargav Golla Assignee: Dan Haywood As per 14.2 in RO Spec, making a PUT request to /objects/{domainType}/{instanceId}, should update the properties values. I tried several different formats for the body [1], [2], [3], but got the same error in each case [4]. [1] this - which is valid according to the spec, I think - didn't work: { cost : { value : 2.75 }, description : { value : An updated description }, category : { value : Professional } } [2] nor did this: { members: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } } [3] nor did this: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } [4]Status Code: 400 Server: Jetty(6.1.26) Content-Length: 0 Warning: 199 RestfulObjects Could not find properties list (no members[memberType=property]); got {cost:{memberType:property,value:2.75},description:{memberType:property,value:An updated description},category:{memberType:property,value:Professional}} Content-Type: application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-479) Properties not getting updated as per 14.2 in RO Spec
[ https://issues.apache.org/jira/browse/ISIS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13725829#comment-13725829 ] ASF subversion and git services commented on ISIS-479: -- Commit 4fad9501bfa34e05a9c1961b42b73f9bb61326a3 in branch refs/heads/master from [~danhaywood] [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=4fad950 ] ISIS-479: update properties individually Properties not getting updated as per 14.2 in RO Spec - Key: ISIS-479 URL: https://issues.apache.org/jira/browse/ISIS-479 Project: Isis Issue Type: Bug Components: Viewer: RestfulObjects Affects Versions: viewer-restfulobjects-2.0.0 Reporter: Bhargav Golla Assignee: Dan Haywood As per 14.2 in RO Spec, making a PUT request to /objects/{domainType}/{instanceId}, should update the properties values. I tried several different formats for the body [1], [2], [3], but got the same error in each case [4]. [1] this - which is valid according to the spec, I think - didn't work: { cost : { value : 2.75 }, description : { value : An updated description }, category : { value : Professional } } [2] nor did this: { members: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } } [3] nor did this: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } [4]Status Code: 400 Server: Jetty(6.1.26) Content-Length: 0 Warning: 199 RestfulObjects Could not find properties list (no members[memberType=property]); got {cost:{memberType:property,value:2.75},description:{memberType:property,value:An updated description},category:{memberType:property,value:Professional}} Content-Type: application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-479) Properties not getting updated as per 14.2 in RO Spec
[ https://issues.apache.org/jira/browse/ISIS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13722334#comment-13722334 ] ASF subversion and git services commented on ISIS-479: -- Commit eef0cb94a596344f8c16f2a7091794e0e218baf2 in branch refs/heads/master from [~danhaywood] [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=eef0cb9 ] ISIS-479: update properties in bulk Properties not getting updated as per 14.2 in RO Spec - Key: ISIS-479 URL: https://issues.apache.org/jira/browse/ISIS-479 Project: Isis Issue Type: Bug Components: Viewer: RestfulObjects Affects Versions: viewer-restfulobjects-2.0.0 Reporter: Bhargav Golla Assignee: Dan Haywood As per 14.2 in RO Spec, making a PUT request to /objects/{domainType}/{instanceId}, should update the properties values. I tried several different formats for the body [1], [2], [3], but got the same error in each case [4]. [1] this - which is valid according to the spec, I think - didn't work: { cost : { value : 2.75 }, description : { value : An updated description }, category : { value : Professional } } [2] nor did this: { members: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } } [3] nor did this: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } [4]Status Code: 400 Server: Jetty(6.1.26) Content-Length: 0 Warning: 199 RestfulObjects Could not find properties list (no members[memberType=property]); got {cost:{memberType:property,value:2.75},description:{memberType:property,value:An updated description},category:{memberType:property,value:Professional}} Content-Type: application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-479) Properties not getting updated as per 14.2 in RO Spec
[ https://issues.apache.org/jira/browse/ISIS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13720630#comment-13720630 ] Dan Haywood commented on ISIS-479: -- Thanks for raising this, Bhargav. Not gonna have the time to look at today, but will try to fix in the next day or two. In the meantime, you can if you wish use the RO.Net impl as a workaround. Properties not getting updated as per 14.2 in RO Spec - Key: ISIS-479 URL: https://issues.apache.org/jira/browse/ISIS-479 Project: Isis Issue Type: Bug Components: Viewer: RestfulObjects Affects Versions: viewer-restfulobjects-2.0.0 Reporter: Bhargav Golla Assignee: Dan Haywood As per 14.2 in RO Spec, making a PUT request to /objects/{domainType}/{instanceId}, should update the properties values. I tried several different formats for the body [1], [2], [3], but got the same error in each case [4]. [1] this - which is valid according to the spec, I think - didn't work: { cost : { value : 2.75 }, description : { value : An updated description }, category : { value : Professional } } [2] nor did this: { members: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } } [3] nor did this: { cost : { memberType: property, value : 2.75 }, description : { memberType: property, value : An updated description }, category : { memberType: property, value : Professional } } [4]Status Code: 400 Server: Jetty(6.1.26) Content-Length: 0 Warning: 199 RestfulObjects Could not find properties list (no members[memberType=property]); got {cost:{memberType:property,value:2.75},description:{memberType:property,value:An updated description},category:{memberType:property,value:Professional}} Content-Type: application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira