11

I was working with a stable installation of an elaborated platform. Some plugins were installed. After upgrading the installation by 2 patch level the customer registration was not working anymore.

In these two patch level a method in an interface got an additional optional parameter which had a major impact on the behaviour the implemented method. A plugin decorated the implementation without knowing about the new parameter. Therefore when calling the method the decorating class did not pass the new parameter in to the decorated implementation and the fallback value was given instead.

The caller expected the method to do something and did not branch into an alternative way but the default value disables the expected behaviour. Eventually nothing happened.

Breaking changes in patch levels woop di fucking do.

Comments
  • 6
    Wow... Just wow. A few weeks ago I was updating all packages of my laravel app via composer. One maintainer thought it would be a good idea to change the namespace of his package at patch level...
  • 0
    @bosi oh boi. Sounds like

    > A typo in my code?
    > Better fix it right away
    > Fixes typo in namespace
    > Increase patch level, was just a typo
Add Comment