Bug 308871 - running a b3 file should require save
Summary: running a b3 file should require save
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: b3 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 11:20 EDT by Henrik Lindberg CLA
Modified: 2017-09-13 11:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lindberg CLA 2010-04-12 11:20:05 EDT
When running a b3 file, a check should be made that the file is not dirty. If file is dirty, a dialog should be displayed asking if the user wants to save the file first. If the file is not saved, it should not be executed.
The reason why this is important is that linking and validation takes place when the file is saved. An unsaved instance may have stale data.

There are currently two execution handlers (one calls the other), so the functionality can be made in one place (although it may be different later when also running headless commands).
Comment 1 Henrik Lindberg CLA 2010-10-03 13:46:55 EDT
With the separation between model and evaluator that took place long time ago, this issue is not a blocker - it works just fine to run the dirty model state if that is what a user wants to do.

User should still be prompted warned and given the option to save.