Page 1 of 1
pb de connexion avec paramètre 'k'
Posted: Tue Aug 11, 2015 6:35 pm
by ltrannoy
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
Re: pb de connexion avec paramètre 'k'
Posted: Wed Aug 12, 2015 1:24 am
by admin
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
Re: pb de connexion avec paramètre 'k'
Posted: Wed Aug 12, 2015 7:52 am
by ltrannoy
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
Re: pb de connexion avec paramètre 'k'
Posted: Thu Aug 13, 2015 3:01 am
by admin
Laurent,
ltrannoy wrote:
It prevents automatic connection to the forms.
I don't understand what you are saying.
Steven
Re: pb de connexion avec paramètre 'k'
Posted: Thu Aug 13, 2015 10:55 am
by ltrannoy
Sorry, I meant:
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'
Posted: Mon Aug 24, 2015 5:42 am
by admin
Laurent,
It does not provide access to a record (not a form) whose identifier is passed in parameter.
Yes, its not supposed to for the starting Home Form.
Steven