drjdpowell Posted December 2, 2014 Report Share Posted December 2, 2014 I cannot figure this out. I made some changes to the private data of a class that caused the various unbundle nodes to get mislinked when they tried to auto-select the right new elements, leaving several broken methods. No problem, I thought, I will revert to the previous clean copy in Source-code control (using TortoiseHg). However, whenever I reopen the class, the unbundle nodes are still mislinked and VIs are broken! I reverted the entire codebase to a week ago to be sure I had a good copy, and I rebooted the computer — still broken! All my methods, even the unbroken ones say they need to resave because “Type Definition modifiedâ€. My question is: what is modifying my “Type Definitionâ€? It can’t be any of my source code, so what can it be? Where is the change located on disk? Quote Link to comment
PiDi Posted December 2, 2014 Report Share Posted December 2, 2014 Have you tried to clear cache (Tools-Advanced-Clear Compiled Object Cache)? This should help. 2 Quote Link to comment
Mellroth Posted December 2, 2014 Report Share Posted December 2, 2014 I cannot figure this out. I made some changes to the private data of a class that caused the various unbundle nodes to get mislinked when they tried to auto-select the right new elements, leaving several broken methods. No problem, I thought, I will revert to the previous clean copy in Source-code control (using TortoiseHg). However, whenever I reopen the class, the unbundle nodes are still mislinked and VIs are broken! I reverted the entire codebase to a week ago to be sure I had a good copy, and I rebooted the computer — still broken! All my methods, even the unbroken ones say they need to resave because “Type Definition modifiedâ€. My question is: what is modifying my “Type Definitionâ€? It can’t be any of my source code, so what can it be? Where is the change located on disk? Do you have the compiled code separated from source? /J 1 Quote Link to comment
drjdpowell Posted December 2, 2014 Author Report Share Posted December 2, 2014 Wait, never mind, I think it is a Mercurial/TortoiseHg problem (or User error in using it). Reverting back to a month ago, then reverting forward to today fixed the issue. I think the class file wasn’t being reverted correctly. After reading replies: Compiled code cache, of course! Should have thought of that. Reverting far enough back may have triggered a recompile thus clearing the error. Thanks guys. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.