Uploaded image for project: 'Customisations Database'
  1. Customisations Database
  2. CUSTDB-713

Wrong error message when there is invalid JSON in composer.json

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None

      When composer.json contains invalid json, the resulting error is
      ```
      Invalid value for name property in composer.json. Please refer to the Extension Validation Policy for the valid format.
      ```
      whichs comes from https://github.com/phpbb/customisation-db/blob/4e2c5d4f2fb448d3ea10348b00c7a59352369bb9/contribution/extension/type.php#L210
      Instead of having 1 large if, it should be split and different messages should be presented to the user.

            prototech prototech [X] (Inactive)
            Paul Paul Sohier
            Archiver:
            DavidIQ David Colón

              Created:
              Updated:
              Resolved:
              Archived: