Smash the Bug: Episode 24
Your host: Joseph Maxwell, Founder and CEO of SwiftOtter & Jesse Maxwell, Tech Lead at SwiftOtter
Magento (Adobe Commerce) has had a great weakness...and that would be the ability to edit in a clean, “drag-and-drop”, modular way. People are used to this now, especially when they have experience with Wordpress and website platforms that are known for their ease-of-use. With the advent of Page Builder integration, many developers and merchants will now breathe a sigh of relief as they find that they’re able to manage website content much easier than before!
Jesse has to bless us with another crazy story this week of a bug he was tracking that got extremely complicated very quickly. He looked through every database possible and couldn’t find any help on this issue. He had to kick himself because he knew he’d dealt with a similar scenario a few years back and must not have ever written anything down. One big issue devs fall into often is the assumptions that they make, and nobody is exempt from this. For instance, Joseph points out that “null” does not always mean zero. In the end, the SwiftOtter Slack channel helped Jesse to narrow down the solution and find a workable fix. If you aren’t a part of that amazing channel, feel free to join at any time (you can find the join link on SwiftOtter.com/Slack). Joseph reminds us, while referring back to Episode 12 and his conversation with Chris Anderson, of the amazing value of RabbitMQ in offloading tremendous amounts of processing power from any web request. Being able to offload big processes into the background or handle expensive indexing operations is a life-saver.
Lastly, Joseph walks us through his recent discovery of a missed-step in DbSchema when saving SwiftOtter databases. Since SwiftOtter has about a terabyte of database information backed up, it recently became time to review the database backups and Joseph was able to find a foreign key issue, after two hours of searching, that reminded him of how important DbSchema whitelist is to generate! Since whitelist authorizes entities to be deleted from the database, if there is a change in DbSchema, there has to be a whitelist change as well.
Our goal is to inspire you to be the very best developer that you can be! Do you have a crazy debugging story to discuss? Send an email to [email protected] and we’d love to consider you as our next guest on Smash the Bug!
(Theme music courtesy of Trending Audio)