FOUR-14497: BambooHR Driver Authorization Error by eiresendez · Pull Request #6417 · ProcessMaker/processmaker
Issue & Reproduction Steps
There is a validation error when trying to authorize the BambooHR driver.
- Go to admin - settings.
- Add the Bamboo driver.
- Click on the edit and authorize buttons.
Solution
- This error occurs in drivers using the CData API driver.
- Since the API driver operates in the background, only the driver's name or API profile should be sent from the UI. In this case,
apishould not be sent, but ratherBambooHR. Therefore, the change from driver to name was made.
How to Test
- Follow the steps described above; you should not encounter any problems when authorizing the BambooHR driver.
It can be tested on the CI Server.
Related Tickets & Packages
ci:deploy
Code Review Checklist
- I have pulled this code locally and tested it on my instance, along with any associated packages.
- This code adheres to ProcessMaker Coding Guidelines.
- This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
- This solution fixes the bug reported in the original ticket.
- This solution does not alter the expected output of a component in a way that would break existing Processes.
- This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
- This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
- This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
- This ticket conforms to the PRD associated with this part of ProcessMaker.