Details
-
Bug
-
Status: Open (View Workflow)
-
P3
-
Resolution: Unresolved
-
29.3.2, 29.4.0
-
None
-
-
CP: Non-roadmap backlog
-
Core: Platform
Description
.raml and .json files may contain differing declarations for classes with the same class name.
The second generated class overwrites the first generated class.
It is not easy for module developers to find the cause.
GenerateRunner should fail on duplicate class name with a detailed error message.
The comparison should be case insensitive because some file systems (for example Windows) are case insensitive.
If the same .json is referenced several times it should not fail the build because the class is exactly the same.
TestRail: Results
Attachments
Issue Links
- relates to
-
MODINVSTOR-471 Duplicate class name IllPolicy.java: cannot find symbol getId()/setId()
-
- Closed
-
-
RMB-444 RMB generates class name by field name in schema
-
- Closed
-
-
RMB-594 Random and changing order of GenerateRunner class generation
-
- Closed
-
-
RMB-595 Do not generate classes for virtual fields
-
- Open
-