Skip to content

TEDEFO-5364: Stop reading the alias of fields and nodes - #77

Merged
rousso merged 2 commits into
developfrom
feature/TEDEFO-5364-no-aliases
Nov 28, 2026
Merged

rousso merged 2 commits into
developfrom
feature/TEDEFO-5364-no-aliases

Conversation

@rousso

@rousso rousso commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The alias of fields and nodes is no longer read: SdkFieldV2 and SdkNodeV2 lose their alias constructor parameters and getAlias(). EFX 2 no longer accepts aliases (TEDEFO-5351), the EFX Toolkit no longer uses them, and the SDK files contain none.

This pull request targets develop, which became the 2.0.0 line after the release of version 1.10.0.

What changes

  • SdkFieldV2: the alias field, the alias parameter of both public constructors, the reading of alias from JSON, and getAlias() are removed.
  • SdkNodeV2: the same.
  • Tests: the two assertions on getAlias() and the alias properties of the SDK 2 test fixtures are removed.
  • pom.xml: the version becomes 2.0.0-SNAPSHOT, because removing public API needs a major version (japicmp).

The constructors and getAlias() are public API, so code that calls them must change. MDM does: when it takes eforms-core 2.0.0, its call new SdkNodeV2(..., node.getAlias()) in AbstractSymbolResolver must drop the last argument. With the default Jackson settings, JSON that still has an alias property is now refused by the @JsonCreator constructors; the constructors that take a JsonNode ignore it.

How it was checked

  • mvn verify: 133 tests pass, and japicmp accepts the change for 2.0.0.
  • The EFX Toolkit's develop passes its 2,991 tests with this version.

@rousso rousso self-assigned this Nov 20, 2026
@rousso
rousso changed the base branch from ecl-2 to develop November 28, 2026 11:59
@rousso
rousso merged commit 9df1587 into develop Nov 28, 2026
6 checks passed
@rousso
rousso deleted the feature/TEDEFO-5364-no-aliases branch November 28, 2026 12:31
@rousso rousso mentioned this pull request Nov 28, 2026
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.

1 participant