Unable to configure UPS
Description
Problem/Justification
None
Impact
None
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:
John Marven June 10, 2020 at 9:19 PM
Yeah, I figured out the issue. On Brave, and Safari there seems to be an issue with the dropdown setting the value correctly to be sent to the API. The driver value that needs to be sent to the API is not documented very well. The API driver value that worked is "usbhid-ups$BACK-UPS XS LCD". Using Chromium, and Chrome the driver value is built and sent correctly.
William Gryzbowski June 10, 2020 at 7:26 PM
Did you try selecting a different driver?
Not Applicable
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Triage Team
Triage TeamReporter
John Marven
John MarvenComponents
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created June 9, 2020 at 7:48 AM
Updated June 12, 2020 at 1:35 PM
Resolved June 12, 2020 at 1:35 PM
Configuring through Services > UPS > Configure errors out with
{"ups_driver": ["This field is required"]}
When attempting to call the API endpoint directly with the following body
{
"ups_mode": "master",
"ups_identifier": "ups",
"ups_port": "auto",
"ups_options": "",
"ups_optionsupsd": "",
"ups_description": "",
"ups_shutdown": "batt",
"ups_shutdowntimer": 30,
"ups_shutdowncmd": null,
"ups_nocommwarntime": null,
"ups_monuser": "upsmon",
"ups_monpwd": "fixmepass",
"ups_extrausers": "",
"ups_rmonitor": false,
"ups_emailnotify": false,
"ups_toemail": "",
"ups_subject": "UPS report generated by %h",
"ups_powerdown": false,
"ups_hostsync": 15,
"ups_driver": "usbhid-ups"
}
Error:
{
"ups_driver": [
"Select a valid choice. usbhid-ups is not one of the available choices."
]
}