getgrav / getgrav/grav-plugin-admin

config system blueprint assets.collections type change to multilevel

Open
#1,223 3 comments 0 reactions 0 assignees View on GitHub
more info needed
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

Since the upgrade to Grav 1.3.3 the `assets.collections` type changed from `array` to `multilevel`.
I don't know if this was supposed, but it looks really odd and it leads to an error if new elements are not added correctly.

![array_collection](https://user-images.githubusercontent.com/15085007/30454513-e01a0964-999c-11e7-8c5f-80188145e0c9.png)

I changed the type back to `array` in `/system/blueprints/config/system.yaml` but if not corrected, the next update will overwrite this.

Contributor guide

Open the contributing guide

Research direction

Open /system/blueprints/config/system.yaml and inspect the assets.collections definition, starting with the reported type change from array to multilevel. Restore the intended type and verify that the configuration no longer produces the reported error for newly added elements and will not be overwritten on the next update.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.