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

Some PX files are not included in the generated DCAT file #646

Open
mariusfranzen opened this issue Sep 2, 2024 · 1 comment
Open

Some PX files are not included in the generated DCAT file #646

mariusfranzen opened this issue Sep 2, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@mariusfranzen
Copy link

Issue
When I generate a DCAT file from PX files, some of the PX files are not included in the DCAT. There are no errors or messages.
We have discovered that this happened because the PX files that were not included in the DCAT, did not have the optional fields "SOURCE" and "LAST UPDATED". Optional files should be optional.

Note: SCB is aware of this problem as I've been in contact with them about this, but I figured it should be posted here so that people with the same issue can find this.

To Reproduce
Steps to reproduce the behavior:

  1. Create a bunch of PX files, some of which does not have the fields "SOURCE" and "LAST UPDATED"
  2. Use the admin interface of PxWeb to generate a DCAT using a database of the previously created PX files
  3. Open the DCAT file
  4. The PX files without the fields mentioned before are not included in the DCAT.

Expected behavior
All files should be included as long as all required fields are provided

Actual behavior
PxWeb ignores some files because some optional fields are missing.

@mariusfranzen mariusfranzen added the bug Something isn't working label Sep 2, 2024
@likp
Copy link
Member

likp commented Sep 2, 2024

Thanks @mariusfranzen for finding this. Even if SOURCE and LAST-UPDATE are optional keywords in the PX-file they are actually mandatory for the generation of the DCAT-AP file. We will update the user instructions for this.

@likp likp added this to the PxWeb 2024v1 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants