Print Page | Close Window

Error returning a single entity

Printed From: IdeaBlade
Category: Breeze
Forum Name: Community Forum
Forum Discription: Build rich JavaScript apps using techniques you already know
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3659
Printed Date: 23-Apr-2024 at 7:55pm


Topic: Error returning a single entity
Posted By: pierom
Subject: Error returning a single entity
Date 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.




Replies:
Posted By: jtraband
Date Posted: 25-Sep-2012 at 11:53am
Good catch!,  we will try to fix this within the next couple of versions



Print Page | Close Window