I've downloaded the solution template and started working. I notice that when logging in as the default admin account into the host side, I don't see any permissions loading when trying to edit a role. The permissions do however appear when in a specific tenant. In the host side, I see this with no permissions tree ever loading. What could be causing this? There is no error in the audit log. In browser console, see this:
SCRIPT0: Unable to get property 'children' of undefined or null reference blob:71FED387-F8EE-4A44-86CF-2B310FB1DE22 (215,1)
9 Answer(s)
-
0
Hi,
IT's strange, because it's properly working for us. Can you check these:
- Disable any caching (you can open browser's dev tools and check 'disable change when dev tools is open', then refresh the page).
- Check if a proper request made to the server on the network tab of your browser. You can share the response with me.
- If not, check logs (Logs folder in the web project).
Also, do you have a stacktrace for "Unable to get property 'children' of undefined or null reference" exception?
-
0
The GetRolesForEdit call seems to happen fine, returning the object with array of permissions. Nothing in the server log.
Here's what Chrome shows in console:
<a class="postlink" href="http://screencast.com/t/4O6yIbGDegk">http://screencast.com/t/4O6yIbGDegk</a> <a class="postlink" href="http://screencast.com/t/j0aDEU6Ua">http://screencast.com/t/j0aDEU6Ua</a>
(Also confirmed in IE 11)
-
0
OK, as I understand you downloaded the latest template (v1.7.1) and this error occurs in the first run. I will test it like that and inform you. Thanks.
-
0
Thanks. My application version shows as v1.7.1.1
Also noticed my ABP modules were 0.7.7.2, so I upgraded to 0.7.8. Issue still exists.
-
0
Hi,
Do you still have this problem. If so, can you share the network request's response for loding tree?
-
0
This has not occurred after starting a new project from template. Perhaps it was something random with the previous project setup? Thanks for following up.
-
0
I also could not repeat the problem.
Thank you too. Have a nice day.
-
0
Hi, I have this problem now! I am using ASP.NET Core/Angular its happening both on IIS and npm start
error is: SCRIPT0: Unable to get property 'children' of undefined or null reference
-
0
Hi @rafalpiotrowski,
Can you share a screenshot of your browser console with javascrip error ?