Problem/Motivation
Field 'description' for taxonomy term has wrong export (without format).
Steps to reproduce
Export taxonomy term with not empty description.
Proposed resolution
Add 'format: basic_html' for field 'desctription'.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | single_content_sync-3439477-add-format-option-7.patch | 1.67 KB | vasyapledov |
Issue fork single_content_sync-3439477
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
Comment #2
vasyapledov commentedFixed. Need to check.
Comment #3
vasyapledov commentedNew variant.
Comment #4
vasyapledov commentedComment #5
vasyapledov commentedComment #6
nginex commentedYou need to use $entity->getDescription() as a value and $entity->getFormat() as a format, currently the format is hardcoded on your patch
Comment #7
vasyapledov commentedYes, you are right. Fixed.
Comment #8
nginex commentedComment #11
kazuko.murata commentedRerolled #7 and created MR.
Comment #12
jannakha commentedthank you for your contribution!
MR works as described:
before patch:
after patch:
Comment #13
nginex commentedThanks for the patch