Steps to reproduce
- Set up a content type with two optional text fields (text1 and text2).
- Make content with content in only text1.
- Configure view:
- Show fields
- Add text1 and text2 fields
- Configure text1 and text2 fields to "Create a label"
- Configure text2 field "Rewrite results" to "Override the output of this field with custom text". Add text1 field's replacement pattern.
- Configure text 2 field's "No results behavior". Disable "Hide rewriting if empty".
Expected output
View with content of text1 field output next to label for text2.
Actual output
The view will not show the content of text1 in the text2 field even though it has been rewritten to do so.
Remaining tasks
I have created a patch for this, however, the patch does not add a test that catches this problem.
Also, see related issue for more details.