New Posts New Posts RSS Feed: Error returning a single entity
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Error returning a single entity

 Post Reply Post Reply
Author
jtraband View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 19-Sep-2012
Posts: 55
Post Options Post Options   Quote jtraband Quote  Post ReplyReply Direct Link To This Post Topic: Error returning a single entity
    Posted: 25-Sep-2012 at 11:53am
Good catch!,  we will try to fix this within the next couple of versions
Back to Top
pierom View Drop Down
Newbie
Newbie


Joined: 19-Sep-2012
Location: Italia
Posts: 9
Post Options Post Options   Quote pierom Quote  Post ReplyReply Direct Link To This Post Posted: 25-Sep-2012 at 2:09am
If i return a single entity (.firstordefault) from a controller the function map fails:

                        "var entities = rawEntities.map(function(rawEntity) {"

not a big problem. I can return a iqueryable with a single entity inside.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down