Extension installation with dependencies triggers warning
How to reproduce:
1) Go to Extension Manager -> Get Extensions
2) Search for "introduction"
3) Install extension
If debug mode is enabled, nothing happens (Ajax request returns error 500). If production mode is enabled a warning is logged in error log.
[BUGFIX] Prevent warning during extension installation
Currently a warning is triggered if you try to install an extension
which has dependencies as the JsonView uses some own implementation to
convert objects into json with using Reflections. This patch adds some
view configuration to exclude a getter function which needs an argument
to prevent the warning.
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
Reviewed-by: Benni Mack <firstname.lastname@example.org>
Tested-by: Benni Mack <email@example.com>