Skip to content

7.1.1#9

Merged
mitchelsellers merged 5 commits into
DNNCommunity:masterfrom
rdh755:7.1.1
May 30, 2019
Merged

7.1.1#9
mitchelsellers merged 5 commits into
DNNCommunity:masterfrom
rdh755:7.1.1

Conversation

@rdh755

@rdh755 rdh755 commented Apr 19, 2019

Copy link
Copy Markdown
Contributor

Changes Included
Implemented a Rolename check to not add a role if the role name is null or empty.

Testing Steps
Create a new folder thru FileManager in DNN 9 instance
Install DNN Documents module.
Add a new file and place it in the new folder
You should not be receiving the following error when updating:

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added. Key in dictionary: '' Key being added: '' ---> System.ArgumentException: Item has already been added. Key in dictionary: '' Key being added: '' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at DotNetNuke.Modules.Documents.EditDocs.CheckRolesMatch(ModulePermissionCollection ModuleRoles, FolderPermissionCollection FileRoles) at DotNetNuke.Modules.Documents.EditDocs.CheckFileSecurity(String Url) at DotNetNuke.Modules.Documents.EditDocs.Update(Boolean Override) --- End of inner exception stack trace ---

Rick Harris added 3 commits December 18, 2018 15:28
Implemented a Rolename check to not add a role if the role name is null or empty.
Updated the logic to pull owner and superuser data to lists, compare and remove data if its a duplicate owner and load the data into the owner dropdown.
@rdh755

rdh755 commented May 9, 2019

Copy link
Copy Markdown
Contributor Author

Changes Included

Updated the logic to pull owner and superuser data to lists, compare and remove data if its a duplicate owner and load the data into the owner dropdown.

Testing Steps
Click on Add New Document
Click the Change Owner Button
Notice that the dropdown no longer has duplicate owners

Rick Harris added 2 commits May 9, 2019 14:45
Improved the method further to updating the logic and checking if any SuperAdmins were loaded.
Reverted code to original state removed, removed super host call and appending to dropdown, updated first datasource call to use GetUsers of Null and implemented Distinct to remove duplicates.
@mitchelsellers
mitchelsellers merged commit 543ad2c into DNNCommunity:master May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants