Skip to content

Releases: alterphp/EasyAdminExtensionBundle

v3.1.0

02 Dec 15:06
09425aa
Compare
Choose a tag to compare

Compatibility with doctrine/common 3.x branch

Fix a bug with entity Proxies

09 Nov 19:33
8141dd7
Compare
Choose a tag to compare
Fixes EmbedListHelper when the entity is a doctrine proxies (#189)

Under some circumstance, the entity could be a proxy.

This is due to a combinaison of different factors:

* The current admin screen (organization) is on a sub property of the
user
* The connected user / admin has relation or not the the organization
* Doctrine might lazy load admin's organization
* Doctrine has internal caches in UOW, and returns entity or proxy when
loaded

So sometime, The following method [1] returns an instance of
`AppBundle\Entity\Organization`, and sometimes an instance of
`Proxies\__CG__\AppBundle\Entity\Organization`.

Thanks to this patch, we always retrieves the correct information
metadata.

---

Oh, I forget to describe the original bug! When a proxy is returned, the
`EmbeddedListHelper` class could not find metadata. So it could not
filter the
sub list. So the admin screen displays all projetcs (not for the current
organization but of the whole application :D )

[1]
https://github.com/EasyCorp/EasyAdminBundle/blob/bb128e7f19b4ec419cccdf773292a1ec3ee31978/src/EventListener/RequestPostInitializeListener.php#L68

v3.0.2

15 Jul 13:07
90aba46
Compare
Choose a tag to compare

v3.0.1

10 Mar 17:54
3b66079
Compare
Choose a tag to compare
  • Added doc for disabling "Open in new tab" in embedded lists
  • Controller now use trait for better use in EasyAdmin (#176) @DylanKas

v3.0.0

03 Dec 23:34
Compare
Choose a tag to compare
  • Compatibility with EasyAdmin ^2.2.2

  • Allows Symfony 5

  • Removes extension implementation of role based filtered menu entries as EasyAdmin natively handles them

  • BC BREAK: Renamed query parameter + form option : filters becomes ext_filters

v1.3.4

25 Jul 09:08
Compare
Choose a tag to compare

Fix embeddedList click on sort links (@GeraldGat)

v2.1.7

22 Jun 12:21
cc256be
Compare
Choose a tag to compare

Limit EasyAdminBundle under v2.2.0 version (filters are incomptabile).

v2.1.6

14 Jun 13:44
c85d034
Compare
Choose a tag to compare
  • Adds max_results config for embedded_lists (#143) (@bnbc)
  • More compact embedded list using table-sm class
  • Adds hidden_fields config for embedded_lists to hide irrelevant columns according to the context

v2.1.5

23 May 07:27
Compare
Choose a tag to compare

EmbeddedList

  • EmbeddedList keeps dql_filter configurations
  • Logging a more descriptive solution when many matching entities

MISC

  • Autoset filter ChoiceType options for associations
  • Code style

v2.1.4

02 May 16:21
Compare
Choose a tag to compare
  • Fix reload of embedded list on pagination bounds
  • New Twig block for custom modals
  • Remove some deprecations