Line 92 of manage_display_fix_title.module (in quickedit_preprocess_entity_page_title() ) reads

  $variables['attributes']['data-quickedit-field-id'] = $entity->getEntityTypeId() . '/' . $entity->id() . '/' . $label_field . '/' . $entity->get('langcode')->value . '/' . $variables['view_mode'];

But Commerce Order doesn't have langcode (and I suppose there may be other entities that don't have it - it's quite legal), which results in fatal error.

CommentFileSizeAuthor
#3 manage_display.langcode.3129547-3.patch866 bytesadamps

Comments

gease created an issue. See original summary.

adamps’s picture

Yes I agree, thanks for the bug report. Patches welcome.

adamps’s picture

Title: Conflict with Commerce Order » Error for entities without langcode field
Status: Active » Needs review
StatusFileSize
new866 bytes

Let's try like this

  • AdamPS committed f657d48 on 8.x-1.x
    Issue #3129547 by AdamPS: Error for entities without langcode field
    
adamps’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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