You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that if you encounter this condition your whole task manager will not function anymore, which for big webshops results in major financial damage.
candemiralp
changed the title
Type mismatch between NotificationEntity and ProcessNotificationHandler::markAsProcessing()
[PW-8369] Type mismatch between NotificationEntity and ProcessNotificationHandler::markAsProcessing()
Apr 26, 2023
Thank you for raising this issue. You are right, that TypeError most probably won't be caught. We created an internal ticket to investigate and solve this issue. We will update you when it is done.
Describe the bug
Type error.
Versions
Shopware version: 6.4.17.2
Plugin version: 3.11.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The merchantReference should either be nullable throughout the whole application or always be a string.
CODE SNIPPETS:
This :
https://github.com/Adyen/adyen-shopware6/blob/3.11.0/src/Entity/Notification/NotificationEntity.php#L51
https://github.com/Adyen/adyen-shopware6/blob/3.11.0/src/Entity/Notification/NotificationEntity.php#L153
Does not match types with this: (NULL would result in type error)
https://github.com/Adyen/adyen-shopware6/blob/3.11.0/src/ScheduledTask/ProcessNotificationsHandler.php#L382
The text was updated successfully, but these errors were encountered: