-
Enhancement
-
Resolution: Unresolved
-
Minor
-
None
-
5.0.0.Beta1
When defined ObjectFieldsRejectAttributeChecker (or ListRejectAttributeChecker or their combination) in transformers, the error message is missleading - points to the complex attribute instead of individual subattributes:
WFLYCTL0297: Transforming operation { \"address\" => [ (\"profile\" => \"full\"), (\"subsystem\" => \"elytron\"), (\"jdbc-realm\" => \"xxxx\") ], \"operation\" => \"add\", \"principal-query\" => [{ \"data-source\" => \"ExampleDS\", \"sql\" => \"SEL\", \"scram-mapper\" => { \"iteration-count-index\" => \"1\", \"password-index\" => \"2\", \"salt-index\" => \"5\", \"hash-encoding\" => \"base64\" // this attribute is not backward compatible } }], \"operation-headers\" => { \"caller-type\" => \"user\", \"access-mechanism\" => \"NATIVE\", \"domain-uuid\" => \"658c12cc-9501-47d0-bf24-aa11079e444a\", \"execute-for-coordinator\" => true, \"domain-controller-lock-id\" => -1163262107 } } at resource [ (\"profile\" => \"full\"), (\"subsystem\" => \"elytron\"), (\"jdbc-realm\" => \"xxxx\") ] to subsystem 'elytron' model version '2.0.0' -- attributes [principal-query] WFLYCTL0302: The following attributes are not understood in the target model version and this resource will need to be ignored on the target host: [principal-query]
The error message should contain something like [principal-query[0].scram-mapper.hash-encoding] instead of [principal-query].
The error message is misleading, as the attribute [principal-query] HAS TO be defined - only the hash-encoding must not.
- relates to
-
WFCORE-3832 Support hex encoding in jdbc-realm for elytron
- Resolved