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.
Problem/Motivation
#2421431: Add EntityInterface::validate() introduces for raw mail messages by following RFC standards.
Proposed resolution
However, we are wrongly asserting "Received" field instead of "Date" field.
Improve tests.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#10 | fix_wrong_validation-2821018-10-interdiff.txt | 2.05 KB | mbovan |
#10 | fix_wrong_validation-2821018-10.patch | 8.72 KB | mbovan |
| |||
#6 | fixed_wrong_validation-2821018-6-interdiff.txt | 2.09 KB | mbovan |
#6 | fixed_wrong_validation-2821018-6.patch | 8.55 KB | mbovan |
| |||
#6 | fixed_wrong_validation-2821018-3-TEST-ONLY.patch | 446 bytes | mbovan |
Comments
Comment #2
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedWhile working on #2820989: Identify message body content I couldn't process the message and ended up creating the bug report.
Raising it to "Major" since processing messages with multiple "Received" headers happens quite often.
Comment #3
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedImproved validation, fixed wrong field, improved tests.
One-line test-only should be enough for a fail.
Comment #6
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedMore Received/Date replacements.
Comment #8
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedComment #9
miro_dietikerDon't remove it, add it.
This doesn't explain what is wrong with the count.
Comment #10
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedAddressed #9.
Comment #11
miro_dietikerCommitted.
Comment #13
miro_dietiker