File blueprint doesn't load fields correct

Hi,

For image files, i have two templates:

  • default
  • quote

I defined a different blueprint for both of them. On my local server, everything works well. On my live server, the template is loaded correctly, but the fields i see are always coming from the default blueprint. Any ideas why this happens? The two blueprints are on the server.

Screenshot local server:

Screenshot live server:

default.yml


title: Image

columns:
  - width: 1/2
    fields:
      alt:
        label: Alternative Text
        type: text

quote.yml


title: Quote

columns:
  - width: 1/2
    fields:
      client:
        label: Client
        type: text
      text:
        type: textarea
        size: small
        buttons: false
        help: 160 characters is the recommended length

  - width: 1/2
    fields:
      alt:
        label: Alternative Text
        type: text

Are the files on the server an exact copy of the ones you have locally? is there any chance the image meta data for the image on the live server may not have been assigned the correct template when it was uploaded? Try replacing the text file on the server with your local one. This should be alongside the image file (or check the template: key set inside it is correct.)

It could potentially be a case sensitivity issue. Blue print file names should be in lower case. if you called it Qoute.yml it may be falling back to the default because linux servers are case sensitive.

Thx! It was idd a case sensitivity issue. I have no idea why i used a capital letter… :face_with_raised_eyebrow: