The classy_paragraphs_test feature exports the "Body" field. If you're exporting the same field in another module Features complains about it "Conflicts with: classy_paragraphs_test (Disabled) in field_base [body]".

Refactor classy_paragraphs_test so body is not used.

Comments

ivan zugec’s picture

Assigned: Unassigned » ivan zugec
ivan zugec’s picture

Status: Active » Closed (outdated)

No longer required.

micnap’s picture

Status: Closed (outdated) » Active

Reopening this. I've got the dev version of classy_paragraphs installed and it is indeed creating a conflict with another feature that included the body field base. Still seeing this in /classy_paragraphs/tests/classy_paragraphs_test.features.field_base.inc:

// Exported field_base: 'body'
  $field_bases['body'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(
      0 => 'node',
    ),
    'field_name' => 'body',
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(),
    'translatable' => 0,
    'type' => 'text_with_summary',
  );

Am I missing something?

micnap’s picture

Don't know if it's as simple as excluding the field. If so, here's a patch for it.

damienmckenna’s picture

Status: Active » Needs review
damienmckenna’s picture

Status: Needs review » Needs work

You'll also need to add a features_exclude line to the info file.

micnap’s picture

Ah, yes. Here's another patch with the features_exclude. Thanks, Damien!

micnap’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 7: class_paragraphs-body_field-2450659-7.patch, failed testing.

ivan zugec’s picture

Status: Needs work » Needs review
StatusFileSize
new2.75 KB

Thanks @micnap for the patch and @DamienMcKenna for the tip.

Instead of removing the field, I've simply renamed it to field_cp_body.

  • Ivan Zugec committed 4f48cfe on 7.x-1.x
    Issue #2450659 by micnap, Ivan Zugec, DamienMcKenna: Remove "Body" base...
ivan zugec’s picture

Status: Needs review » Fixed

Thanks everyone.

Patch has been committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.