alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
303 stars 236 forks source link

`undefined` in file paths when viewing templates in Manage Prototype #2392

Closed joelanman closed 6 months ago

joelanman commented 7 months ago

Description of the issue

When viewing templates, there are some file paths that are broken as they include undefined:

      <link rel="icon" sizes="48x48" href="/plugin-assets/govuk-frontendundefined/images/favicon.ico">
      <link rel="icon" sizes="any" href="/plugin-assets/govuk-frontendundefined/images/favicon.svg" type="image/svg+xml">
      <link rel="mask-icon" href="/plugin-assets/govuk-frontendundefined/images/govuk-icon-mask.svg" color="#0b0c0c">
      <link rel="apple-touch-icon" href="/plugin-assets/govuk-frontendundefined/images/govuk-icon-180.png">
      <link rel="manifest" href="/plugin-assets/govuk-frontendundefined/manifest.json">

Steps to reproduce the issue

  1. Navigate to Manage Prototype > Templates > View a template

Actual vs expected behaviour

The paths should not be broken

Environment (where applicable)