- Issue created by @jastraat
- Merge request !48Issue #3507843: Update post-update hooks to reflect the current entity structure β (Merged) created by jastraat
- πΊπΈUnited States jastraat
Attached patch must be applied to the dev branch of section library.
- πΊπΈUnited States jastraat
Found out something super obscure:
"Turns out you shouldn't set data_table in the entity type annotation if translatable is FALSE. Otherwise views associates all of the fields with the data_table, but data_table is never associated with base_table due to translations being disabled."Removing the data_table property from the entity allows custom fields to appear as options in section library views.
Updated patch attached.
- π«π·France Grimreaper France π«π·
Hi,
Thanks @jastraat for your work in this.
I confirm:
- I no more see the error message when saving the view
- I now have access to the additional fields set through the UI -
jastraat β
committed 5bf17c2e on 1.2.x
Issue #3507843 by jastraat: Adjust post update hooks and allow custom...
-
jastraat β
committed 5bf17c2e on 1.2.x
-
jastraat β
committed 5bf17c2e on 2.0.x
Issue #3507843 by jastraat: Adjust post update hooks and allow custom...
-
jastraat β
committed 5bf17c2e on 2.0.x
- πΊπΈUnited States jastraat
Updating this to the relevant major version.
Automatically closed - issue fixed for 2 weeks with no activity.