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

handle empty description in articles json when creating the XML feed #491

Merged
merged 4 commits into from
Aug 28, 2023

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Aug 28, 2023

NULL in R gives empty list in JSON (when read back). Testing for NULL was not correct to default for title when no description is provided.

This is now handled correctly and should avoid cryptic error from XML writing. Fix #490 and fix #448

The code base is from several years ago, so it is surprising that this was never reported before. Probably a non empty description has always been provided. 🤷

cderv added 4 commits August 28, 2023 18:10
NULL in R gives empty list in JSON (when read back). Testing for NULL was not correct to default for `title` when no `description` is provided.

This is now handle correctly and should avoid cryptic error from XML writing. Fix #490 and fix #448
@cderv cderv force-pushed the listing/no-description branch from cf80092 to 4c5d4d3 Compare August 28, 2023 16:24
@cderv cderv merged commit ac5e3bf into main Aug 28, 2023
16 checks passed
@cderv cderv deleted the listing/no-description branch August 28, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
1 participant