Skip to content

Generate correct names for SubmodelElementCollections #586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

atextor
Copy link
Contributor

@atextor atextor commented Jun 4, 2024

Description

When translating from SAMM to AAS, Properties pointing to Entities would lead to
SubmodelElementCollections named like the Entities. They should be named like
the Properties instead.

Fixes #578

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Copy link
Contributor

@Yauhenikapl Yauhenikapl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@atextor atextor merged commit db62034 into eclipse-esmf:main Jun 5, 2024
4 checks passed
@atextor atextor deleted the 578-use-property-name-for-aas-smc branch June 5, 2024 10:55
Copy link

Release v2.8.0 addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] CLI aasx generation: for SMC use name of Property, not of Entity
2 participants