Hi,
At 1589 line common.js file, there is the statement:
w.record_id = '-1';
It prevents automatic connection to the forms.
Is this normal?
Best regards
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
pb de connexion avec paramètre 'k'
-
- Posts: 19
- Joined: Sat Jul 26, 2014 10:09 am
- Location: France
Re: pb de connexion avec paramètre 'k'
ltrannoy,
I'm not sure what you mean by It prevents automatic connection to the forms.
But '-1' means an unsaved record. Which the Home (starting Form) is.
Steven
I'm not sure what you mean by It prevents automatic connection to the forms.
But '-1' means an unsaved record. Which the Home (starting Form) is.
Steven
-
- Posts: 19
- Joined: Sat Jul 26, 2014 10:09 am
- Location: France
Re: pb de connexion avec paramètre 'k'
Hi
This is an absent regression older versions of the file nucommons.js.
(https://github.com/nuSoftware/nuBuilder ... ucommon.js : on 5 Jun removed visible password )
appeared the 15/1/15 : https://github.com/nuSoftware/nuBuilder ... 859fea0fdf
in :
function nuLogin(u, p, k){
var w = new nuWindow();
w.form_id = 'nuindex';
w.call_type = 'login';
line 1548 w.record_id = k == '' ? '-1' : k; // it's ok !!!!!!!!!!!!!!!!!!
line 1589 w.record_id = '-1'; // it s new but it s a bug !!!!!!!!!!!!!!
Laurent
This is an absent regression older versions of the file nucommons.js.
(https://github.com/nuSoftware/nuBuilder ... ucommon.js : on 5 Jun removed visible password )
appeared the 15/1/15 : https://github.com/nuSoftware/nuBuilder ... 859fea0fdf
in :
function nuLogin(u, p, k){
var w = new nuWindow();
w.form_id = 'nuindex';
w.call_type = 'login';
line 1548 w.record_id = k == '' ? '-1' : k; // it's ok !!!!!!!!!!!!!!!!!!
line 1589 w.record_id = '-1'; // it s new but it s a bug !!!!!!!!!!!!!!
Laurent
Re: pb de connexion avec paramètre 'k'
Laurent,
Steven
I don't understand what you are saying.ltrannoy wrote:
It prevents automatic connection to the forms.
Steven
-
- Posts: 19
- Joined: Sat Jul 26, 2014 10:09 am
- Location: France
Re: pb de connexion avec paramètre 'k'
Sorry, I meant:
It does not provide access to a record (not a form) whose identifier is passed in parameter.
It does not provide access to a record (not a form) whose identifier is passed in parameter.
Re: pb de connexion avec paramètre 'k'
Laurent,
Steven
Yes, its not supposed to for the starting Home Form.It does not provide access to a record (not a form) whose identifier is passed in parameter.
Steven