Rothamsted-Ecoinformatics / farm_rothamsted

Custom farmOS features for Rothamsted Research.
GNU General Public License v2.0
6 stars 1 forks source link

RouteNotFoundException: Route "farm.quick.drilling" does not exist. #570

Closed mstenta closed 1 year ago

mstenta commented 1 year ago

I started seeing these error notifications this morning:

Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: Route \u0022farm.quick.drilling\u0022 does not exist. in Drupal\\Core\\Routing\\RouteProvider-\u003EgetRouteByName() (line 206 of \/opt\/drupal\/web\/core\/lib\/Drupal\/Core\/Routing\/RouteProvider.php).

This must be related to the recent farmOS core v2.2.0 upgrade that took place on Saturday.

mstenta commented 1 year ago

I put a hotfix into place on the Rothamsted instances, and it seems to be working again. I will describe what I found, what I did, and what we need to do next in more detail in the next comment...

mstenta commented 1 year ago

Post-mortem:

This is a temporary fix. Ultimately we need to fix this in farmOS core. I will discuss with @paul121 and we'll figure out the permanent fix. I will leave this issue open in the meantime...

hotfix.patch.txt

mstenta commented 1 year ago

I opened an upstream bug report: https://github.com/farmOS/farmOS/issues/727

mstenta commented 1 year ago

Fixed this upstream and will tag a 2.2.1 release of farmOS shortly. Closing this.