You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Todd Nine (JIRA)" <ji...@apache.org> on 2014/04/15 17:05:15 UTC
[jira] [Commented] (USERGRID-82) Cannot change custom entity name
[ https://issues.apache.org/jira/browse/USERGRID-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969606#comment-13969606 ]
Todd Nine commented on USERGRID-82:
-----------------------------------
We either need to handle this 1 of 2 ways.
1) We throw an exception. Name is currently immutable because it is an entity's alias.
2) We allow changing the name, which could potentially break any existing URLs to this entity
> 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
>
> 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)