Skip to content

ERROR: procedure generateidentifierfromstoredprocedure(unknown) does not exist #12126

@vera

Description

@vera

First of all, I'm not sure if this is really a bug or a misconfiguration on my side.

I am trying to update our fork from Dataverse v6.8 to v6.9.

I have configured one of my PID providers to use "storedProcGenerated" and have created a custom generateIdentifierFromStoredProcedure function in the db. This setup was working fine using Dataverse v6.8.

Now, when I try to create a dataset using that PID provider, it fails with the following error:

Internal Exception: org.postgresql.util.PSQLException: ERROR: procedure generateidentifierfromstoredprocedure(unknown) does not exist
  Hint: No procedure matches the given name and argument types. You might need to add explicit type casts.
  Position: 6
Error Code: 0
Call: CALL generateIdentifierFromStoredProcedure(?)
        bind => [1 parameter bound]
Query: ResultSetMappingQuery(name="Dataset.generateIdentifierFromStoredProcedure" )

After searching the issues, I found this similar bug report: #11980 which seems to have been fixed by making the code changes here:

Image

https://github.com/IQSS/dataverse/pull/11827/changes

Now I'm wondering whether similar changes should have been made to the code which calls generateIdentifierFromStoredProcedure here and here:

...or, like I said, whether it's an issue on my side. Thanks in advance for taking a look at this :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions