PR# 12083 Changing an external feature has no effect.
Problem Report Summary
Submitter: randyjohn
Category: EiffelStudio
Priority: Medium
Date: 2007/02/21
Class: Bug
Severity: Serious
Number: 12083
Release: 6.0.6.6595
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; AXAR_Corp_Device; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Synopsis: Changing an external feature has no effect.
Description
At first I tried only to change the alias of an external but no freeze happened and the Feature Relation view showed the old alias. I forced a freeze but Feature Relation was still wrong. I ran it anyway but the behaviour was as if no change had been made. Then I tried changing the name of the feature. You would think that it wouldn't compile since I need that feature - but it did. I even removed the feature - it still compiled with no problems. Then I took a non-external feature and duplicated it. Finally, this got the compiler's attention. I removed the duplicate and recompiled and the change to the alias got noticed and a freeze happened automatically. Problem solved. Very strange. The only clue that I can give is that this class was in an override. Randy
To Reproduce
Problem Report Interactions
This should be fixed in the next release (post 6.0.6.7253). The issue was that the automatic saving done when compiling a project (either through F7 or Shift+F8) would mess up the internals of overrides and most of the time would not recompile the modified class.
Shift-F8 is what I tried first!
Just to be sure, the shortcut for recompile overrides is Shift+F8.
I think that this might be the same problem: I've been using ctrl-F8 (Recompile Overrides) for a while and it has worked fine. Now, for some reason, it doesn't see the changes that I have made to the source. I have to make a change, press ctrl-S first and THEN press ctrl-F8. Rebuilding from scratch did nothing.