Changes between Initial Version and Version 3 of Ticket #33892


Ignore:
Timestamp:
Aug 4, 2022, 2:13:35 AM (21 months ago)
Author:
Luke Wiwatowski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33892

    • Property Resolutionduplicate
    • Property Status newclosed
    • Property Summary Management commands with flags using action="store_false" create possible inverted boolean flags in call_commandManagement commands with flags using "store_false" create inverted boolean flags in call_command
  • Ticket #33892 – Description

    initial v3  
    1 In any management command which parses a flag using the action `store_false` it has an unexpected side effect when calling the management command from the `call_command` function. When `call_command` parses the arg it won't be taken into account the action and can create weird inversions of the intent of the boolean.
     1In any management command which parses a flag using the action `store_false` it has an unexpected side effect when calling the management command from the `call_command` function. When `call_command` parses the arg it won't be taken into account the action and can create weird inversions of the intent of the boolean. **This is only relevant to options inputs via keyword arguments, string args work as excpected.**
    22
    33**example:**
Back to Top