这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@zoidbergx
Copy link
Member

fix: check if fieldcollection has localized fields and return null for possible inherited data

Changes in this pull request

Resolves #

Additional info

juckerf pushed a commit that referenced this pull request Jan 30, 2023
Example error message:

Warning: Undefined array key "localizedfields"

Es ist eine Ausnahme aufgetreten - der Vorgang konnte nicht durchgeführt werden. Bitte laden Sie die Adminoberfläche neu und versuchen Sie es danach erneut.­Timestamp: Wed Nov 09 2022 16:06:23 GMT+0100 (Mitteleuropäische Normalzeit) Status: 500 | Internal Server Error URL: /admin/object-helper/grid-get-column-config Message: Warning: Undefined array key "localizedfields" Trace: in /var/www/html/vendor/pimcore/pimcore/models/DataObject/Service.php:1263 #0 /var/www/html/vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php(257): Pimcore\Model\DataObject\Service::getCustomGridFieldDefinitions('subscription', 49356) #1 /var/www/html/vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php(225): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectHelperController->doGetGridColumnConfig(Object(Symfony\Component\HttpFoundation\Request), Object(Pimcore\Config)) #2 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(153): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectHelperController->gridGetColumnConfigAction(Object(Symfony\Component\HttpFoundation\Request), Object(Pimcore\Config)) #3 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(75):

Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /var/www/html/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /var/www/html/public/index.php(40): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #6 {main}
juckerf pushed a commit that referenced this pull request Jan 30, 2023
…ype string is deprecated` (pimcore#13854)

* Fix `property_exists(): Passing null to parameter #2 ($property) of type string is deprecated`

* Adapt @param annotation
# Conflicts:
#	models/DataObject/ClassDefinition/Data/Fieldcollections.php
@zoidbergx zoidbergx changed the base branch from 6.9 to 10.5 January 31, 2023 07:50
zoidbergx pushed a commit that referenced this pull request Apr 3, 2023
* Fix Type error in Predefined Asset Metadata

* Make attributes private (class is final), Remove unused attributes

* Make attributes protected again

* Fix Pimcore\\Model\\Element\\Service::getElementByPath(): Argument #2 ($path) must be of type string, null given

* Ouput empty date metadata not as "01/01/1970" in version preview
zoidbergx pushed a commit that referenced this pull request Aug 15, 2023
zoidbergx pushed a commit that referenced this pull request Aug 22, 2023
…f type ?Concrete, Localizedfield given (pimcore#15763)

* Fix: Wrong return type in RgbaColor::getDataForEditmode()

* Use getDataForEditmode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants