This repository was archived by the owner on Jul 24, 2023. It is now read-only.
Commit d650762
committed
Handle boolean value to fix signature issue
If an AX attribute is set to boolean(true) value it results in
undefined method `gsub' for true:TrueClass error.
If it's set to false then its replaced by empty string resulting in
to signature mismatch on the consumer, because the server still computes
false AX value.
Fix is to set val to empty string if it's nil and if it's
boolean type then convert it to string.1 parent 377e6a8 commit d650762
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
0 commit comments