Changes between Initial Version and Version 1 of Ticket #26522, comment 1


Ignore:
Timestamp:
Apr 20, 2016, 10:42:34 AM (9 years ago)
Author:
Ole Laursen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26522, comment 1

    initial v1  
    11Oh, I forgot to mention - it crashes on the very last line {{{ filtered_invoices |= qs }}} in the above with r = 2. So after having constructed a pretty complicated thing.
     2
     3And it's these lines in combine() that makes it crash:
     4
     5{{{
     6    # Now relabel a copy of the rhs where-clause and add it to the current
     7    # one.
     8    w = rhs.where.clone()
     9    w.relabel_aliases(change_map)
     10}}}
     11
     12change_map contains
     13{{{
     14   {'T4': 'T6', 'T5': 'T7', 'T6': 'T8', 'myapp_invoice_reminders': 'T5'}
     15}}}
     16
     17so T5 is both in the keys and in the values which is not allowed by the assertion in change_aliases.
Back to Top