DATEX-II-EU / DatexII

Main repository for issues and bugs for the DATEXII standard
0 stars 0 forks source link

MapDataPublication has 2 classes each with duplicate id properties (Bugzilla Bug 354) #354

Open datexii opened 3 years ago

datexii commented 3 years ago

This issue was created automatically with bugzilla2github.py

Bugzilla Bug 354

Date: 2021-06-11T17:31:04+02:00 From: @iancornwellmottmac To: @JosefKaltwasser

Last updated: 2021-06-14T12:41:10+02:00

datexii commented 3 years ago

Comment 1571

Date: 2021-06-11 17:31:04 +0200 From: @iancornwellmottmac

Testing Java code generation from v3.2 schemas I see what seems to be a bug in TrafficSignals from v3.1.

There are 2 classes in MapDataPublication that are Identifiable (so have an id property) but also have an explicit "id" property in the model:

Users can workaround by setting code generation properties, but this is an unreasonable feature which should be fixed in any revision of TrafficSignals.

datexii commented 3 years ago

Comment 1572

Date: 2021-06-14 12:41:10 +0200 From: @iancornwellmottmac

Note also bug #287 which if resolved would avoid the "id" properties generated by the stereotypes, removing the clash reported in this issue #354. I do not expect #287 to be resolved before a major methodology revision, whereas this we may choose to resolve this issue #354 with a revision of TrafficSignals before that.