Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCX-72 Cast BigInteger and BigDecimal to String #63

Merged
merged 1 commit into from
May 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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