Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
Umami demo
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Aug 2018 at 16:36 UTC
Updated:
3 Sep 2018 at 09:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
eli-tComment #3
eli-tSorry, previous patch is empty.
Comment #5
jaykandari#3 Applies perfectly and the "Tags" field in Recipe content type is set to "create referenced entities if they don't already exist " - works good. 👍
However, I have a question about "field_recipe_category" && "field_author" fields of recipe content type. The latter one we can ignore as of now as it is being removed in #2991473: Remove the field_author from Umami recipe content type. The field "field_recipe_category" is also set to "auto_create: false".
Can we also make this inconsistency addressed for other entity referenced fields as well?
Comment #6
eli-tThanks for taking a look @jaykandari!
With respect to Recipe Category, I don't think it's a given that we should auto create terms in that vocabulary. It makes sense to have a fixed set of categories rather than define them on them on the fly as you would do for a tags vocabulary which is potentially far more wide ranging.
Maybe changing the widget would be more appropriate, but I would put that in another issue.
Comment #7
jaykandari#6 makes sense as to why not auto-create recipe category. Thanks, @eli-t.
Marking it as RTBC.
Comment #10
lauriiiCommitted 6803dcc and pushed to 8.7.x. Also, cherry-picked 65c5eba and pushed to 8.6.x. Thanks! 🚀
Comment #11
lauriiiSaved the commit-credit