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

Can't query Schedules through API. #5458

Closed
1 task done
azturner opened this issue May 30, 2023 · 1 comment
Closed
1 task done

Can't query Schedules through API. #5458

azturner opened this issue May 30, 2023 · 1 comment
Labels
Fixed in v15.2 Fixed in v16.0 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be.

Comments

@azturner
Copy link
Contributor

azturner commented May 30, 2023

Please go through all the tasks below

  • Check this box only after you have successfully completed both the above tasks

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

/api/schedules returns an exception due to FriendlyScheduleText property not having a setter. Thinking this is because it has the [DataMember] attribute even though it is not a database property.

image

Expected Behavior

Should return list of schedules

Actual Behavior

Causes Exception

Steps to Reproduce

Using browser, navigate to https://prealpha.rocksolidchurchdemo.com/api/schedules (be sure to login first)

Rock Version

v12 - v16

Client Culture Setting

en-US

@sparkdevnetwork-service sparkdevnetwork-service added the Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. label Jun 26, 2023
@nairdo
Copy link
Member

nairdo commented Jun 26, 2023

@azturner If you needed a quicker fix, it looks like that error is happening when the response content type is application/xml but it appears to be working when it is application/json. Regardless, we're going to try to get that fix into v15.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in v15.2 Fixed in v16.0 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be.
Projects
None yet
Development

No branches or pull requests

5 participants