getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 223 forks source link

The media_order in *.fr.md file does not match Admin dropzone contents #2328

Open thekenshow opened 1 year ago

thekenshow commented 1 year ago

I'm working on localizing a site, adding .fr.md files and renaming/adding images as .fr.jpg and *.en.jpg, and have run into a strange behaviour:

Screenshot with banner.jpg in Expert view but banner.en.jpg in dropzone

Screen Shot 2023-01-12 at 8 43 46 AM

Editing & saving the page content in Admin or Sublime Text is reflected in both. This same issue is reproducible with a non-modular *.fr.md page.

Possibly Related

I'm on a Mac and the .fr.md in question is user/pages/07.service/01.national-accounts/modular.fr.md. The macOS Finder shows any .service file (like the 07.service in this path) as a program (app bundle) instead of a folder. So I have to use Show Package Contents in the Finder to navigate into it.

I can navigate to it just fine in the Terminal, but I wonder if that's somehow throwing the Admin file reading off? What really makes no sense is that the media_order is wrong and the dropzone is right. I'd expected the opposite.

rhukster commented 1 year ago

Can you please provide a zip file of the page in question? Also please provide your system.yaml configuration file.

thekenshow commented 1 year ago

Here they are (this is a non-modular that exhibits the same behaviour):

02.sprinkler-system-service.zip

system.yaml.zip