You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Kirill Tkalenko (Jira)" <ji...@apache.org> on 2019/10/23 06:16:00 UTC

[jira] [Updated] (IGNITE-12324) improper message in BinaryObjectException is printed when accessing fieldOrder method binary field with binary object of unregistered type

     [ https://issues.apache.org/jira/browse/IGNITE-12324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirill Tkalenko updated IGNITE-12324:
-------------------------------------
    Description: 
Scenario
 1. Create `BinaryObject` instance with `time` field of type `TimeValue`.
 2. Extract `BinaryField` `time` from binary object
 3. Modify binary object internal array so that it would reference non existing binary type
 4. Invoke `fieldOrder` (or `value`) of binary field passing modified binary object
 5. Expect that `BinaryObjectException` is thrown
 5.1 Expect that message contains information about expected and actual binary type id, expected type name, field id, field name, expected field type.
 5.2. Expect that for actual type name message contains 'null'

 

Actual:

  was:
Scenario
1. Create `BinaryObject` instance with `time` field of type `TimeValue`.
2. Extract `BinaryField` `time` from binary object
3. Modify binary object internal array so that it would reference non existing binary type
4. Invoke `fieldOrder` (or `value`) of binary field passing modified binary object
5. Expect that `BinaryObjectException` is thrown
5.1 Expect that message contains information about expected and actual binary type id, expected type name, field id, field name, expected field type.
5.2. Expect that for actual type name message contains 'null'


> improper message in BinaryObjectException is printed when accessing fieldOrder method binary field with binary object of unregistered type
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-12324
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12324
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Kirill Tkalenko
>            Assignee: Kirill Tkalenko
>            Priority: Major
>             Fix For: 2.8
>
>
> Scenario
>  1. Create `BinaryObject` instance with `time` field of type `TimeValue`.
>  2. Extract `BinaryField` `time` from binary object
>  3. Modify binary object internal array so that it would reference non existing binary type
>  4. Invoke `fieldOrder` (or `value`) of binary field passing modified binary object
>  5. Expect that `BinaryObjectException` is thrown
>  5.1 Expect that message contains information about expected and actual binary type id, expected type name, field id, field name, expected field type.
>  5.2. Expect that for actual type name message contains 'null'
>  
> Actual:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)