culturecreates / footlight-app

Footlight CMS Front-end
https://cms.footlight.io
3 stars 0 forks source link

custom and standard fields not displayed in Mandatory fields #1420

Open troughc opened 3 weeks ago

troughc commented 3 weeks ago

2 things:

Custom fields are not appearing in the Mandatory fields list.

Steps to repeat:

  1. create a custom taxonomy with some vocabulary for Events and save.
  2. Look in mandatory fields: the custom taxonomy is not included in the events section (no custom field is).
  3. Look in events page: the custom field is included and open in the top section.

Expected behaviour: Custom taxonomies should be included in mandatory fields so that the user can make them mandatory or optional. If they are optional, they should be displayed as blue text.

Languages used in the event in Tout Culture is not appearing in mandatory fields list

This one is a standard taxonomy. Steps to repeat:

  1. look in taxonomies for Tout Culture in staging, Languages used in the event is there and completed. Good.
  2. Open a new event: languages used in the event is in the blue text (because it is not mandatory). Good
  3. Open mandatory fields. Languages used in the event is not included in the events section.

Expected behaviour: Custom and standard fields should all be included in Mandatory fields. If they are not mandatory, they should be displayed as blue clickable text in the destination workspace (entity) Edit form.

Screenshot of missing fields from Mandatory UI

Image

troughc commented 1 week ago

@SyamBabu-M can you please investigate this bug?

SyamBabu-M commented 1 day ago

@dev-aravind The taxonomy inLanguage is not added in the response of getCalendatMetadata API. This is the reason why it's not shown in the mandatory fields section. I am assigning this to you to do the backend changes needed. Please look into #1452 also as Recommandé par Le Pressoir missing from UI list is related to this issue.