Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-241

Fix CLI to not create invalid definitions on 6.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.1.0
    • None

    Description

      The CLI create-content-type and create-app commands specify incorrect definitions. in the app definition. 

      They should be changed so that the CLI does not create a broken definition. 

      This definition will not work and cause log issues on 6.2.*

      https://git.magnolia-cms.com/projects/BUILD/repos/npm-cli/browse/lib/config/mgnl-cli-prototypes/app/_default/apps/__name__.yaml

      # Optionally override any of the app configuration supplied by the content type.
      # subApps:
      #   detail:
      #     editor:
      #       form:
      #         tabs:
      #           default:
      #
      #             fields:
      #               - name: title
      #                 rows: 5
      

      Also please verify that the other commands and prototypes do not create invalid defintions that send warnings to the log or create 'problems' in the definitions app.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rsiska Robert Šiška
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD