FolderType

Started by Hervé, October 01, 2016, 00:50:25 AM

Previous topic - Next topic

Hervé

Hi Phil, Jean-Baptiste,

In Archi 4, you added a new entry in the com.archimatetool.model.FolderType Enumerator called "OTHER" but it has got the same numeric value ( 5 ) as "RELATIONS" :


line 77 : RELATIONS(5, "relations", "relations"), //$NON-NLS-1$ //$NON-NLS-2$

line 87 : OTHER(5, "other", "other"), //$NON-NLS-1$ //$NON-NLS-2$



In my database plugin, I assumed that each entry has got a unique numeric value and misbehave when it is not the case.

So my question is : Is it on purpose ? Do you plan to restore unicity or should I adapt my code ?

Thanks and regards
Hervé

Phil Beauvoir

Hi,

thanks for spotting this. This is a mistake. I've committed a fix to GitHib.

Regards,

Phil
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Hervé

Thanks a lot Phil.

Best regards
Hervé