editor icon indicating copy to clipboard operation
editor copied to clipboard

Builder with image: Invalid file model type

Open findthebug opened this issue 4 years ago • 4 comments

Kirby: 3.0.0 Builder:2.0 see: https://github.com/getkirby/editor/issues/67

Reproduce:

  • Create a builder entry, and add the editor to it. you can now add the editor inside a builder.
  • add an image inside the editor.
  • The panel throws an error: Invalid file model type

Invalid file model type: kirby-builder/pages/page1/fields

Bildschirmfoto 2019-11-25 um 14 57 44

findthebug avatar Nov 25 '19 13:11 findthebug

This problem still persists. +++

favger avatar Jun 03 '20 00:06 favger

@bastianallgeier I've debugged into the Invalid file model type: kirby-builder/pages/{{currentPage}}/fields issue here: https://github.com/TimOetting/kirby-builder/issues/148#issuecomment-648846400 It seems like the core api GET (:all)/files route is very generic and is always preferred over matching plugin api routes when the url ends with files.

jonathan-reisdorf avatar Jun 24 '20 15:06 jonathan-reisdorf

I have now also run into this issue ... +1

hagen-wende avatar Jul 01 '20 14:07 hagen-wende

Editor inside Builder on default image editor block. It happens when trying to Select image. Image upload works without issue.

iskrisis avatar Jul 03 '20 14:07 iskrisis