davidjrh / dnn.azureadprovider

The DNN Azure Active Directory Provider is an Authentication provider for DNN Platform (formerly DotNetNuke) that uses Azure Active Directory OAuth2 authentication to authenticate users.
MIT License
35 stars 21 forks source link

Error updating settings #26

Closed mnagatos101 closed 4 years ago

mnagatos101 commented 4 years ago

We are are on DNN 9.5. This error triggers when updating the settings. Please advise.

Capture

davidjrh commented 4 years ago

Which version of the module? 4.0?

mnagatos101 commented 4 years ago

Yes, we are on version 4.0. We are going to do a demo today, but will upgrade tomorrow.

MarkJaroski commented 4 years ago

Is there a workaround for this, by chance?

MarkJaroski commented 4 years ago

Ah, I found a workaround. I changed the call to updateGenericSettings() in export-bundle.js.

moorecreative commented 4 years ago

I can confirm the same issue in DNN 9.5 and encounter it not saving in module version 3x and 4x.

What was the edit that Mark made to workaround? was it an edit in the module references? or was it in the personabar js of DNN 9.5?

davidjrh commented 4 years ago

Going to check this

davidjrh commented 4 years ago

Fixed con commit f392f73

moorecreative commented 4 years ago

I am not sure if this is related or a side product of the update still having an issue. I have made a test of saving settings in DNN 9.5, Module version 4.0.1 and receive this error regarding the bundle-en.js.map 404 and js error

image

moorecreative commented 4 years ago

@davidjrh ^^

davidjrh commented 4 years ago

Please ensure you are not using the previous cached version of the .js file

moorecreative commented 4 years ago

YES, that was 100% the issue, you're right. Force clearing cache and or running from a different browser and it saved settings successfully.

super thanks!