[MGNLUI-5271] ContentType based Content App's View: order 'status' & 'moddate' can not be changed. Created: 01/Jul/19  Updated: 30/Sep/20

Status: Open
Project: Magnolia UI
Component/s: configuration, content app
Affects Version/s: 6.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File ContentType App Columns.png    
Issue Links:
Relates
relates to MGNLUI-6259 ContentType based App & Column Editor... Open
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

The virtual app created by content types have OTB a 'status' & 'moddate" column "virtually"

Problem:

When adding more column views (as most apps will), moddate & status are always on second and third place, no matter what is added additionally (see print screen).

This is very annoying, as in all other apps its usually the two last ones. 

 

The code on use (the content apps config):

!content-type:event
name: events
label: Events
icon: icon-calendar

subApps: 
  detail:
    editor:
      form:
        tabs:
          - name: default
            fields:
              - name: eventType
                fieldType: select
                label: Event Type
                options:
                  - name: workEvent
                    value: workEvent
                    label: Work Event
                  - name: holiday
                    value: holiday
                    label: Holiday
                  - name: familyEvent
                    value: familyEvent
                    label: Family Event
                  - name: other
                    value: other
                    label: Other
                    selected: true
                    
  browser:
    workbench:
      contentViews:
        - name: tree
          class: info.magnolia.ui.workbench.tree.TreePresenterDefinition
          columns:
            - name: jcrName
              propertyName: jcrName
              sortable: true
              label: Event name
              class: info.magnolia.ui.workbench.column.definition.PropertyColumnDefinition
            - name: location
              propertyName: location
              sortable: true
              label: Location of Event
              class: info.magnolia.ui.workbench.column.definition.PropertyColumnDefinition
            - name: date
              propertyName: date
              sortable: true
              label: Date of Event
              class: info.magnolia.ui.workbench.column.definition.PropertyColumnDefinition
            - name: eventType
              propertyName: eventType
              sortable: true
              label: Type of Event
              class: info.magnolia.ui.workbench.column.definition.PropertyColumnDefinition
            - name: status
              formatterClass: info.magnolia.ui.workbench.column.StatusColumnFormatter
              sortable: true
              label: Status
              displayInChooseDialog: false
              width: 45
              class: info.magnolia.ui.workbench.column.definition.StatusColumnDefinition
            - name: moddate
              propertyName: mgnl:lastModified
              formatterClass: info.magnolia.ui.workbench.column.DateColumnFormatter
              sortable: true
              label: Modification date
              displayInChooseDialog: false
              width: 160
              class: info.magnolia.ui.workbench.column.definition.MetaDataColumnDefinition
              

Generated at Mon Feb 12 09:24:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.