Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not update document using 'update button' #450

Open
dmoskovtsov opened this issue Nov 18, 2022 · 0 comments
Open

Can not update document using 'update button' #450

dmoskovtsov opened this issue Nov 18, 2022 · 0 comments
Assignees
Labels

Comments

@dmoskovtsov
Copy link

Describe the bug
Can not update document using 'update button'

Dejavu Version
Web latest.

To Reproduce
Connect

  1. Go to https://dejavu.appbase.io/. Connect to elastic cluster v8
  2. Click 'editing' mode.
  3. Select 1 item from the table via checkbox.
  4. Click blue 'Update' button.
  5. You see document json. Edit one of the fields.
  6. Click blue 'Ok' button
  7. See error HTTP STATUS: 400 - Unable to put data

{ "root_cause": [ { "type": "mapper_parsing_exception", "reason": "Field [_ignored] is a metadata field and cannot be added inside a document. Use the index API request parameters." } ], "type": "mapper_parsing_exception", "reason": "failed to parse field [_ignored] of type [_ignored] in document with id 'Os9RwXEBSqVr35TmEzDZ'. Preview of field's value: 'description.keyword'", "caused_by": { "type": "mapper_parsing_exception", "reason": "Field [_ignored] is a metadata field and cannot be added inside a document. Use the index API request parameters." } }

Expected behavior
Item to be updated. Note, same works using an update from the table by typing.

Screenshots

Additional context
Example of the document:
{
"description": "hello",
"_ignored": [
"description.keyword"
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants