Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6205

Configure Time property of Date field was ignored by system

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • 6.1.6, 6.2.3
    • None

    Description

      Steps to reproduce

      Configure a new content type and an app that having a Date property with a dateField, note that the issue is that "time=true" property of dateField was not taken into account by system as ticket description.

      • Sample content type config:
        datasource:
            workspace: test
            autoCreate: true
        
        model:
            properties:
            - name: title
              label: Title
              type: String
              required: true
              i18n: true
            - name: myDate
              label: Your date
              type: Date
        
      • Sample app config:
        !content-type:test-app
        name: test-app
        label: Test
        icon: icon-app
        
        # Optionally override any of the app configuration supplied by the content type.
        subApps:
          browser:
            workbench:
              contentViews:
                  - name: tree
                    dropConstraint:
                      $type: jcrDropConstraint
                      primaryNodeType: test
                    $type: treeView
                    columns: &columns
                      - name: jcrName
                        label: jcrName
                        $type: jcrTitleColumn
                        editable: true
                        nodeTypeToIcon:
                          mgnl:contact: icon-people
                          mgnl:content: icon-folder
                        editor:
                          availability:
                            nodes: true
                            properties: true
                      - name: title
                        label: Display name
                        filterComponent: &textFilter
                          $type: textField
                      - name: myDate
                        label: Your date
                        $type: dateField
                        type: java.util.Date
                        time: true
        

      Expected results

      Support customer to display "time" and save it properly.

      Actual results

      See illustration image below on 6.2.3, note that we don't have even "time" property to pickup

      Workaround

      No.

      Development notes

      Notes to/from developers

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              thien.quach Quach Hao Thien
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1h
                    1h