Problem/Motivation

Float, Metatag, URI type fields are not supported by the module. An error is thrown if entity contains a field of unsupported type

Steps to reproduce

Create an entity with field iof type Float / Metatag /URI/ layout_section

Data model changes

Provide proper schema

Comments

gaurav.manerkar created an issue. See original summary.

gaurav_manerkar’s picture

Title: Float, Metatag, URI type fields have a emptyschema » Float, Metatag, URI type fields have a empty schema
Status: Active » Needs review
gaurav_manerkar’s picture

dmitry.korhov’s picture

Status: Needs review » Reviewed & tested by the community

LGTM

gaurav_manerkar’s picture

StatusFileSize
new639 bytes
gaurav_manerkar’s picture

Title: Float, Metatag, URI type fields have a empty schema » Float, Metatag, URI and layout_section type fields have a empty schema
Issue summary: View changes
gaurav_manerkar’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new639 bytes

Added support for layout_section type

gaurav_manerkar’s picture

StatusFileSize
new657 bytes

Added support for layout_section type

gaurav_manerkar’s picture

Status: Needs review » Closed (won't fix)
gaurav_manerkar’s picture

Status: Closed (won't fix) » Needs review
gaurav_manerkar’s picture

StatusFileSize
new2.08 KB

Created patch to support URI, Float, layout_section and metatag tyoe.

gaurav_manerkar’s picture

StatusFileSize
new3.69 KB

Created patch to support URI, Float, layout_section and metatag type.

gaurav_manerkar’s picture

StatusFileSize
new2.83 KB

Created patch to support URI, Float, layout_section and metatag type.

gaurav_manerkar’s picture

StatusFileSize
new3.39 KB

Created patch to support URI, Float, layout_section and metatag type.

m.stenta’s picture

Title: Float, Metatag, URI and layout_section type fields have a empty schema » Metatag and layout_section type fields have a empty schema
Category: Support request » Bug report
Status: Needs review » Needs work

Support for float and uri were added in #3256795: Decimal and float fields have a null schema and #3390505: Error: uri is not a valid type for a JSON document.

Updated title and setting to "Needs work" to refactor accordingly.

If we want to continue with this issue we will need to add automated tests for any new additions (now that #3257911: Add basic test coverage is merged). A merge request would be preferable over patches.

michaelsoetaert’s picture

StatusFileSize
new1.86 KB

Updated patch of #14 based on comments of #15: Removed code for float & uri, as these are already supported by the latest version (1.0) of the module.