Rubberduck: "Add/Remove Reference" dialogue allows removal of locked references. Sorta...

Created on 18 Dec 2018  路  1Comment  路  Source: rubberduck-vba/Rubberduck

Version 2.3.1.4330
OS: Microsoft Windows NT 10.0.15063.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.4711.1000
Host Executable: MSACCESS.EXE

Still loving the new dialogue, and it even protects me from making bone-headed n00b mistakes, but it isn't quite obvious that it's doing so.

I start with a brand new Access project and its default references:
2018-12-18 08_00_53-microsoft visual basic for applications - testing

I make bone-headed n00b mistake:
2018-12-18 08_01_08-microsoft visual basic for applications - testing
Right here, I probably shouldn't be allowed to make this action in the first place - disable the "Remove selected reference" button when I've selected a Locked reference.

Clicking the Apply button has no noticeable effect (Apply button remains enabled, no notification that I've done something - valid or invalid).
Click OK button to close dialogue box.
Re-open the dialogue:
2018-12-18 08_01_38-microsoft visual basic for applications - testing

Whew! I haven't been allowed to totally bork my project!

bug difficulty-01-duckling feature-reference-explorer up-for-grabs user-interface wpf

Most helpful comment

Just to note that there's probably 2 separate issues in this one bug report:

1) we shouldn't allow moving of padlocked references (obviously)
2) there should be an error message if the Apply/Ok wasn't entirely successful, so the users aren't surprised when there has been a different error and the dialog apparently not doing what they thought it did.

>All comments

Just to note that there's probably 2 separate issues in this one bug report:

1) we shouldn't allow moving of padlocked references (obviously)
2) there should be an error message if the Apply/Ok wasn't entirely successful, so the users aren't surprised when there has been a different error and the dialog apparently not doing what they thought it did.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ishita799 picture ishita799  路  28Comments

daFreeMan picture daFreeMan  路  25Comments

brab picture brab  路  49Comments

UnhandledCoder picture UnhandledCoder  路  32Comments

ThunderFrame picture ThunderFrame  路  23Comments