-
Notifications
You must be signed in to change notification settings - Fork 4

Description
Recently, the http article-feed was found to have no response. Closer inspection offered the cause in poor data quality an not related to ff-module, but debugging the module offered some issues that are worth to note here:
1.) ArticleFeedController.php capsules all export funtionallity in a single try-finally-block, leaving exceptions to evaporate into open sky. Dev has no chance to find any initial hint what's going on. Time consuming line debugging is required. Please catch exception and log $e->message() to oxideshop.log appropriately.
2.) Structure of the module offers surprises: all code is copied to source/module/ff but php-code is executed below vendor/ exclusivly. Any break point set in source/modules is never met. For js the situation is vice versa.
3.) Pls consider changing the export strategy: any exception related to a single article causes the breakdown of the overall stream. Isn't it better behaviour if this exception is logged an this particular article is removed from stream? Doing so, would be a much more ruggedized approach.
tnx