You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2026/06/11 07:49:00 UTC

[jira] [Commented] (IGNITE-28763) Fix BinaryObjectBuilder enum type mapping

    [ https://issues.apache.org/jira/browse/IGNITE-28763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088185#comment-18088185 ] 

Ignite TC Bot commented on IGNITE-28763:
----------------------------------------

{panel:title=Branch: [pull/13229/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13229/head] Base: [master] : New Tests (8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Binary Objects{color} [[tests 8|https://ci2.ignite.apache.org/viewLog.html?buildId=9118594]]
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderNonCompactSimpleNameLowerCaseMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderNonCompactDefaultMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = false] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderNonCompactDefaultMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderSimpleNameLowerCaseMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = false] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderSimpleNameLowerCaseMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderDefaultMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = false] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderDefaultMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryObjectBuilderNonCompactSimpleNameLowerCaseMappersSelfTest.testSetBinaryEnumFieldWithEnumClass[useBinaryArrays = false] - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9118717&amp;buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9118717 rerunBuildIds=none{color}

> Fix BinaryObjectBuilder enum type mapping
> -----------------------------------------
>
>                 Key: IGNITE-28763
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28763
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Nikita Amelchev
>            Assignee: Nikita Amelchev
>            Priority: Major
>              Labels: ise
>             Fix For: 2.19
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> BinaryObjectBuilder incorrectly treats explicit Enum.class field type as Object when setting a binary enum value created via IgniteBinary.buildEnum(...).
> If the binary schema already contains the field as Enum, calling setField(fieldName, enumObj, Enum.class) fails with a metadata conflict: fieldType=Enum, assignedValueType=Object



--
This message was sent by Atlassian Jira
(v8.20.10#820010)