•  
      request #14484 FieldVisitor is incomplete
    Infos
    #14484
    Nicolas Terray (nterray)
    2020-02-10 15:01
    2020-02-04 16:10
    15736
    Details
    FieldVisitor is incomplete
    When Tracker_FormElement_Field_Priority was created, the existing Tracker_FormElement_FieldVisitor had not been updated. Therefore there can be cases where the Priority field can call visitPriority() method on a visitor that does not implement it.

    This has been kept under the radar because Priority field is a readonly field (no XML import) and is not provided in the TQL expert mode (both cross tracker and tracker report). However if you entered manually the name of the priority field in the TQL interface you could get a fatal error.

    For example: have a priority field named "rank". Go to TQL and search for "rank > 1".
    => You should get an error message saying that "rank" is not supported, instead of a fatal error.
    Trackers
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    2020-02-10
    Attachments
    Empty
    References
    Referencing request #14484
    Referenced by request #14484

    Artifact Tracker v5

    rel #14269 11.12

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-02-10 15:01
    Integrated into Tuleap 11.11.99.18.

    • Category set to Trackers
    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2020-02-10