Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #381
Closed
Open
Created Dec 17, 2018 by Matija Obreza@mobrezaOwner

KPI counting accessions

I'm trying to define a KPI Execution to count the "Number of accessions documented in published Datasets".

  • Parameter: Dataset with state = 'PUBLISHED'
  • No dimensions.

Execution fails with illegal attempt to dereference collection [dataset0_.id.accessionRefs] with element property reference [accession].

This is because Dataset#accessionRefs is a collection and needs to be joined (as documented https://stackoverflow.com/questions/24750754/org-hibernate-queryexception-illegal-attempt-to-dereference-collection/24751098#24751098).

Fix

We should introduce something similar to the link property in ExecutionDimension to the Execution to declare the join.

Assignee
Assign to
Time tracking