Skip to content

Commit

Permalink
HCX-72 Cast BigInteger and BigDecimal to String
Browse files Browse the repository at this point in the history
  • Loading branch information
NatalieKor committed May 25, 2020
1 parent cba7bb2 commit 68670d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ v1.4.5 [unreleased]
### Bugfixes
- [#62](https://github.com/latera/camunda-ext/pull/62) Fix OTRS entity path
- [#60](https://github.com/latera/camunda-ext/pull/60) Fix saving JSON when update HOMS order
- [#63](https://github.com/latera/camunda-ext/pull/63) Cast BigInteger and BigDecimal to String

v1.4.4 [2020-04-17]
-------------------
Expand Down
2 changes: 1 addition & 1 deletion src/org/camunda/latera/bss/utils/Order.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class Order implements GroovyObject {
// LocalDateTime, LocalDate, Date -> '2019-12-31T23:59:59'
value = iso(value)
}
if (isNumber(value)) {
if (value instanceof BigInteger || value instanceof BigDecimal) {
// BigDecimal and BigInteger values are stored in serializable format, so convert them to String
// 12101201 -> '12101201'
value = value.toString()
Expand Down

0 comments on commit 68670d6

Please sign in to comment.