Can't create a client against icat.server 6.1.0-SNAPSHOT: icat.exception.ICATParameterError: Parameter is not an ICAT entity
#153
Labels
compatibility
Issues about compatibility with libraries or other packages
wontfix
This will not be worked on
Hello,
The new icat.server snapshot (6.1.0-SNAPSHOT) no longer works with python-icat, when trying to create a client we get an error from
getEntityInfo
:icat.exception.ICATParameterError: Parameter is not an ICAT entity
. @ajkyffin has pointed out that python-icat queries for the entity info of the "Parameter" entity, which isn't a real entity in icat.server (see /~https://github.com/icatproject/python-icat/blob/develop/src/icat/entities.py#L253). The commit on icat.server which changed what is returned fromgetEntityInfo
is here: icatproject/icat.server@7420cedAlan could modify icat.server to return entity info for "Parameter" to keep in line with old behaviour, but that seems like the wrong thing to do and instead we should not expect to have "Parameter" be valid for getting entity info
The text was updated successfully, but these errors were encountered: