Remove obsolete g2_node table

Created on 2 July 2023, 12 months ago
Updated 4 July 2023, 12 months ago

Problem/Motivation

G2 used to define custom table g2_node to store the extra data now present in core fields loaded from config.

This needs to be removed since it is now entirely useless.

Steps to reproduce

  • Install G2
  • Observe how a g2_node table is created
  • Create a node view
  • Observe how the always-empty g2_node fields are exposed

Proposed resolution

  • remove the table declaration in g2_schema()
  • remove the table Views exposition in g2_views_data() and g2_views_data_alter()
  • remove the useless remaining g2.views.inc file
  • check for other references to the table to remove

Remaining tasks

Do it.

User interface changes

No longer expose g2_node columns in Views.

API changes

None.

Data model changes

Table g2_node removed.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France fgm Paris, France

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024