Problem/Motivation

The default Field API behavior is hiding empty fields, however this no longer happens once a field is formatted through this module.

Proposed resolution

Fix it

Remaining tasks

  • Write a patch
  • Reviews

User interface changes

None

API changes

None

Data model changes

None

Comments

plach created an issue. See original summary.

plach’s picture

Status: Active » Needs review
StatusFileSize
new36.07 KB
plach’s picture

StatusFileSize
new886 bytes

Oops, something went wrong with new lines...

Status: Needs review » Needs work

The last submitted patch, 3: expanding_formatter-2555025-3.patch, failed testing.

plach’s picture

Status: Needs work » Needs review
StatusFileSize
new893 bytes

Let's try this...

Status: Needs review » Needs work

The last submitted patch, 5: expanding_formatter-2555025-5.patch, failed testing.

plach’s picture

Status: Needs work » Needs review
StatusFileSize
new895 bytes
new36.07 KB
new888 bytes

Lol, the most difficult one-line fix in my life :)

Apparently the repo is using CRLF line-endings for some reason, and I'm not able to create a patch that will apply without converting everything to LF, so posting a patch for the bot and one for review.

marco’s picture

Status: Needs review » Reviewed & tested by the community

Reviewed and tested, works well.