[ 
https://issues.apache.org/jira/browse/USERGRID-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rod Simpson updated USERGRID-29:
--------------------------------
    Description: 
"I have made a simple app to test Usergrid's capabilities and I'm having 
trouble with updating entities that contain html entities. 

i.e. I add C++ as an entity in a collection called language and I also have C 
in the collection too. Whenever I try to update C++, which I grab via a 
collection query 

""select * where owned='testuser' and lang='C++'"" 

I get back the C entity. 

I have tried encoding the strings , but C%2B%2B 
gets double encoded to C%252B%252B 

This a typical call it makes without me trying to encode anything: 

https://api.usergrid.com/clydebyrdiii... 

Although it seems to encode correctly it returns the entity with lang='C' and 
not 
lang='C++'; 


And confirmed by Scott: 

Nope. If I create an entity with an attribute = 'c++', I can find it by 
querying for: 'c*' but not for 'c' or 'c+++'. 

"

  was:
"I have made a simple app to test Apigee's capabilities and I'm having trouble 
with updating entities that contain html entities. 

i.e. I add C++ as an entity in a collection called language and I also have C 
in the collection too. Whenever I try to update C++, which I grab via a 
collection query 

""select * where owned='testuser' and lang='C++'"" 

I get back the C entity. 

I have tried encoding the strings , but C%2B%2B 
gets double encoded to C%252B%252B 

This a typical call it makes without me trying to encode anything: 

https://api.usergrid.com/clydebyrdiii... 

Although it seems to encode correctly it returns the entity with lang='C' and 
not 
lang='C++'; 


And confirmed by Scott: 

Nope. If I create an entity with an attribute = 'c++', I can find it by 
querying for: 'c*' but not for 'c' or 'c+++'. 

"


> We don't seem to be parsing '++' correctly
> ------------------------------------------
>
>                 Key: USERGRID-29
>                 URL: https://issues.apache.org/jira/browse/USERGRID-29
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Rod Simpson
>             Fix For: 1.1
>
>
> "I have made a simple app to test Usergrid's capabilities and I'm having 
> trouble with updating entities that contain html entities. 
> i.e. I add C++ as an entity in a collection called language and I also have C 
> in the collection too. Whenever I try to update C++, which I grab via a 
> collection query 
> ""select * where owned='testuser' and lang='C++'"" 
> I get back the C entity. 
> I have tried encoding the strings , but C%2B%2B 
> gets double encoded to C%252B%252B 
> This a typical call it makes without me trying to encode anything: 
> https://api.usergrid.com/clydebyrdiii... 
> Although it seems to encode correctly it returns the entity with lang='C' and 
> not 
> lang='C++'; 
> And confirmed by Scott: 
> Nope. If I create an entity with an attribute = 'c++', I can find it by 
> querying for: 'c*' but not for 'c' or 'c+++'. 
> "



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to