1. search patient
2. go to master record
3. select wait list from dropdown *note listname or inspect element and get waitlistid
4. update record
access mysql select * from waitingList and listID is incorrect.
Expected result would be that the id of the wait list selected would populate waitingList.listID
The maxPosition is populating instead
problem is with WLWaitingListUtil.add2WaitingList the ListId is being populated with the maxPosition (list.setListId(maxPosition) and should just be waitingListID.
Looks like it has been an issue for about 4years and 10months