[ 
https://issues.apache.org/jira/browse/USERGRID-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105862#comment-14105862
 ] 

ASF GitHub Bot commented on USERGRID-82:
----------------------------------------

Github user GERey commented on the pull request:

    https://github.com/apache/incubator-usergrid/pull/46#issuecomment-52973625
  
    Thanks, that fixed that problem. While running the tests I also noticed 
that UserResourceIT.nameUpdate was also failing. This is the error that I'm 
seeing
    
    com.sun.jersey.api.client.UniformInterfaceException: PUT 
http://localhost:10005/test-organization/test-app/users/usernameb2dd4590-296c-11e4-a107-41adc6397962?access_token=YWMtsrMBXilsEeS_ZX1IJiWvkQAAAUgeLUNUJz3s0d1RAscfIxGhp2HVVn5B4hs
 returned a response status of 400 Bad Request
        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:688)
        at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
        at 
com.sun.jersey.api.client.WebResource$Builder.put(WebResource.java:539)
        at 
org.apache.usergrid.rest.applications.users.UserResourceIT.nameUpdate(UserResourceIT.java:809)
    
    I'm pretty sure this is the last failure that needs to be fixed.


> Cannot change custom entity name
> --------------------------------
>
>                 Key: USERGRID-82
>                 URL: https://issues.apache.org/jira/browse/USERGRID-82
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Scott Ganyo
>            Assignee: Strong Liu
>             Fix For: 1.1
>
>
> If you have a custom entity and attempt to update the entity's name (via 
> PUT), the system will accept the request and return success (200), but the 
> name will remain unchanged.
> eg. using ugc:
> ugc create foo "name: 'bar'"
> ugc update foo/bar "name: 'baz'"
> (Note: Referencing the entity in the PUT via UUID has the same effect.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to