Archi Forum

Archi => Archi Development => Topic started by: Hervé on September 30, 2016, 23:50:25 PM

Title: FolderType
Post by: Hervé on September 30, 2016, 23:50:25 PM
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é
Title: Re: FolderType
Post by: Phil Beauvoir on October 03, 2016, 09:47:17 AM
Hi,

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

Regards,

Phil
Title: Re: FolderType
Post by: Hervé on October 03, 2016, 12:05:26 PM
Thanks a lot Phil.

Best regards
Hervé