Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Add traits-annotations to StandardEntity #85

Closed
Rumata42 opened this issue Sep 27, 2021 · 3 comments
Closed

Add traits-annotations to StandardEntity #85

Rumata42 opened this issue Sep 27, 2021 · 3 comments
Assignees
Milestone

Comments

@Rumata42
Copy link

Rumata42 commented Sep 27, 2021

StandardEntity has fields deletedBy, deletedAs, etc, and corresponding interfaces to mark traits, but Jmix uses annotations for that goal. So these fields should be annotated as @DeletedBy, @DeletedDate, etc.

QA Notes:
Use project migrated from CUBA
Check that SoftDelete and other traits are displayed on entity screen in studio for entities inherited from com.haulmont.cuba.core.entity.StandardEntity

@knstvk knstvk added this to the 1.1.0 milestone Sep 28, 2021
@knstvk knstvk assigned dtaimanov and unassigned knstvk Oct 14, 2021
@dtaimanov dtaimanov reopened this Oct 14, 2021
@maistrenkoIulia
Copy link

image
Jmix version: 1.2.0-SNAPSHOT
Jmix Studio plugin version: 1.1.SNAPSHOT3632-212
IntelliJ version: IntelliJ IDEA 2021.2.2 (Ultimate Edition)

@dtaimanov
Copy link
Contributor

@maistrenkoIulia, wrong entity used: Parent field is empty, but should be StandardEntity [sys$StandardEntity]

@maistrenkoIulia
Copy link

verified

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

No branches or pull requests

5 participants