Thank you for reporting this bug. I have added it to our backlog.
In the meantime, a workaround:
- Your project contains an error that looks like 'Undefined module role [ModuleName].[RoleName]' caused by the data set. Remember the name of the module role.
- Exclude the data set by right-clicking it and selecting 'Exclude from project'.
- Open the module security dialog. It should open successfully now.
- Add a module role with the exact name that you got in step 1. Click 'OK'.
- Include the data set again by right-clicking it and selecting 'Include in project'.
- Open the module security dialog again and delete the module role that you created in step 4.
The data set should now contain the correct module roles and the error should be solved.