- Issue created by @wim leers
- First commit to issue fork.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
String data needs the StringSemantics constraint in order to match against formats etc, so added those to password item props.
The comment_last_name field is computed, so marked that as unsupported (core bug).
Also updated the comments for path fields because the whole field item list is computed.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
There's some test fails here because I didn't update the tests to include the 'Article author's password' as a source.
I'm thinking this is a red flag that we shouldn't support password fields ever.
Thoughts?
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
I'm thinking this is a red flag that we shouldn't support password fields ever.
+1 β I don't see why, either.
I think we should consider special-casing this field type, to ensure it doesn't get listed in
\Drupal\Tests\experience_builder\Kernel\EcosystemSupport\FieldTypeSupportTest::SUPPORTED
anymore, because we should explicitly not support it. - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Removed support for password with an explicit test
- πΊπΈUnited States effulgentsia
The comment_last_name field is computed, so marked that as unsupported (core bug).
What's the core bug? Is "core" referring to Drupal core, or some other meaning of "core"?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
What's the core bug? Is "core" referring to Drupal core, or some other meaning of "core"?
I guess the first question is - should we be able to map dynamic prop sources in XB to computed fields in Drupal.
If the answer is yes, then I think we need a core issue to flag those comment fields as computed - but we also need an override in XB to add the string semantics (aka the format key from JSON schema) to that we can ascertain what sort of value they hold.
Can you clarify if the expectation is that you can setup dynamic prop sources against computed fields?
- πΊπΈUnited States effulgentsia
Yes, once we implement dynamic prop sources at all, it should be possible to "link" (the terminology that the UI will use for this) component props to computed fields as well as to computed properties of field items.
I think we need a core issue to flag those comment fields as computed
Oh, is the core bug that it's a computed field but not declared as such (isComputed() returns false)?
- πΊπΈUnited States effulgentsia
Ok, so that makes sense that that's a core bug, but why does that matter to XB's shape matching? What are we doing that varies by what isComputed() returns?