New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source-control gives error and removes userform from project when there's no content #2706
Comments
Is there a |
Wait a minute, document-type isn't normal, that would be for worksheet/workbook modules... |
repro log:
Note:
|
Also
The error happens because there is no code in the userform module; you can clean up your test repository by following these steps:
Now add another UserForm with some code:
Should do it. Even You can now initialize the repository without any errors. This is a bug indeed. |
Sorry. Still doesn't work for me. I did eventually get it to init with userform1. Don't remember exactly how as I tried very many things. I think I created, let rb delete, then recreated, then initialized. Anyway, it stuck for one round of shutdown, startup, reload. But it deleted when I clicked the sync button in source control pane. Thereafter, it's steady delete -- Create Userform, Sync, Userform gone. Creating multiple forms and all get deleted at sync. frm files are in repository though. I did have code-behind in each. |
I had the same issue. Initializing the repository on C:\SomeDir instead of the network drive solved the issue for me. EDIT:
|
I'm new to rubberduckvba. Just installed for first time, so maybe I'm missing something easy.
Source control is removing my userforms. It is correctly handling all other modules and class modules, but deletes forms. Any assistance is appreciated.
Steps to reproduce:
Windows 10
Excel 2010
Rubberduckvba 2.0.12.2453
RubberduckLog.txt
2017-02-17 14:56:20.2784;INFO-2.0.11.2453;Rubberduck.App;Rubberduck version 2.0.11.2453 loading:
Operating System: Microsoft Windows NT 6.2.9200.0 x64
Host Product: Microsoft Office 2010 x64
Host Version: 14.0.7177.5000
Host Executable: EXCEL.EXE;
The text was updated successfully, but these errors were encountered: