vishi
(Vishwajeet singh)
March 9, 2021, 7:09am
1
For Appointmnet module custom data fetch from rest services is not working properly.
It works properly for all the fields except countOfAppointments and unallocatedMinutes . Whenever any of these two fields is added it gives conversion error.Detail call is as below
Below rest call gives - converting class org.openmrs.module.appointmentscheduling.TimeSlot to org.openmrs.module.webservices.rest.web.representation.CustomRepresentation@41024373 error.
http://localhost:8080/openmrs/ws/rest/v1/appointmentscheduling/timeslot?appointmentType=4da187c6-c436-11e4-a470-82b0ea87e2d8&v=custom:(uuid,countOfAppointments)
dkayiwa
(Daniel Kayiwa)
March 10, 2021, 7:49am
2
Are you able to reproduce it here? https://qa-refapp.openmrs.org/
vishi
(Vishwajeet singh)
March 10, 2021, 11:07am
3
dkayiwa
(Daniel Kayiwa)
March 11, 2021, 7:54am
5
@vishi can you, again, just click on the above links and tell me what happens?
vishi
(Vishwajeet singh)
March 12, 2021, 6:03am
6
I have scheduled a provider(jake smith) for the service dermatology for 24th march 2021.
Now, if you will click the links you will see the error.
Earlier it was not showing any error because there was no provider scheduled.
Steps to reproduce error
1.go to https://qa-refapp.openmrs.org/openmrs/appointmentschedulingui/scheduleProviders.page
Schedule a provider for any service (need to have UUID of it, currently using dermatology).
3.Try to fetch timeslot with v= custom having countofappointments
vishi
(Vishwajeet singh)
March 15, 2021, 7:40am
7
Hi, Dkayiwa
Did you find something on this?
dkayiwa
(Daniel Kayiwa)
March 15, 2021, 9:38am
8
dkayiwa
(Daniel Kayiwa)
March 15, 2021, 2:47pm
9
Remember to share the url after creating the ticket. Then i will commit the fix.
vishi
(Vishwajeet singh)
March 16, 2021, 7:34am
10
Is there any reference on creating a ticket ?