Reference should extend Node source plugin instead of DrupalSqlBase

Created on 5 September 2018, about 6 years ago
Updated 6 June 2024, 6 months ago

I want to migrate a Drupal 6 website with biblio module to a Drupal 8 website with the bibcite module.

In Drupal 6, the biblio content type has additional fields. When migrating to Drupal 8, the additional fields stay connected to their former nodes, whereas the biblio data gets converted to bibcite reference content.

E.g. node/785 becomes bibcite/389 (biblio data) and node/785 (additional fields).

You can see the the Drupal 6 structure in the screenshots of the following issue comment:
https://www.drupal.org/project/bibcite/issues/2997189#comment-12760463 β†’

Would it be possible to migrate the additional fields to additional fields of the bibcite entity type?

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria plepe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    The root problem is that the Reference source plugin should extend the FieldableEntity source plugin instead of DrupalSqlBase, or even extend the Node source plugin, given that the base data comes from a node.

    This is a pretty major limitation of the module.

  • Status changed to Needs review 6 months ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Trying this - extend Node so that all of the node fields can be mapped too.

    And this is a bug because standard fields should Just Work(tm).

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Clarifying the title.

Production build 0.71.5 2024