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

[BUG] - Regression on displaying index that have a composite id field #219

Closed
maurin-at-homiwoo opened this issue Mar 20, 2024 · 2 comments
Assignees
Labels

Comments

@maurin-at-homiwoo
Copy link

maurin-at-homiwoo commented Mar 20, 2024

Version 1.0.4 - Chrome Extension

Description
No entries are displayed in the Search tab for index that have a composite id field

Regression for the issue #142 but with a different stacktrace :

SearchResultsTable.ts:68 TypeError: Cannot convert object to primitive value
at f (table-row-selection.js:52:25)
at Y (QTable.js:384:20)
at QTable.js:466:29
at Proxy.map ()
at re (QTable.js:465:38)
at H (QTable.js:327:9)
at Proxy. (QTable.js:1038:9)
at Fs (runtime-core.esm-bundler.js:874:16)
at Qr.U [as fn] (runtime-core.esm-bundler.js:6089:26)
at Qr.run (reactivity.esm-bundler.js:177:19)

Steps To Reproduce
List the steps to reproduce your problem:

  1. Open elasticvue
  2. Create a new index that has a composite id field with the following bulk request :
{ "id" : { "blip": "1", "blap": "2"}, "blop": "Blup" }
{ "index" : { "_index" : "test_id", "_id" : "2" } }
{ "id" : { "blip": "12", "blap": "22"}, "blop": "Blup3" }
{ "index" : { "_index" : "test_id", "_id" : "3" } }
{ "id" : { "blip": "13", "blap": "23"}, "blop": "Blup3" }
  1. Go to the search tab and try to display all rows of the test_id index

Screenshots
See screenshots of the issue 142 (see link above)

Environment (please include the following information):

  • Elasticsearch version: 8.10.2
  • Operating system: Ubuntu 22.04
  • Browser + version: Chrome 122.0.6261.128
  • Elasticvue version: 1.0.4-stable
  • How are you running elasticvue? (docker, browser extension, web app): Chrome Extensio

Additional context
Thanks in advance, let me know if I can help in any way !
And thanks a lot for all your work :)

@maurin-at-homiwoo maurin-at-homiwoo changed the title [BUG] - Regression on displaying index that have an id field [BUG] - Regression on displaying index that have a composite id field Mar 20, 2024
@cars10 cars10 added bug and removed unconfirmed labels Mar 20, 2024
@cars10 cars10 closed this as completed in 8b9aa88 Apr 21, 2024
@cars10
Copy link
Owner

cars10 commented Apr 21, 2024

Fixed in 1.0.5, thanks for reporting!

@maurin-at-homiwoo
Copy link
Author

Thanks a lot ! 👍 💯

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