Opened 14 years ago
Closed 14 years ago
#1567 closed Bug (fixed)
Web interface uses wrong boolean type in JSON messages
Reported by: | KyleK | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | 1.41 |
Component: | Web Client | Version: | 1.40 |
Severity: | Normal | Keywords: | |
Cc: |
Description
The web interface uses the boolean values "true" and "false" in its JSON commands, but the server won't understand these correctly, as C doesn't have a real boolean type. As a result, preferences are not properly transmitted.
- Open preferences
- Click 'Save' without having changed anything
- Open preferences again
- The boxes for "encryption" and speed limits have reversed.
The web interface must send the numerical value 1 for 'true' and 0 for 'false'.
Attachments (1)
Change History (4)
comment:1 Changed 14 years ago by KyleK
Changed 14 years ago by KyleK
comment:2 Changed 14 years ago by charles
- Milestone changed from None Set to 1.41
- Owner changed from Gimp to charles
- Status changed from new to assigned
comment:3 Changed 14 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
Ignore the "encryption" bit in my previous post. That preference isn't boolean.