bitshares / bitshares-core

BitShares Blockchain node and command-line wallet
https://bitshares.github.io/
Other
1.17k stars 643 forks source link

ES `mapper_parsing_exception` error with `testnet-6.1.0` #2680

Closed abitmore closed 1 year ago

abitmore commented 1 year ago

Bug Description The test-6.1.0 tag is unable to sync if the elasticsearch plugin is enabled and the elasticsearch-operation-object startup option is true. Error messages:

"error":{"type":"mapper_parsing_exception","reason":"failed to parse field [operation_history.op_object.restrictions.argument] of type [text] in document with id '2.9.84598426'. Preview of field's value: '{restriction_type=0, argument=[8, 1.3.0], extensions=[], member_index=1}'","caused_by":{"type":"illegal_state_exception","reason":"Can't get text on a START_OBJECT at 1:1248"}}

It's related to the custom active authority feature.

Impacts Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.

Steps To Reproduce Steps to reproduce the behavior (example outlined below):

  1. Execute API call '...'
  2. Using JSON payload '...'
  3. Received response '...'
  4. See error in screenshot

Expected Behavior A clear and concise description of what you expected to happen.

Screenshots (optional) If applicable, add screenshots to help explain process flow and behavior.

Host Environment Please provide details about the host environment. Much of this information can be found running: witness_node --version.

Additional Context (optional) Add any other context about the problem here.

CORE TEAM TASK LIST

abitmore commented 1 year ago

Fixed by #2681.