Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When config translation is enabled we are getting the following error, on site instalation:
Error: Call to a member function getPath() on null in /app/webroot/core/modules/config_translation/src/ConfigNamesMapper.php on line 247 #0 /app/webroot/core/modules/config_translation/src/Routing/RouteSubscriber.php(39): Drupal\config_translation\ConfigNamesMapper->getOverviewRoute()
it is similar to #2703717: Call to a member function getPath() because the module which contains the routes definition for salesforce_mapping entity is salesforce_mapping_ui instead of salesforce_mapping.
Comment | File | Size | Author |
---|---|---|---|
#9 | interdiff.txt | 1.45 KB | AaronBauman |
#9 | salesforce-handler_classes-3040022-9.patch | 6.82 KB | AaronBauman |
Comments
Comment #2
AaronBaumanComment #3
AaronBaumanI'm gonna move the path definitions out of the annotation and into a salesforce_mapping_ui hook
Comment #4
AaronBaumanSee if this works
Comment #5
AaronBaumanComment #6
AaronBaumanCleaned up a few more references to these paths.
This one should be good
Comment #7
AaronBaumanderp
when is gitlab coming?
Comment #8
jidrone CreditAttribution: jidrone at Mobomo for Vibrent Health commentedHi Aaron,
The patch didn't work, it think the problem is coming from the following lines in entity definition:
Comment #9
AaronBaumanOK try this one
Comment #10
jidrone CreditAttribution: jidrone at Mobomo for Vibrent Health commentedIt works, thank you.
Comment #11
AaronBaumanCool, will merge this after passing tests
Comment #13
AaronBauman