•  
      request #15049 id conflict between real value and none value
    Infos
    #15049
    Nicolas Terray (nterray)
    2021-08-21 14:23
    2020-07-02 09:56
    16299
    Details
    id conflict between real value and none value

    Since the beginning, the "none" value (aka no value is selected for this field) has a special id = 100.

    However nothing prevents the real value to get the same id 100. This produces weird behavior:

    1995-value-should-not-have-id-100.gif

    (severity is not really empty)

    Furthermore if you change the color of "Low impact", this has repercussions on the display of None:

    1996-color-should-not-be-the-same-for-value-and-none.png

    I currently have no idea how to fix that for existing instances. For new instances, we could force the auto_increment to start at 101.

    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Blocked
    Empty
    Attachments
    References
    Referenced by request #15049

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes