Closed mautz-et-tong closed 4 years ago
Hi @mautz-et-tong,
first of all, this module version is no longer maintained. Please migrate to DHL Shipping v1.1.0.
My first guess is that the "randomness" comes from some older quotes/orders, created at a time when Preferred Time was still available. DHL Paket does no longer offer this service, so any attempts to fetch service options (=possible time slots) will fail, resulting in given error. In theory, this log entry should not occur for new checkout processes; the number of log entries will decrease over time.
If I understand you correctly, the error does not lead to a service disruption, it's "only" annoying. I kindly ask you to ignore these messages. There is nothing we or you can do about it but wait until there are no more traces of the Preferred Time service left in the service data.
Migrated to the Marketplace Version.
Hi @mautz-et-tong,
first of all, this module version is no longer maintained. Please migrate to DHL Shipping v1.1.0.
Please don't link to Magento marketplace but to the Github repository of the replacement. https://github.com/netresearch/dhl-shipping-m2
Bug description The DHL Module throws randomly the Exception "Service with code preferredTime was removed due to error. Message: There are no results for this service."
We have completly deactivated this Options around preferred Time.
Error is thrown in CompositeOptionProvider line 79
Steps to reproduce No steps to reproduce. Error occurs randomly. Module is activated and normally setup and working fine beside of this error. Preferred Time options are disabled
Expected behavior The preferred time service should be ignored, no exception should be thrown.
Screenshots / logs "main.WARNING: Service with code preferredTime was removed due to error. Message: There are no results for this service." in system.log
Environment
FAQ Has the Knowledge Base been checked for a solution?