Add token support for filenames in Views Export action

Created on 25 March 2024, 9 months ago
Updated 16 May 2024, 7 months ago

Problem/Motivation

The file name field in the "Views: Export query into file" config does not accept tokens.

Proposed resolution

Update the code to allow tokens.

Remaining tasks

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States boinkster

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @boinkster
  • Merge request !414Update: adds token support for file name. β†’ (Closed) created by boinkster
  • Pipeline finished with Failed
    9 months ago
    Total: 423s
    #128838
  • Status changed to Needs work 9 months ago
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    This needs some more work:

    • Tests are failing, since $this->tokenServices doesn't exist, that's now singular and should be changed to $this->tokenService
    • The configuration form field filename needs to be marked for token support with '#eca_token_replacement' => TRUE,
    • While being on it, the config form field token_for_filename should get the extra information '#eca_token_reference' => TRUE,
  • Pipeline finished with Skipped
    9 months ago
    #139216
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    I've now addressed and fixed the issues from #3 and committed that to 2.0.x

    As this is a new feature, this won't be back ported to 1.1.x but users who need that there early, can use the patch from the MR!414 which hasn't been used.

  • Status changed to Fixed 8 months ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Pipeline finished with Failed
    about 1 month ago
    Total: 176s
    #344356
  • Pipeline finished with Failed
    about 1 month ago
    Total: 174s
    #344457
  • Pipeline finished with Failed
    about 1 month ago
    Total: 185s
    #344488
  • Pipeline finished with Failed
    about 1 month ago
    Total: 134s
    #344539
  • Pipeline finished with Failed
    about 1 month ago
    Total: 174s
    #344543
  • Pipeline finished with Failed
    about 1 month ago
    Total: 197s
    #345697
  • Pipeline finished with Failed
    about 1 month ago
    Total: 171s
    #345720
  • Pipeline finished with Failed
    about 1 month ago
    Total: 286s
    #345749
  • Pipeline finished with Failed
    28 days ago
    Total: 186s
    #353085
  • Pipeline finished with Failed
    28 days ago
    Total: 179s
    #353172
  • Pipeline finished with Failed
    28 days ago
    Total: 177s
    #353181
Production build 0.71.5 2024