•  
      request #41859 Trackers DAO should be in PDO
    Infos
    #41859
    Marie Ange Garnier (marieange)
    2025-02-20 16:39
    2025-02-20 16:34
    43535
    Details
    Trackers DAO should be in PDO

    Why?

    It's safer to rely on PDO types instead of manually escape values

    When we are doing new code, sometimes we need to move existing code out of DAO instead of providing functionalities

    As of today there are two different types of DAO

    • hierarchical DAO

    • regular DAO

    Regular DAO conversion is easier, the file "only" needs conversion

    Hierarchical DAO is trickier

    Regular dao

    • [] Tracker_PermissionsDao

    • [] Tracker_Artifact_Attachment_TemporaryFileManagerDao

    • [] Tracker_Artifact_Changeset_IncomingMailDao

    • [] Tracker_Artifact_PriorityDao

    • [] Tracker_Artifact_Changeset_CommentDao

    • [] Tracker_Artifact_Changeset_ValueDao

    • [] Tracker_Artifact_ChangesetDao

    • [] Tracker_Artifact_Changeset_IncomingMailDao

    • [] Tracker_Artifact_PriorityHistoryDao

    • [] Tracker_ArtifactDao

    • [] Tracker_CannedResponseDao

    • [] Tracker_FileInfoDao

    • [] Tracker_GlobalNotificationDao

    • [] Tracker_PermDao

    • [] TrackerDao

    • [] FieldDao

    • [] BurndownFieldDao

    • [] ComputedFieldDao

    • [] OpenListFieldDao

    • [] OpenListValueDao

    • [] BindDecoratorDao

    • [] BindDefaultValueDao

    • [] BindStaticDao

    • [] BindStaticValueDao

    • [] BindUgroupsValueDao

    • [] BindUsersDao

    • [] PermissionsOnArtifactFieldValueDao

    • [] PropagatePropertiesDao

    • [] HierarchyDAO

    • [] UgroupsToNotifyDao

    • [] UsersToNotifyDao

    • [] TrackerReportConfigDao

    • [] Tracker_Report_Renderer_Table_ColumnsDao

    • [] Tracker_Report_Renderer_Table_FunctionsAggregatesDao

    • [] Tracker_Report_Renderer_Table_SortDao

    • [] Tracker_Report_Renderer_TableDao

    • [] Tracker_Report_RendererDao

    • [] Tracker_ReportDao

    • [] Tracker_RuleDao

    • [] Tracker_Semantic_ContributorDao

    • [] Tracker_Semantic_DescriptionDao

    • [] Tracker_Semantic_StatusDao

    • [] Tracker_Semantic_TitleDao

    • [] SemanticTooltipDao

    • [] Workflow_TransitionDao

    • [] Transition_PostAction_CIBuildDao

    • [] Workflow_Transition_Condition_FieldNotEmpty_Dao

    • [] Tracker_Workflow_Trigger_RulesDao

    Hierarchical DAO

    • [] FieldValueDao

    • [] Tracker_Report_Criteria_ValueDao

    • [] Transition_PostAction_FieldDao

    Do not migrate

    • Tracker_Migration_V3_*

    Empty
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References

    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