I have the tmgmt core module enabled, along with "content entity source" and "locales source" modules. When I visit admin/tmgmt/settings page, I get this error:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.tmgmt_translation_all_job_items.page_1" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 187 of /app/web/core/lib/Drupal/Core/Routing/RouteProvider.php).

Comments

stella created an issue. See original summary.

Berdir’s picture

Did you remove or disable the job items view? Or install with an old version and now update?

stella’s picture

This is a brand new site, and i've only just installed the 8.x-1.1 version of the module.

stella’s picture

Category: Bug report » Support request
Status: Active » Closed (cannot reproduce)

Having said that, uninstalling the module and reinstalling it seems to have worked. I guess something went wrong the first time... odd, but happy to close this for now.

Berdir’s picture

Strange. And you only get it on the settings page and not the others?

Can you enable verbose error logging and post a full stack trace? Usually those things are comming from local actions/tasks/menu links but it oculd also be something else.

Edit: OK, probably the route rebuild didn't happen or so...

DuneBL’s picture

I got exactly the same problem on 8.4,... here is my story:

1-I installed all the tmgmt module with drush

drush en tmgmt -y
drush en tmgmt_language_combination -y
drush en tmgmt_local -y
drush en tmgmt_file -y
drush en tmgmt_content -y
drush en tmgmt_locale -y

2-I checked admin/tmgmt/sources but it was empty (admin/config/regional/content-language was properly setup)
*I cleared the caches
*I ran cron
*I resave the form at admin/config/regional/content-language
*I shaked my website
I never could get something in the source tab
*I also discovered that the German language was added as long as the "Translation Management Demo" module (I didn't ask it)

3-I decided to drush pmu all the tmgmt modules
* I had to remove manually the user.tmgmt_translation_skills field

4-I re-install all the tmgmt modules through the Drupal GUI (all in once) and I got exactly the same Stella's error
*I cleared the caches
*I uninstall all the modules one by one, clearing the cache after each uninstall... and checking if the error was gone
*I also uninstall "Translation template extractor" in the case it was a compatibility problem
Unfortunately, the error stayed until the last installed tmgmt's module...

5-I decided to re-install all the tmgmt module one by one
*I installed tmgmt_core => The error was gone... I clear the cache anyway
*I installed all the remaining modules in this order: tmgmt_content, tmgmt_locale, tmgmt_language_combination, tmgmt_local,:
AFter each installation, I waited that the screen showing the batch which update the configuration was completed then I cleared the cache

AND BINGO, I could get the source tab with all the data in it

CONCLUSION: I think that this is the fact that I have waited for the batch which update the configuration (at the end of the install of tmgmt_content and tmgmt_locale) that solve the problem

stewest’s picture

aschiwi’s picture

Had the same problem as DuneBL and their comment helped me solve it. I had first tried to enable all modules via the backend and couldn't access the settings page as a result. Uninstalling via drush and then reinstalling tmgmt first and then the other modules next solved it. Thanks!