google-code-export / iring-tools

Automatically exported from code.google.com/p/iring-tools
0 stars 0 forks source link

Mapping editor error scenario #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:

Create two pairs project-application in Application Editor. The first pair has 
a correct DataDictionary xml-file and the second pair has this file with syntax 
errors (or its DataDictionary file is missing in “XML” folder).

Testing actions’ queue:

1) Run Mapping Editor
2) Load the second pair project-application: you’ll see the message box about 
errors in DataDictionary - it’s true. Close this message box and look at the 
“Data objects”-panel: it’s empty – it’s correct too.
Don’t close Mapping Editor!
3) Load the first pair project-application: you’ll see the correct content in 
all the panels of the interface of Mapping Editor.
Don’t close Mapping Editor!
4) Load the second pair project-application: you’ll see the message box about 
errors in DataDictionary - it’s true. Close this message box and look at the 
“Data objects”-panel: the content from the first pair project-application 
is still there!
5) Try to do some mapping actions with this content then save mapping and check 
the Mapping xml-file for this project. The contents are corresponded to your 
actions!
Close Mapping Editor.
6) Run Mapping Editor again
7) Load the second project-application pair: you’ll see the message box about 
errors in DataDictionary. Close this message box and look at the “Data 
objects”-panel: it’s empty (Mapping Editor doesn’t change 
DataDictionary), look at the “Graph Maps”-panel: your mapping is there but 
it isn’t corresponded to this project-application pair.

So a trying to change a current application (project) in Mapping Editor must 
lead to a zeroing of content of variables which store a DataDictionary and 
visualize it on “Data objects”-panel and only then to loading new 
DataDictionary and updating visualization.

Reported by IBS

Original issue reported on code.google.com by dariuska...@gmail.com on 12 Feb 2011 at 12:20