I'm having a weird issue with Access Control.
I have a couple of forms that I was to add to an Access Level list. When I add these forms and click save, the form re-orders but the forms I have tried to add do not apear in the list.
Any ideas?
Many thanks,
Simon Armstrong.
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.
Changes Don't Save When I Update Access Level
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Changes Don't Save When I Update Access Level
Log in/out still has the same result.
As far as I can tell it must be a problem with the form that I am trying to assign access to as the problem doesn't occur with all forms. I will look at the zzzsys_forms entry of the form an see if I can identify any differneces between it and a form that doesn't have the problem.
As far as I can tell it must be a problem with the form that I am trying to assign access to as the problem doesn't occur with all forms. I will look at the zzzsys_forms entry of the form an see if I can identify any differneces between it and a form that doesn't have the problem.
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Changes Don't Save When I Update Access Level
I can find no obvious differences with in the zzzsys_forms table. The problem still persists.
Is there any limitation on the number of forms and Access Level can be assigned?
I desperately need to get my system up and running but I cannot add additional forms as I can assign the users access to them.
Any suggestions?
Many thanks.
Is there any limitation on the number of forms and Access Level can be assigned?
I desperately need to get my system up and running but I cannot add additional forms as I can assign the users access to them.
Any suggestions?
Many thanks.
-
- Posts: 4
- Joined: Mon Jun 15, 2009 10:01 am
Re: Changes Don't Save When I Update Access Level
Before you try to save your access level changes, open your developer console and use the Network Inspector.
When nuBuilder saves it does two calls to nuapi.php. The first nuapi.php call with nuWindow['call_type'] = 'check_edit' does a before save check and the second with nuWindow['call_type'] = 'saveform' actually saves the data.
Here are some screenshots of a test sites nuapi.php calls:
http://imgur.com/a/lx0vm
What do the requests / responses look like for your access level screen save?
When nuBuilder saves it does two calls to nuapi.php. The first nuapi.php call with nuWindow['call_type'] = 'check_edit' does a before save check and the second with nuWindow['call_type'] = 'saveform' actually saves the data.
Here are some screenshots of a test sites nuapi.php calls:
http://imgur.com/a/lx0vm
What do the requests / responses look like for your access level screen save?
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Changes Don't Save When I Update Access Level
I have taken screenshots of the Network activity from the Dev console (attached).
As an additional issue, the ajax-loader.gif GET seems to stall (Screenshot 4)?
Any assistance would be greatly appreciated.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Changes Don't Save When I Update Access Level
Responses to the nuapi.php calls are as follows:
call 1: Initiator: jquery-1.8.3.js:8434
Preview:
DATA: "{"user":""}"
ERRORS: []
SUCCESS: true
TIMEOUT: 1448011594
Response: {"DATA":"{\"user\":\"\"}","SUCCESS":true,"ERRORS":[],"TIMEOUT":1448011594}
call 1: Initiator: jquery-1.8.3.js:8434
Preview:
DATA: "{"user":""}"
ERRORS: []
SUCCESS: true
TIMEOUT: 1448011594
Response: {"DATA":"{\"user\":\"\"}","SUCCESS":true,"ERRORS":[],"TIMEOUT":1448011594}
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Changes Don't Save When I Update Access Level
VERY STRANGE!
When I try to paste the response to the second nuapi.php call, I get the following error message:
Your message contains 83529 characters. The maximum number of allowed characters is 60000.
Could this be the problem? Is there a limit to the number of forms you can have in an Access Level? If so, is there any way to change this? I have a lot of forms in my application.
Is ther anything I should specifically look for in the call 2 response?
Many thanks,
Simon.
When I try to paste the response to the second nuapi.php call, I get the following error message:
Your message contains 83529 characters. The maximum number of allowed characters is 60000.
Could this be the problem? Is there a limit to the number of forms you can have in an Access Level? If so, is there any way to change this? I have a lot of forms in my application.
Is ther anything I should specifically look for in the call 2 response?
Many thanks,
Simon.