Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P PIM IncidenceEditor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PIM
  • PIM IncidenceEditor
  • Merge requests
  • !33

Preserve datetimes of incidences created from templates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Glen Ditchfield requested to merge gditchfield/incidenceeditor:template-datetimes into release/22.04 Apr 01, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

When the editor applies a template, as identified by the "isTemplate" property, it (usually) does not copy its start/end/due datetimes; it keeps the datetimes set before the template was applied. Unfortunately when the instance is saved it still has the "isTemplate" property, and so when it is edited the editor does not copy its datetimes; the GUI fields are left with default values. Removing the property fixes the bug.

BUG: 332048

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: template-datetimes