hahaking119 / vienna-add-in

Automatically exported from code.google.com/p/vienna-add-in
0 stars 0 forks source link

ABIE Editor: Problem with renaming BBIEs #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch the ABIE Editor.
2. Choose an arbitrary CC Library, such as "CCLibrary".
3. Choose an arbitrary ACC, such as "Address".
4. Choose an arbitrary BCC, such as "AttentionOf". 
5. Add an additional BBIE using the "Add another BBIE" button. The BBIE
added will have the name "New1AttentionOf". 
6. Rename the BBIE "New1AttentionOf" to "AttentionOf" by placing the cursor
behind "New1". Remove "New1" by hitting the backspace button 4 times.
Confirm the edit operation by pressing the Return key. 
7. As expected, a message box will show that the BBIE can't be renamed to a
name matching another BBIE's name. 

What is the expected output? What do you see instead?
The expected output would be, that for the BBIE, whose rename failed, the
original name is displayed. However, the resulting name is "NAttentionOf".
It seems that only the last edit operation is undone. Note that when
choosing a different BCC, such as "BarCode", and then choosing the BCC
"AttentionOf" again, the BBIE names are displayed correct again. 

Original issue reported on code.google.com by christia...@researchstudio.at on 22 Mar 2010 at 6:29

GoogleCodeExporter commented 9 years ago
The same is true for renaming BDTs that have been added using the ABIE Editor.

Original comment by christia...@researchstudio.at on 22 Mar 2010 at 6:41

GoogleCodeExporter commented 9 years ago
Fixed in r1437

Original comment by christia...@researchstudio.at on 22 Mar 2010 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by christia...@researchstudio.at on 22 Mar 2010 at 8:42