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

Potential Breaking Change in REDCap 13.4.3 #474

Closed
nutterb opened this issue Mar 30, 2023 · 6 comments
Closed

Potential Breaking Change in REDCap 13.4.3 #474

nutterb opened this issue Mar 30, 2023 · 6 comments
Assignees

Comments

@nutterb
Copy link
Contributor

nutterb commented Mar 30, 2023

I've heard some reports that in REDCap 13.4.3, there have been a lot of new errors in various packages trying to access the API. It seems to have affected R, python, ruby, etc.

The crux of the issue is how vectors are being passed to the API. paste0(..., Collapse=",") will not work anymore.

See https://github.com/nutterb/redcapAPI/blob/main/R/vectorToApiBodyList.R for a solution that deals with this. This will affect anything that the API designates should be passed as an array

@wibeasley
Copy link
Member

yikes, thanks for the heads up. I'll update and check it out.

@wibeasley wibeasley self-assigned this Mar 30, 2023
@wibeasley
Copy link
Member

@nutterb, is this a pre-release version? I don't see 13.4.3 on the standard download page.

image

@nutterb
Copy link
Contributor Author

nutterb commented Apr 1, 2023

Interesting. This happened when Vanderbilt went to 13.4.3. but they may be on some kind of inside track. Maybe this wont be a problem by the time it's available to you?

What I do know is that some methods haven't ever worked with that formatting. I have had problems with exportArms and deleteArms. I think exportFieldChoice mapping required the different formatting, too, I think.

@wibeasley
Copy link
Member

To confirm to anyone listening, today's upgrade on OU's server (to 13.4.10) had some of these problems. I'm working on it now.

(@nutterb, thanks for the heads up. It was nice having knowing I had to schedule time to upgrade REDCapR after upgrading the server.)

@wibeasley
Copy link
Member

I think we're clear on the collapsed vectors. Things did have to change a little in #477 & #478.

@wibeasley
Copy link
Member

For those with access to the Community site, read about this issue here: https://redcap.vanderbilt.edu/community/post.php?id=202055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants