Problem/Motivation

After adding additional fields to the CM Document entity, those fields should be available to surface in the View. They are not currently available in the View.

This prevents the level of customization in the View that would make it possible to extend.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

swirt created an issue. See original summary.

swirt’s picture

Title: Content model document View is not able to surface fields. » Content model document View is not able to surface added fields.
swirt’s picture

I have a hunch this may be related to https://www.drupal.org/project/content_model_documentation/issues/3340389 which may be tied to mishandling translations. Just a guess, no proof.

swirt’s picture

It was because I have

 *   data_table = "cm_document_field_data",
 *   revision_data_table = "cm_document_field_revision",

set in the annotation, but translation set to off. This apparently silently breaks things.

  • swirt committed 91b9d22f on 1.0.x
    Issue #3344052: Content model document View is not able to surface added...
swirt’s picture

Status: Active » Fixed

This has been fixed and will go out with alpha9.

swirt’s picture

Status: Fixed » Closed (fixed)
swirt’s picture

Status: Closed (fixed) » Active

Reopening this because it introduced an entity definition error. Will need to work on a hook_update to roll this out. It is reverted in alpha10.

  • swirt committed 8ef5fba4 on 1.0.x
    Issue #3344052 by swirt: Content model document View is not able to...
swirt’s picture

Status: Active » Fixed

This has now been fixed correctly and no longer shows config related errors on status page.
It will go out with alpha 11.

swirt’s picture

Status: Fixed » Closed (fixed)