getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

Undescriptive crash clientside when extending non-existing fields #3219

Closed N247S closed 3 years ago

N247S commented 3 years ago

Issue Not sure if it is a 'breaking change' or a mis-informative error. Basically an exception is thrown clientside when a panel-field plugin tries to extend a non-existing field.

Extending non-existing fields was ignored before the latest version (tested on 3.4.4), but is currently breaking the entire panel (tested on 3.5.3.1)

example code for the plugin (only index.js for brevity)

panel.plugin('my/plugin',
{
    fields:
    {
        myField:
        {
            extends: "non-existing-field",
        }
    }
}

Current view of the error clientside (for reference) image

Kirby Version tested on version 3.5.3.1

distantnative commented 3 years ago

✅ will be fixed with 3.6.0