Changes between Initial Version and Version 1 of Ticket #31967, comment 4


Ignore:
Timestamp:
Aug 31, 2020, 8:05:31 AM (4 years ago)
Author:
Mariusz Felisiak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31967, comment 4

    initial v1  
    11We didn't resolve output fields for `Value()` expressions before 1e38f1191de21b6e96736f58df57dfb851a28c1f,  so they were ignored when resolving an output field for functions. Now, we take them into account, that's why an error is raised. IMO it's an expected behavior. It should be enough to mention this in release notes.
    22
    3 You can fix this by using `Decimal('0')`, e.g. `Coalesce(F('field_decimal'), Decimal('0')))`
     3~~You can fix this by using `Decimal('0')`, e.g. `Coalesce(F('field_decimal'), Decimal('0')))`~~
Back to Top