Taxonomy views are apparently broken? I'm getting:

Drupal\Core\Entity\EntityMalformedException: The "taxonomy_term" entity type has not been saved, and cannot have a URI. in Drupal\Core\Entity\Entity->urlInfo() (line 152 of /home/jhodgdon/gitrepos/drupal_msq8/core/lib/Drupal/Core/Entity/Entity.php).

All I did was:
- Install with Standard profile
- Add 2 terms to the Tags vocabulary
- Try to create a view that shows taxonomy terms. Made a page display and tried to view the page.
- Got a fatal error.
- Went to dblog and got the above error.

This is after doing a git pull followed by a clean install.

Comments

jhodgdon’s picture

Issue tags: +VDC
jhodgdon’s picture

Issue tags: +Needs tests

There must not be any tests that are exercising this??!?

olli’s picture

Gábor Hojtsy’s picture

Status: Active » Closed (duplicate)

#2252739: Taxonomy field handler fatal error in linking to terms, cannot create taxonomy views with defaults fixes this (tried also manually), so closing down as duplicate. The basic problem connecting the two is taxonomy term views by default are field based, so the field fatal error is appearing right away. If you choose a non-field based display, eg. render as entity then the error is not there. But that is not the default.

#2252739: Taxonomy field handler fatal error in linking to terms, cannot create taxonomy views with defaults includes a test view as well, so it covers the tests the same was as well that this issue intended :)