Bug 451531 - Deleting reqif files causes either NOP or NPE under certain circumstances
Summary: Deleting reqif files causes either NOP or NPE under certain circumstances
Status: NEW
Alias: None
Product: MDT.RMF
Classification: Modeling
Component: ProR (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Michael Jastram CLA
QA Contact: Michael Jastram CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 07:23 EST by Moritz Dorka CLA
Modified: 2014-11-14 07:23 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Dorka CLA 2014-11-14 07:23:59 EST
Two scenarios:

A. NOP

1. create a new reqif file (Project Explorer -> Right click on project -> New  -> Reqif10Model -> Finish)
2. right click on that new file in the Project Explorer, select Delete
3. Nothing happens

Any subsequent attempts to delete any other file will cause "nothing continues to happen" - i.e. you cannot delete any more files unless Eclipse is restarted.


B. NPE

1. create a new reqif file (Project Explorer -> Right click on project -> New  -> Reqif10Model -> Finish)
2. open the requirements grid; enter some data
3. save the new file
4. do step 2 again; enter some new data
5. do *not* save; instead: right click on that new file in the Project Explorer, select Delete
6. change the tab from "Requirements Document" (i.e. that thing with the grid representation of your file) to the tab showing the overview of the file itself
7. A MessageBox "File Conflict" pops up. Message: "There are unsaved chages that conflict with the changes made outside the editor. Do you wish to discard this editor's changes?" Yes | No
8. Clicking "No" results in the message going away. Clicking "Yes" results in an NPE.

If at all this should be the other way around (i.e. clicking "Yes" should result in the message going away).