Create SKU using SKU Prefixes broken #346

Open
opened 2026-06-29 08:37:52 +00:00 by rob · 0 comments
Owner

The following error is shown when I try to create a SKU using the SKu prefixes

An error occurred
An error occurred during execution; please try again later.
Additional information:
LogicException
File:
/estack/module/PMS/src/Entity/AbstractEntity.php:85
Message:
No property named skuPrefix exists
Stack trace:
#0 /estack/module/PMS/src/Entity/AbstractEntity.php(107): PMS\Entity\AbstractEntity->__set('skuPrefix', '4')
#1 /estack/vendor/doctrine/doctrine-module/src/DoctrineModule/Stdlib/Hydrator/DoctrineObject.php(282): PMS\Entity\AbstractEntity->__call('setSkuPrefix', Array)
#2 /estack/vendor/doctrine/doctrine-module/src/DoctrineModule/Stdlib/Hydrator/DoctrineObject.php(105): DoctrineModule\Stdlib\Hydrator\DoctrineObject->hydrateByValue(Array, Object(PMS\Entity\Product))
#3 /estack/vendor/zendframework/zend-form/src/Fieldset.php(606): DoctrineModule\Stdlib\Hydrator\DoctrineObject->hydrate(Array, Object(PMS\Entity\Product))
#4 /estack/vendor/zendframework/zend-form/src/Form.php(369): Zend\Form\Fieldset->bindValues(Array, NULL)
#5 /estack/vendor/zendframework/zend-form/src/Form.php(519): Zend\Form\Form->bindValues()
#6 /estack/module/PMS/src/Controller/ProductsController.php(772): Zend\Form\Form->isValid()
#7 /estack/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): PMS\Controller\ProductsController->addAction()
#8 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#9 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#10 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#11 /estack/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#12 /estack/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#13 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#14 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#15 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#16 /estack/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#17 /estack/public/index.php(32): Zend\Mvc\Application->run()
#18 {main}

The following error is shown when I try to create a SKU using the SKu prefixes An error occurred An error occurred during execution; please try again later. Additional information: LogicException File: /estack/module/PMS/src/Entity/AbstractEntity.php:85 Message: No property named `skuPrefix` exists Stack trace: #0 /estack/module/PMS/src/Entity/AbstractEntity.php(107): PMS\Entity\AbstractEntity->__set('skuPrefix', '4') #1 /estack/vendor/doctrine/doctrine-module/src/DoctrineModule/Stdlib/Hydrator/DoctrineObject.php(282): PMS\Entity\AbstractEntity->__call('setSkuPrefix', Array) #2 /estack/vendor/doctrine/doctrine-module/src/DoctrineModule/Stdlib/Hydrator/DoctrineObject.php(105): DoctrineModule\Stdlib\Hydrator\DoctrineObject->hydrateByValue(Array, Object(PMS\Entity\Product)) #3 /estack/vendor/zendframework/zend-form/src/Fieldset.php(606): DoctrineModule\Stdlib\Hydrator\DoctrineObject->hydrate(Array, Object(PMS\Entity\Product)) #4 /estack/vendor/zendframework/zend-form/src/Form.php(369): Zend\Form\Fieldset->bindValues(Array, NULL) #5 /estack/vendor/zendframework/zend-form/src/Form.php(519): Zend\Form\Form->bindValues() #6 /estack/module/PMS/src/Controller/ProductsController.php(772): Zend\Form\Form->isValid() #7 /estack/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): PMS\Controller\ProductsController->addAction() #8 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #9 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #10 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #11 /estack/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent)) #12 /estack/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #13 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #14 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #15 /estack/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #16 /estack/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent)) #17 /estack/public/index.php(32): Zend\Mvc\Application->run() #18 {main}
rob added the Bug label 2026-06-29 08:37:52 +00:00
Sign in to join this conversation.
No Label Bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rob/pms3#346