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.
Steps to reproduce
1) visit admin/structure/views/view/files
2) click File: File ID (Fid) [hidden]
3) open REWRITE RESULTS
fieldset
4) check Override the output of this field with custom text
5) open REPLACEMENT PATTERNS
there should be [fid] == Fid
Comment | File | Size | Author |
---|---|---|---|
#7 | token-fixed.png | 60.27 KB | andypost |
#2 | interdiff.txt | 1.76 KB | dawehner |
#2 | vdc-2137837.patch | 2.57 KB | dawehner |
#1 | Выделение_004.png | 99.84 KB | andypost |
views-field-token.patch | 831 bytes | andypost | |
Comments
Comment #1
andypostD7 allows this so this one is regression
Comment #2
dawehnerLet's ensure that we have test coverage.
Comment #4
dawehner2: vdc-2137837.patch queued for re-testing.
Comment #5
s_gupta_14 CreditAttribution: s_gupta_14 commented2: vdc-2137837.patch queued for re-testing.
Comment #6
s_gupta_14 CreditAttribution: s_gupta_14 commentedPatch #1 views-field-token.patch works. It gives file fid replacement pattern
Comment #7
andypostNow covered with test, attached screenshot that shows no regression from D7
Comment #8
webchickAwesome, thanks!
Committed and pushed to 8.x.