Bug #23631 See Comments

channel_data RTE and relationship fields not displaying in Preview

Version: 4.3.1 Reporter: travisb

  1. Multiple relationship fields relating to the same channel: Only data of the field with the highest field id shows in the preview. ie:: {field_1:title} (multiple relationship field set up pre-ee4, relates to channel 1, field id 1) {field_3:title} (multiple relationship field set up pre-ee4, relates to channel 1, field id 3) {field_2:title} (multiple relationship field set up pre-ee4, relates to channel 1, field id 2) Only field_3 title shows in Preview.

  2. RTE fields don’t display any content if they are exp_channel_data fields.

  • Trying to clarify original report. This is a local 4.3.1 install upgraded from 3.5.x.

    1. When editing an entry in channel A and using Preview, only 1 of the 4 relationship fields that relate to channel B show their content. On the front these fields show as expected. These 4 relationship fields were created before ee4 and haven’t been changed since upgrading.

    2. When editing an entry and using Preview, RTE fields do not display their content. Front end works as expected. The RTE fields that don’t work were created pre-ee4. New RTE fields work fine.

    travisb
    13th June, 2018 at 11:24am
  • This was an odd one. It ended up being same bad column names in the exp_member_data table. There were some fields named field_id_x instead of m_field_id_x. When those fields conflicted with a standard custom field, it nulled that field out in the live preview.

    The fix is to very carefully get that database table clean- no field_id_x names- but double checking that there is an m_field_id_x thathas all of the correct data in it.

    Robin Sowell
    18th July, 2018 at 6:06pm

You must be signed in to comment on a bug report.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases