From 31f564a167a57a4878b0c4027aa6649b8727fb43 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 11 Jun 2009 09:26:08 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20exception=20if=20content=20table=20?= =?UTF-8?q?view=20wants=20to=20load=20data=20from=20a=20table=20but=20the?= =?UTF-8?q?=20table=20data=20are=20not=20accessible=20(e.g.=20for=20inform?= =?UTF-8?q?ation=5Fschema)=20-=20this=20fix=20sets=20the=20content=20table?= =?UTF-8?q?=20view=20into=20a=20defined=20state=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TableContent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/TableContent.m b/Source/TableContent.m index da8a9745..a6c297b2 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -112,7 +112,7 @@ // If no table has been supplied, reset the view to a blank table and disabled elements. // [tableDataInstance tableEncoding] == nil indicates that an error occured while retrieving table data - if ( [aTable isEqualToString:@""] || !aTable || [tableDataInstance tableEncoding] == nil) + if ( [[[tableDataInstance statusValues] objectForKey:@"Rows"] isKindOfClass:[NSNull class]] || [aTable isEqualToString:@""] || !aTable || [tableDataInstance tableEncoding] == nil) { // Empty the stored data arrays [fullResult removeAllObjects]; -- cgit v1.2.3