Ponder back to previous page in sign up
James Cicenia <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
In the ERTwoFactorLogin, I decided to add an action to Sign Up!
here it is:
Signup : WOHyperlink {
directActionName = "CreateERUser";
actionClass = "ERUserAction";
secure = true;
}
When the user clicks Signup, the edit page does show up, however, when I click CANCEL it crashes with NPE:
java.lang.NullPointerException
at com.webobjects.eoaccess.EOUtilities.primaryKeyForObject(EOUtilities.java:880)
at er.extensions.eof.ERXGenericRecord.handleQueryWithUnboundKey(ERXGenericRecord.java:1064)
at er.users.model.ERUser.handleQueryWithUnboundKey(ERUser.java:147)
at com.webobjects.foundation.NSKeyValueCoding$Utility.handleQueryWithUnboundKey(NSKeyValueCoding.java:494)
at com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.valueInObject(NSKeyValueCoding.java:894)
at com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:1498)
at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.directtoweb.ERD2WUtilities.contextValueForKeyNoInferenceNoException(ERD2WUtilities.java:61)
at er.directtoweb.ERD2WModel.fireRuleForKeyPathInContext(ERD2WModel.java:289)
at er.directtoweb.ERD2WModel.fireRuleForKeyPathInContext(ERD2WModel.java:270)
at com.webobjects.directtoweb.D2WContext.inferValueForKey(D2WContext.java:292)
at com.webobjects.directtoweb.D2WContext.valueForKey(D2WContext.java:180)
at com.webobjects.directtoweb.D2WContext.valueForKeyPath(D2WContext.java:317)
at com.webobjects.foundation.NSKeyValueCodingAdditions$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:149)
at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:217)
I can create a new user.
Thanks
James
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc