[OGo-GNUstep-Port] exception when entering a project

Sebastian Reitenbach gnustep-port@opengroupware.org
Thu, 29 Nov 2007 22:40:46 +0100


------=_=-_OpenGroupware_org_NGMime-15090-1196372446.185089-0------
content-type: text/plain; charset="us-ascii"
content-transfer-encoding: 7bit
content-length: 995

Hi,

while on the train, I found another, similar problem, when there exists a
project, and you search for it, and the search matches the project, then there
was this exception after clicking on the search button:


Application Server caught exception:

  session: 517F517F01474E7C4C
  element: 004474e7c938b0bdc08.0.17.1.1.1.b.search.3.7.0.2
  context: <0x0x8b0bdc08[WOContext]: 004474e7c938b0bdc08 app=ogo-webui-1.1
sn=517F517F01474E7C4C eid=004474e7c938b0bdc08.0.17.1.1.1.b.search.3.7.0.2
rqeid=003474e7c8489721808.0.17.1.1.1.b
.search.3.5>
  request: <WORequest[0x0x833c0688]: method=POST
uri=/OpenGroupware.woa/wo/517F517F01474E7C4C/003474e7c8489721808.0.17.1.1
app=OpenGroupware rqKey=wo rqPath=517F517F01474E7C4C/003474e7c84
89721808.0.17.1.1>

  class:   NSException
  name:    NSInvalidArgumentException
  reason:  Attempt to set nil value for key 'previousItem'
  info:


appended patch fixed the problem.
could this be added to ogo, or is there a better way to fix it? 



Sebastian


------=_=-_OpenGroupware_org_NGMime-15090-1196372446.185089-0------
content-disposition: inline; filename="patch-WebUI_Common_OGoUIElements_SkyTableView.m"
content-length: 431
content-transfer-encoding: 7bit
content-type: application/octet-stream; name="patch-WebUI_Common_OGoUIElements_SkyTableView.m"

--- WebUI/Common/OGoUIElements/SkyTableView.m	Wed Nov 28 11:06:02 2007
+++ WebUI/Common/OGoUIElements/SkyTableView.m.new	Thu Nov 29 11:38:16 2007
@@ -527,6 +527,11 @@
   return [StrClass stringWithFormat:@"markAllCheckbox%@", self->allId];
 }
 
+#if GNUSTEP_BASE_LIBRARY
+- (void) takeValue:(id)_value forKey:(NSString *)_key {
+}
+#endif
+
 // --- actions ------------------------------------------
 
 - (id)tableViewSortAction {

------=_=-_OpenGroupware_org_NGMime-15090-1196372446.185089-0--------