1

Metadata fields are added to Page schema.
1 metadata field in (Embedded Schema) is mandatory.

enter image description here

On page tab-General you fill in the (mandatory) metadata fields. On Save it says "Mandatory field "..."is missing a value".

On page tab-Design on a region Main the metadata fields are visible and input. the message comes from there, all fields are empty and never stored. also no relation with the page metadata.

UPDATE-1:

Page metadata is visible in tab-General, is aspected and Ok. Mandatory field is visible and is filled. enter image description here

In second tab, same page metadata is displayed in Main region. But schema main Region didn't contains it. On Save not always (but often) this message is given for mandatory field. Workaround is to fill it in in tab 2, that fields are never stored which is correct, metadata filled on tab-1 is correct after save. Did not aspect metadata in that region main on tab-2.

enter image description here

Questions

  • Bug site 9 (and fix)?
  • What is the workaround optional fields/metadata on region schema/...?
1
  • Frankly, I don’t fully understand what you are describing. Can you elaborate/reformulate? Jan 15, 2021 at 10:02

1 Answer 1

1

It looks like your region schema is having metadata which is why you are seeing it when you are adding a component to the region or during page creation. Can you open your region schema and refractor the metadata?

Additionally, there is a hotfix from SDL for items having special characters in metadata that might be worth applying in your environment as well. Hope it helps!

6
  • Tried to reconstruct it, does not occur again. Jan 16, 2021 at 19:27
  • @FritsLesterhuis, Are you saying that the issue is resolved? If so, could you update the details in a form of an answer and post it? Thank you
    – Shiva
    Jan 18, 2021 at 14:40
  • It is happening consequent in acceptance environment. O,T is good. [Main] Region has no metadata but Page schema Metadata is shown in the interface. When add in Region schema 1 Metadata Field then only that is displayed (as aspected). I compared all page/region/entity schema's. Jan 18, 2021 at 17:33
  • When Page has 2 Regions both gets the Page Metadata. On Save custom has to fill in only in one region mandatory field. For me it a bug (in interface) and will ask for patch. Jan 18, 2021 at 18:02
  • 1
    It's hard to tell, but validation errors that stop happening might be from the Page's data being out of sync with the Schema. Perhaps that's why it differs across environments. Otherwise, it could be related to the content -- a mandatory field in a set of the embedded field will trigger validation only if there are other "sibling" fields filled out. Otherwise, the field itself isn't present in the item's source (XML) and validation doesn't apply (until it or another field actually has a value). Jan 19, 2021 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.