Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional iPhone and iPad Application Development
This is the forum to discuss the Wrox book Professional iPhone and iPad Application Development by Gene Backlin; ISBN: 978-0-470-87819-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 22nd, 2011, 08:55 PM
Registered User
Points: 34, Level: 1
Points: 34, Level: 1 Points: 34, Level: 1 Points: 34, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7: errors on saving

Suggestions on how to resolve this entity save error:

2011-06-22 16:43:31.679 Tasks[11596:207] Unresolved error: Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)" UserInfo=0x4d6aca0 {NSValidationErrorObject=<NSManagedObject: 0x4d4b810> (entity: Task; id: 0x4d4b7d0 <x-coredata:///Task/t9568D043-D7BF-455B-AB6B-CADB432CCA1C2> ; data: {
dueDate = nil;
highPriTasks = "<relationship fault: 0x4d4bfa0 'highPriTasks'>";
isOverdue = nil;
location = nil;
priority = 0;
text = "New Task";
}), NSValidationErrorKey=isOverdue, NSLocalizedDescription=The operation couldn’t be completed. (Cocoa error 1570.)}, {
NSLocalizedDescription = "The operation couldn\U2019t be completed. (Cocoa error 1570.)";
NSValidationErrorKey = isOverdue;
NSValidationErrorObject = "<NSManagedObject: 0x4d4b810> (entity: Task; id: 0x4d4b7d0 <x-coredata:///Task/t9568D043-D7BF-455B-AB6B-CADB432CCA1C2> ; data: {\n dueDate = nil;\n highPriTasks = \"<relationship fault: 0x4d4bfa0 'highPriTasks'>\";\n isOverdue = nil;\n location = nil;\n priority = 0;\n text = \"New Task\";\n})";
}
Reply With Quote
  #2 (permalink)  
Old June 23rd, 2011, 09:06 AM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

Check to see if the discussion here might point you towards a solution.
http://stackoverflow.com/questions/1...r-while-saving

If not you can send your project to
ipadhelper@me.com

and I will take see if I can track down your problem.

Also, this post is in the wrong forum, it should be in
http://p2p.wrox.com/book-professiona...ogramming-603/

Bob
Reply With Quote
  #3 (permalink)  
Old June 23rd, 2011, 02:52 PM
Registered User
Points: 34, Level: 1
Points: 34, Level: 1 Points: 34, Level: 1 Points: 34, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default issue solved

used new error code that said isOverdue did not validate. It is a Transient property. I had unchecked 'Optional' so re-checked and it works fine now.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 8: Saving/Resuming Ace BOOK: Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio 4 0 June 22nd, 2011 07:35 PM
Chapter 7 errors janilane BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 May 5th, 2009 04:49 AM
More Errors in chapter 7..... rollercoaster BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 October 3rd, 2006 04:49 PM
Chapter 4 Errors? DRAYKKO BOOK: Beginning Java 2 3 June 1st, 2004 08:47 AM



All times are GMT -4. The time now is 02:03 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.