-
Notifications
You must be signed in to change notification settings - Fork 63
When a new property is added to a LeBlender grid editor, it breaks editing #89
Comments
I get this too. Seems like the issue was introduced after Umbraco 7.7 was released, and is related to #87 |
I've applied the fix from that issue and can create new properties - this is an entirely separate issue. It looks like when the grid editor opens the sidebar it tries to instantiate each field editor with the existing value from the grid editor, and falls over if that field property doesn't exist because that grid editor instances was created before the field was added. Looks like it just needs a check to see if the property exists and if not instantiate the field with no/default value as it would for a new instance. |
There is a spelling error in line 139 of parameterconfig.controller.js saying "editr" instead of "editor"... fix that and everything works again.. ;) |
Hey guys, I am having the same problem as @geoffbeaumont, however it is not solved with the fix that @ulrichebsen posed. Any news on this? |
@RasmusEdvardsen Did you try to up the serial in ClientDependency.config by 1? |
Yes, thanks! This works. |
If you add a new field to an existing LeBlender type grid editor then when you try to edit existing instances of this content in grid fields, the properties sidebar will be blank.
I'd expect to be able to at least add new fields without the editor breaking - they should just be defaulted to their normal "empty" state.
The text was updated successfully, but these errors were encountered: