Re: Ponder back to previous page in sign up
James Cicenia <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
My novice opinion is that it is looking for the previous page, but, I do see that PreviousPageList is null.....
Extra info: {
"CurrentComponentHierarchy" = (
"er.r2d2w.pages.R2D2WInspectPage",
"er.r2d2w.components.repetitions.R2DInspectFormRepetition"
);
"CurrentComponent" = "er.r2d2w.components.repetitions.R2DInspectFormRepetition";
"PreviousPageList" = ();
"Headers" = {
"user-agent" = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17";
"cookie" = "woinst=-1; wosid=UfTpoj2R1pthb3wRlU051w";
"origin" = "https://localhost:4443";
"accept" = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
"referer" = "https://localhost:4443/cgi-bin/WebObjects/PurplePush.woa/wa/ERUserAction/CreateERUser";
"content-type" = "application/x-www-form-urlencoded";
"accept-encoding" = "gzip, deflate";
"original_context_id" = "9";
"content-length" = "1009";
"host" = "localhost:4443";
"accept-language" = "en-us";
"connection" = "keep-alive";
};
"CurrentPage" = "er.r2d2w.pages.R2D2WInspectPage";
"Session" = "<com.pp.app.Session sessionID=UfTpoj2R1pthb3wRlU051w timeOut(sec)=3600.0 terminating=false _wasTimedOut=false contextArray=((\"0\"), (\"3\"),
When I dump keys or such nothing stands out.. all I get is:
INFO (ERXLocalizer.java:1174) - {
"Button.createUser" = "Create User";
"Button.cancel" = "Cancel";
}
Thanks
James
On Dec 9, 2012, at 11:24 PM, Ramsey Gurley <[email protected]> wrote:
> what is the unbound key that it's querying?
>
> On Dec 9, 2012, at 7:26 PM, James Cicenia wrote:
>
>> 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
>
------------------------------------------------------------------------------
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