Problem/Motivation

I'm encountering a weird condition where, if I enable the aggregator module and add an initial feed definition, I get the following results:

  1. New feed is added and the "add feed" form page is reloaded.
  2. ALL subsequent page requests result in a WSD.
  3. Watchdog shows the following error for each request:
    Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.aggregator_item.edit_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /core/lib/Drupal/Core/Routing/RouteProvider.php).
    
  4. The aggregator_feed table must be purged and the aggregator module uninstalled in order to restore Drupal to working order.

I'm using the latest Acquia Dev Desktop 2 on OS X 10.9.5, with the site set to PHP 5.5.30.

Proposed resolution

None yet. Issue needs reproducing.

Comments

gwheelerky created an issue. See original summary.

cilefen’s picture

That shouldn't happen. After installing aggregator but before using it, for troubleshooting try executing drupal router:rebuild with the Drupal console.

gwheelerky’s picture

Ahh, thanks! Looks like doing the route:rebuild just after enabling the module allowed it to work normally.

cilefen’s picture

There may be an open issue on the underlying problem.

cilefen’s picture

Status: Active » Closed (duplicate)
Related issues: +#2589967: Rebuild routes immediately when modules are installed

I found the root issue.

Berdir’s picture

I'm not sure that's the same issue.

That other issue is a problem when requesting the next page load before the route building finishes. However, it should still actually run, you'd just have to refresh the page to get rid of an error. This seems like a persistent problem, maybe the route building stopped with an error and was not completed?

cilefen’s picture

Status: Closed (duplicate) » Active

Hmm.. @gwheelerky Is anything logged when the module is enabled?

cilefen’s picture

Berdir’s picture

Status: Active » Postponed (maintainer needs more info)

I think we'll need steps to reproduce here. Which could be tricky as this is probably a special environment, set of modules or something. We have lots of aggregator tests that create feeds and they work fine, soo..

Version: 8.0.3 » 8.0.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: +Bug Smash Initiative

Thanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.

As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)".

Since there were no specific steps to reproduce the issue provided since the issue was postponed in 2016, I'm marking the issue "Closed (cannot reproduce)". If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active".

Thanks!