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

Bulk loaded entites don't appear in collection #3854

Open
terion-name opened this issue Aug 23, 2024 · 1 comment
Open

Bulk loaded entites don't appear in collection #3854

terion-name opened this issue Aug 23, 2024 · 1 comment
Assignees
Labels
bug Things that should work, but don’t

Comments

@terion-name
Copy link

I don't know if it is a bug or I am doing something wrong, but docs are very limited and I didn't see what is wrong and I'm just trial-n-erroring.

What I do: I load some data (got from external document analyzer) to a collection via REST API. Example:

[
  {
    "properties": {
      "name": [
        "Some Person"
      ]
    },
    "schema": "Person",
    "collection_id": 291,
    "id": "57bbeb49e12e95b416b4a7ae321313b8f3e82088"
  },
  {
    "properties": {
      "name": [
        "Another Person"
      ]
    },
    "schema": "Person",
    "collection_id": 291,
    "id": "d86a917787f6b10989c069dc9bad43e9663794f1"
  },
  {
    "properties": {
      "name": [
        "Some Address"
      ]
    },
    "schema": "Address",
    "collection_id": 291,
    "id": "57bbeb49e12e95b416b4a7ae321313b8f3e82088"
  },
]

And in result Address entities successfully appear in collection, but Person - not.

Снимок экрана 2024-08-23 в 16 57 04
@terion-name terion-name added bug Things that should work, but don’t triage These issues need to be reviewed by the Aleph team labels Aug 23, 2024
@catileptic
Copy link
Contributor

@terion-name you have a duplicated ID. "57bbeb49e12e95b416b4a7ae321313b8f3e82088" appears as an ID value for both the Person entity and the Address entity.

@catileptic catileptic removed the triage These issues need to be reviewed by the Aleph team label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that should work, but don’t
Projects
None yet
Development

No branches or pull requests

2 participants