Community
Participate
Working Groups
Steps to reproduce : you can use the Ecore Model of your example : 1/ select the EPackage of your model and choose "Open Ecore Tabular Editor" 2/ create 2 EPackage in your model 3/ select these 2 packages 4/ drop these 2 packages in the same time in your table -> the new columns (eClassifiers, e FactoryInstance, ...) are duplicated in the table
Created attachment 195814 [details] Patch for Bug 345665 Hi, The problem was that we only checked whether the added EStructuralFeature column was already declared in the table. I've added a test so that when we add several object with the same EStructuralFeature only one column is created. (a) I, Nicolas Guyomar, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. (d) This contribution contains no Cryptography features. Regards, Nicolas Guyomar
Created attachment 195815 [details] Patch for Bug 345665 Unit test Hi, Please find attached a contribution to NatTableAPITests.addRowsTest() to add the verification that columns are not duplicated when we add several object with the same EStructuralFeature (a) I, Nicolas Guyomar, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. (d) This contribution contains no Cryptography features. Regards, Nicolas Guyomar
Comment on attachment 195814 [details] Patch for Bug 345665 Here is a contribution from one employee of Mia-Software, targeting future Indigo release. The company has signed a Member Commiter Agreement. The contribution does not need a CQ (see bug 322327). I've committed this contribution. Committed revision 660. A non-regression unit test has to be developed before to close this bug.
Comment on attachment 195815 [details] Patch for Bug 345665 Unit test Here is a contribution from one employee of Mia-Software, targeting future Indigo release. The company has signed a Member Commiter Agreement. The contribution does not need a CQ (see bug 322327). I've committed this contribution. Committed revision 661.
This bug can be marked as fixed. Regards, Gregoire Dupe
This bug can be marked as closed