Skip to content

Project Detail View layout contains fields that dont exist #1133

@jon-nfc

Description

@jon-nfc

For the project layout, details tab, the right hand column is missing a comma in the definition. as such python combines these items within the list to be one single string.

Details

  • Commit that introduced the bug: 396566c
  • Effects all versions from 1.4.0 -> 1.29.0
{
            "name": "Details",
            "slug": "details",
            "sections": [
                {
                    "layout": "double",
                    "left": [
                        'organization',
                        'code',
                        'name'
                        'priority',
                        'project_type',
                        'state',
                        'percent_completed',
                    ],
                    "right": [
                        'planned_start_date',
                        'planned_finish_date',
                        'real_start_date',
                        'real_finish_date',
-                        'duration_project'
+                        'duration_project',
                        'created',
                        'modified',
                    ]
                },
                {
                    "layout": "double",
                    "left": [
                        'manager_user',
                    ],
                    "right": [
                        'manager_team',
                    ]
                },
                {
                    "layout": "single",
                    "fields": [
                        'description'
                    ]
                }
            ]
        },

Tasks

  • 👀 Fix
  • Write tests to validate the layout
  • write test to test the table fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions