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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost’s picture

FileSize
99.84 KB

D7 allows this so this one is regression
d7

dawehner’s picture

Issue tags: +VDC
FileSize
2.57 KB
1.76 KB

Let's ensure that we have test coverage.

Status: Needs review » Needs work

The last submitted patch, 2: vdc-2137837.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

2: vdc-2137837.patch queued for re-testing.

s_gupta_14’s picture

2: vdc-2137837.patch queued for re-testing.

s_gupta_14’s picture

Patch #1 views-field-token.patch works. It gives file fid replacement pattern

andypost’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
60.27 KB

Now covered with test, attached screenshot that shows no regression from D7
image tokens

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Awesome, thanks!

Committed and pushed to 8.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.