Changes between Initial Version and Version 1 of Ticket #35235, comment 5


Ignore:
Timestamp:
Feb 20, 2024, 5:23:26 AM (9 months ago)
Author:
David Sanders

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35235, comment 5

    initial v1  
    1616
    1717The problem is `Aggregate.resolve_expression()` calls `default._output_field_or_none` which then caches the `None` because it's a `@cached_property`.... which makes setting the `output_field` essentially a no-op.
     18
     19Edit: Sharon feel free to use this ^ as a starting point for your patch 👍  Simon Charette will have some feedback on whether this is "correct" or whether there's a larger problem at play here, but I'd wager this is definitely something that needs fixing.
Back to Top