nullpointer exception on form.getCallingFormName();

Post any questions regarding Installing or Upgrading to V5, including problems starting and using the Ebase Server or Designer

Moderators: Jon, Steve, Ian, Dave

User avatar
dvanhussel
Ebase User
Posts: 161
Joined: Fri Oct 19, 2007 12:45 pm
Location: Haarlem, the Netherlands

nullpointer exception on form.getCallingFormName();

#1

Postby dvanhussel » Wed Aug 05, 2015 3:27 pm

Hi,

After upgrading some forms from 4.5 to 5.0, form.callingFormName and form.getCallingFormName(); generate a nullpointer excepion.

A form calls another form (in a before form event), using:

Code: Select all

var parms = {};
parms.LOGINPROPERTIES=fields.LOGINPROPERTIES.stringValue;
form.callForm('LOGIN', parms);
In the called form, in a before form script, setting a table value fails:

Code: Select all

testpersonen.FORMID.value = form.callingFormName;
The field LOGINPROPERTIES is populated as expected in the called form.

using:

Code: Select all

form.getCallingFormName(); 


also triggers the nullpointer exception.

The two forms work as intended on V4.5

Is this a (know) bug, or is there something wrong with this code?

Regards,

David
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Thu Aug 06, 2015 7:47 am

David,

It's a new problem, thanks for reporting it. We will fix it.

Regards
Jon
0 x


Who is online

Users browsing this forum: No registered users and 3 guests