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

Checksumme fehlt in Solr #5828

Closed
jone opened this issue Jul 17, 2019 · 4 comments · Fixed by #5874
Closed

Checksumme fehlt in Solr #5828

jone opened this issue Jul 17, 2019 · 4 comments · Fixed by #5874
Labels
Milestone

Comments

@jone
Copy link
Member

jone commented Jul 17, 2019

Version: 2019.4.0.dev0

Neues Dokument per Drag'n'drop hochgeladen:
https://dev.onegovgever.ch/rk/ordnungssystem/ressourcen-und-support/ict/informatik/software-fachapplikationen/dossier-52/document-1382#overview

Dokument über @listing-Endpoint abgefragt:
https://dev.onegovgever.ch/rk/ordnungssystem/ressourcen-und-support/ict/informatik/software-fachapplikationen/dossier-52/@listing?columns%3Alist=bumblebee_checksum&name=documents

Resultat:

{
  "@id": "https://dev.onegovgever.ch/rk/ordnungssystem/ressourcen-und-support/ict/informatik/software-fachapplikationen/dossier-52/@listing?columns%3Alist=bumblebee_checksum&name=documents", 
  "b_size": 25, 
  "b_start": 0, 
  "items": [
    {
      "@id": "https://dev.onegovgever.ch/rk/ordnungssystem/ressourcen-und-support/ict/informatik/software-fachapplikationen/dossier-52/document-1382", 
      "bumblebee_checksum": null
    }
  ], 
  "items_total": 1
}

Problem: bumblebee_checksum ist null
Erwartet: korrekte Checksumme

Über API-Request direkt auf das Dokument wird die Checksumme ausgeliefert:
https://dev.onegovgever.ch/rk/ordnungssystem/ressourcen-und-support/ict/informatik/software-fachapplikationen/dossier-52/document-1382

...
"bumblebee_checksum": "576a898421514a04cd9f31245dccdd87c94819772b2578e19cd4d7b11c894795",

Nebenbemerkung:
Das gleiche Problem habe ich im Testserver mit #5804 festgestellt.

@jone jone added the Bug label Jul 17, 2019
@phgross phgross added this to the Sprint #3 milestone Jul 23, 2019
@lukasgraf lukasgraf self-assigned this Jul 23, 2019
@lukasgraf
Copy link
Contributor

This is happening because

At this point I'm not 100% sure yet because this happens only because getId is not in our Solr-Schema, and therefore gets removed from the attributes (leading to an empty list), or if it's actually the case that metadata in Solr NEVER gets updated as soon as idxs is specified in a reindexObject() call. But I suspect the latter is the case unfortunately.

@lukasgraf
Copy link
Contributor

Issue in ftw.solr: 4teamwork/ftw.solr#136

@lukasgraf
Copy link
Contributor

Second, related issue: 4teamwork/ftw.solr#137
(This issue would become a problem once we somehow manage to solve the first one).

@lukasgraf
Copy link
Contributor

Moved issue back to backlog because we need to discuss and address the two ftw.solr issues mentioned above first.

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

Successfully merging a pull request may close this issue.

3 participants