Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

    •  
      request #39368 Always there field existence is not mandatory to use it in XTS TQL
    Infos
    #39368
    Kevin Traini (ktraini)
    2024-09-10 17:15
    2024-09-10 15:16
    40980
    Details
    Always there field existence is not mandatory to use it in XTS TQL

    In cross-tracker search widget, when writing a query with conditions on "always-there fields" such as @id, @last_update_date, @last_update_by, @submitted_on and @submitted_by, we ran a check on each tracker to see if they had the corresponding field. In a way it breaks the fact that the field is 'always there'.

    Since those fields rely on data that is always stored (regardless of the presence of the field, the date and creator of an artifact is stored in the database), the field is not needed.

    When the field is present, its permissions will apply and possibly restrict the artifacts matched by the query. When the field is absent, the data will be considered as safe to access, and the condition will apply. This means more artifacts can be matched by queries with conditions containing the "always-there fields" above.

    Cross tracker search
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Kevin Traini (ktraini)
    Closed
    2024-09-10
    Attachments
    Empty
    References
    Referencing request #39368

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2024-09-10 17:14
    • 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
    • Assigned to changed from None to Kevin Traini (ktraini)
    • Connected artifacts