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

Search: Difference between number of datasets listed by organization/category and number of results #979

Closed
ortnever opened this issue Feb 24, 2023 · 5 comments · Fixed by #1236
Assignees
Labels
bug Something isn't working upstream issue An issue related to data integration or API

Comments

@ortnever
Copy link

It's a small thing but strange. The number of datasets shown in the left frame does not correspond to the number of datasets in the result list for the category "Energy" or the organization "Federal Office of Energy".

image

image

image

Environment (please complete the following information):

  • Visualize environment and version: INT
  • Edge v3.19.5 [0481cfa]
@ortnever ortnever added the bug Something isn't working label Feb 24, 2023
@ptbrowne
Copy link
Collaborator

The cube with title ""Modellergebnisse EP2050+: Szenario ZERO Basis, KKW-Laufzeit 50 Jahre, ausgeglichene Jahresbilanz" is count twice for the count on the left. This particular cube is at version 5. The version 4 lacks an expire pattern (unlike versions 3, 2, 1). The version 4 of the cube should be fixed and have an <http://schema.org/expires> predicate so that it is considered expired.

@ptbrowne ptbrowne added the upstream issue An issue related to data integration or API label Feb 28, 2023
@ortnever
Copy link
Author

Salut @AFoletti , Peux-tu regarder le commentaire de Patrick ci-dessus. Merci.
J'ai utilisé Lindas PROD pour tester, depuis visualize int.

@AFoletti
Copy link

Will check later today or tomorrow morning.

@AFoletti
Copy link

So: I have to say that the need of a <http://schema.org/expires> predicate is totally new to me. I guess it's automatically set by the CubeCreator to the former version when a new one is created.

Version 5 of this cube is only a draft, while 4 is not. In other words, Version 4 is still the officially valid one and thus not expired.

My guess is that Visualize should not only check for expiring date but if some of the still active versions are drafts to keep the lists consistent.
@ptbrowne what do you think?

@Rdataflow
Copy link
Contributor

@AFoletti schema:expires is handled by CC yes.

@ptbrowne this case shows multiple versions can definitely occurs intentionally (one versoin published, a later one draft). Thus the counting logic needs to be corrected to reflect this kind of situation...

cc @ortnever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream issue An issue related to data integration or API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants