Vincent Langlet

Results 403 comments of Vincent Langlet

> There is a problem if you use custom blocks that rely on an entity. You have to use the ModelListType and define a field description and some other technical...

Indeed, we got an issue because someone wasn't using the acl-bundle https://github.com/sonata-project/SonataAdminBundle/issues/7086. So this can be related to https://github.com/sonata-project/SonataAdminBundle/issues/7097. The Security\Acl namespace is used in - AbstractAdmin which implements DomainObjectInterface...

I created a discussion about it on symfony to get some help https://github.com/symfony/symfony/discussions/48257 WDYT about this @jordisala1991 ? How should we update our code to make acl optionnal ?

The validation is executed on the object only https://github.com/sonata-project/SonataAdminBundle/blob/4.x/src/Action/SetObjectFieldValueAction.php#L167 Since we're accessing to the fieldDescription https://github.com/sonata-project/SonataAdminBundle/blob/4.x/src/Action/SetObjectFieldValueAction.php#L124, it should be possible to access to a constraint property. Something like ``` $violations...

> Sure, those are just my proposals. Is there other way than assertions in entity to run validations for value on a list? Currently no. But ``` protected function configureListFields(ListMapper...

It requires to target 5.x, isn't it ?

> For the moment there are some PR on the frontend that didn't land in 5.x yet (I think). Also I would like to understand what changes are needed to...

> I need to override this submenu's I guess it's from KNP menu, but do you have any easy way to change this? if not I'll search a bit ;)...

I plan to release 4.16 soon. If you have time to update your PR to be on it ;)

> im sorry if i did not manage to finalize this PR. :( > > thanks for the great work with sonata!! No problem. You had `Update the documentation;` in...