contentacms / contenta_jsonapi

Contenta CMS, the decoupled Drupal
http://www.contentacms.org/
GNU General Public License v2.0
328 stars 104 forks source link

No Demo Content #358

Closed ludo1960 closed 4 months ago

ludo1960 commented 5 years ago

Hi guys,

Thanks for your hard work guys, awesome stuff!

I just downloaded the latest version of contenta CMS and every thing seemed ok but the theme did not work i.e. just text with no fizzaz. Anyways I just downloaded Adaptive theme and got it all working. Only problem is I dont see any demo content. I checked the Recipe module was installed and the I tried browsing content. I went to http://mysite.com/recipes/crema-catalana I got:

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "jsonapi.node--recipe.individual" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 201 of core/lib/Drupal/Core/Routing/RouteProvider.php).

Drupal\Core\Routing\UrlGenerator->getRoute('jsonapi.node--recipe.individual') (Line: 271)

I tried adding "patches": { "drupal/jsonapi_extras": { "Fix issue": "https://www.drupal.org/files/issues/2019-01-23/jsonapi_extras-doctoplevel_arg3.patch" } } as mentioned here https://github.com/contentacms/contenta_jsonapi/issues/351 and running composer clear-cache and composer dump-autoload but no joy.

Got a presentation on monday, so I hoping you can suggest a fix.

Thanks again guys