usergrid/stack — Issue #2: Unable to get entity by name when entity's name is an UUID
Author: jolivares
Created: 2011-11-29 13:01:40+00:00
State: open

REQUEST:
1 > POST http://localhost:8001/test-app/devices?access_token=jZkV_hqIEeGOfwAjFFlxyA%3AYWQ6AAABM-9fUvh8xzBZTaIOGVrISvhcilSZp_YYRQ
1 > accept: */*
1 > content-length: 94
1 > content-type: application/json
1 > host: localhost:8001
1 > connection: Keep-Alive
1 > accept-encoding: gzip,deflate
1 >
{"name":"7bccd553-ccdb-4562-92f5-72568f8fb126","vendor":"HTC","model":"Desire","os":"Android"}

RESPONSE:
2 > GET http://localhost:8001/test-app/devices/7bccd553-ccdb-4562-92f5-72568f8fb126?access_token=jZkV_hqIEeGOfwAjFFlxyA%3AYWQ6AAABM-9fUvh8xzBZTaIOGVrISvhcilSZp_YYRQ

Resulted on:
2011-11-29 13:49:23,889 INFO (Grizzly(2)) [org.usergrid.services.ServiceManager] - Returning service instance: class org.usergrid.services.generic.RootCollectionService
2011-11-29 13:49:23,892 ERROR (Grizzly(2)) [org.usergrid.persistence.Schema] - No type for entity found!
java.lang.Throwable
at org.usergrid.persistence.Schema.deserializeEntityProperties(Schema.java:1810)