Skip to content

Unvalidated configration of serverPort  #23

@jennydaman

Description

@jennydaman

if PACSobjName in config.dbAPI.PACSservice_listObjs():
if listenerObjName in config.dbAPI.listenerService_listObjs():
d_PACSservice : dict = config.dbAPI.PACSservice_info(
PACSobjName
)
d_service = d_PACSservice['info']
d_response['pypx'] = await pypx.find({**d_service, **d_queryTerms})
if d_response['pypx']['status'] == 'success':
d_response['status'] = True
d_response['message'] = "pypx.then = '%s' was executed successfully" % \
d_queryTerms['then']

Somewhere within this block of code, if PFDCM is configured with a pacs.json file where serverPort is a number instead of a string, pfdcm will respond "500 Internal Server Error" with no debugging help nor anything printed to stdout/stderr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions