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
Comment #1
jhodgdonComment #2
jhodgdonThere must not be any tests that are exercising this??!?
Comment #3
olli CreditAttribution: olli commentedWould #2252739: Taxonomy field handler fatal error in linking to terms, cannot create taxonomy views with defaults fix this?
Comment #4
Gábor Hojtsy#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 :)