Skip to content

Conversation

@agoerler
Copy link
Contributor

No description provided.

@eugene-andreev
Copy link
Contributor

I've discussed the problem with @hierarchy and drafts with Elena, she will have a look, why the EDMX differs

@eugene-andreev
Copy link
Contributor

eugene-andreev commented Jan 29, 2026

Checked once again in a call with Elena:

  1. We've forgotten to do the change
  2. Removing package-lock.json and node_modules and rebuild helped to solve the issue.

Now both read and write for Genres are working fine

@eugene-andreev
Copy link
Contributor

Testing Book->contents.

  • Read mode: OK
  • Edit mode:
SQL:
SELECT T1."BOOK_ID" as "@cds4j:fk:book_ID",
    T1."ID",
    T1."NAME",
    T1."PAGE",
    T1."PARENT_ID",
    T1."BOOK_ID",
    TRUE as "IsActiveEntity",
    FALSE as "HasActiveEntity",
    T1."HASDRAFTENTITY",
    T1."DRAFTADMINISTRATIVEDATA_DRAFTUUID",
    T1."LIMITEDDESCENDANTCOUNT",
    T1."DISTANCEFROMROOT",
    T1."DRILLSTATE",
    T1."LIMITEDRANK"
FROM "ADMINSERVICE_BOOKS" T0
    INNER JOIN (
        SELECT ACTIVE.*,
            COALESCE(DRAFT.HasActiveEntity, false) as HasDraftEntity,
            DRAFT.DraftAdministrativeData_DraftUUID as DraftAdministrativeData_DraftUUID
        from "ADMINSERVICE_CONTENTSHIERARCHY" ACTIVE
            left outer join "ADMINSERVICE_CONTENTSHIERARCHY_DRAFTS" DRAFT on ACTIVE."ID" = DRAFT."ID"
    ) T1 ON (T1."BOOK_ID" = T0."ID")
    and (T0."ID" = ?)

results in

Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "T1.LIMITEDDESCENDANTCOUNT" not found;

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.

3 participants