Problem/Motivation

Installing Bistro on Drupal CMS 2.0 has issues because both drupal_cms_blog and bistro install field_description with different field types.

The pattern seems to be field_description is a plain text field while field_content is a formatted text field.

Steps to reproduce

  1. Create a Drupal CMS 2.0 project
  2. Install Drupal CMS
  3. Require drupal/bistro
  4. Apply bistro
  5. Try to edit the description field on the menu item or notice that all content has HTML

Proposed resolution

Remove field_description from bistro and recreate it as either field_content.

Other problematic fields that might be shared somewhere in the Drupal sphere: field_item_price, field_calories. These should probably also be changed to field_menu_item_price and field_menu_item_calories. field_dietary_category can remain as-is.

Remaining tasks

None

User interface changes

N/A

API changes

N/A

Data model changes

Field name changes that need to be applied to views and recipe yaml.

Issue fork bistro-3561341

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mradcliffe created an issue. See original summary.

mradcliffe’s picture

Assigned: Unassigned » mradcliffe

mradcliffe’s picture

Issue summary: View changes
Status: Active » Needs work

Getting there.

mradcliffe’s picture

Issue summary: View changes
Status: Needs work » Fixed

Merging.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • mradcliffe committed eac38329 on 1.0.x
    fix: #3561341 field_description conflicts with drupal_cms_blog
    
    By:...

Status: Fixed » Closed (fixed)

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