Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Properties such as 'errors' and 'module' are getting exported. They should not be.
Comment | File | Size | Author |
---|---|---|---|
#3 | flags_export_after_patch.txt | 783 bytes | shabana.navas |
#3 | flags_export_before_patch.txt | 816 bytes | shabana.navas |
#2 | 2059967.flag_.flag-properties-dont-export.patch | 1.42 KB | joachim |
Comments
Comment #1
joachim CreditAttribution: joachim commented'module' is intentionally exported:
Comment #2
joachim CreditAttribution: joachim commentedFigured this bit of the code could use a little clean-up at the same time.
Comment #3
shabana.navas CreditAttribution: shabana.navas commentedI have tested this now and I can confirm it works. I have attached the before and after versions of the export. The original exported the 'errors' array. However, after the patch was applied, the 'errors' array, as expected, was not exported.
Comment #4
joachim CreditAttribution: joachim commentedThanks for the review!
Committed.