-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: Clean install of 09.13.03 has incorrect Newtonsoft.Json bindingRedirect #5997
Comments
How come you are specifying an "(alpha)" version when v9.13.03 is released? |
The issue template hadn't been updated to indicate that 9.13.3 is released. @puresystems to clarify, are you using the released version of 9.13.3? |
Yes, v9.13.3.
…________________________________
From: Brian Dukes ***@***.***>
Sent: Wednesday, March 13, 2024 4:04:32 PM
To: dnnsoftware/Dnn.Platform ***@***.***>
Cc: Dan Rice ***@***.***>; Mention ***@***.***>
Subject: Re: [dnnsoftware/Dnn.Platform] [Bug]: Clean install of 09.13.03 has incorrect Newtonsoft.Json bindingRedirect (Issue #5997)
The issue template hadn't been updated to indicate that 9.13.3 is released. @puresystems<https://github.com/puresystems> to clarify, are you using the released version of 9.13.3?
—
Reply to this email directly, view it on GitHub<#5997 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABFSBA762SPAQQBLJEAP3QDYYB2JBAVCNFSM6AAAAABET6GM3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUG44TSMJWGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Okay, two questions. 1) can you confirm ONLY DNN is installed? No settings changes? No modules (or skins or libraries, etc) installed? 2) Can you give a quick overview of your hosting env? (make/model/version of OS, web services, SQL, etc) |
To verify this, I did a fresh install of just DNN v9.13.03, and as you can see in the screenshot below, the web.config and the DLL match correctly for v13 of NewtonSoft. But, out of the box, DNN is throwing that error (reported above) in Logged in as a SuperUser, the PersonaBar works fine. Then, I created a new test user, added the Administrator Role and logged in. The PersonaBar also worked fine. So I cannot reproduce that part of the issue. I also checked the DevTools console. Used a few tools in the PersonaBar and everything worked fine, no console errors either. And finally, logged out, logged back in as SuperUser. Did Settings/Restart Application. Reloaded |
@jeremy-farrance was the logged error ONLY when it was initially running? Now that we upgrade with a package I wonder if it wasn't from the install process that it threw the warning and then not an issue after it was running? |
@mitchelsellers - What you are saying makes sense, I think I understand that certain parts of DNN may get installed - and then upgraded - as the various .resources files are processed. SO, I am not sure whether or not there is something there that needs to be addressed. But I definitely see the error thrown 2 times on every DNN deploy. But is no longer being thrown after the installation is complete and everything is functional. @puresystems - So at this point, I've proven that the web.config binding for Newtonsoft matches the DLL in the Bin folder. See screenshot above. But I have found no way to duplicate the issue you reported: "the Persona bar failed to display." Can you provide details or steps that would allow someone to make that part of the issue happen? Also, maybe update the Issue's Title (above) since I am pretty confident that what the Title says, is not true. |
@jeremy-farrance Just to triple confirm, AFTER install though, you never see it again? |
Yes. After two complete local installs using nvQuickSITE and the details described above, I "see the error thrown 2 times on every DNN deploy. But is no longer being thrown after the installation is complete and everything is functional." The error does not appear again on the running site. |
We've not been able to repeat the issue with the persona bar from carrying out several clean installs, just the initial error logged but nothing further. @jeremy-farrance feel free to update the title to whatever you feel appropriate. |
I can reproduce and see the errors in log files with a 9.13.3 fresh install, trying to analyze the root cause. |
Is there an existing issue for this?
What happened?
Installed a clean version of DNN 09.13.03. Once logged in as Superuser, the Persona bar failed to display. Checking the browser console showed a 404 for the url /API/personaBar/localization/gettable?culture=en-US
Checking the DNN resource logs, it showed an error as per the log outputs supplied.
Steps to reproduce?
Current Behavior
Persona bar doesn't display
Expected Behavior
Persona bar should display to admins
Relevant log output
Anything else?
We updated the web.config entry and changed newVersion to 13 which resolved the issue:
Affected Versions
9.13.3 (alpha)
What browsers are you seeing the problem on?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: