Problem/Motivation

When using tokens as filenames for exporting submissions, the tokens can get quite long and will hit the default 128 character limit of textfields.

Steps to reproduce

1. Create a webform, make a few submissions.
2. Go to Results -> Download and select any format that exposes a File name option.
3. Enter a really specific filename using tokens (e.g. [webform_submission:webform:id]--[webform_submission:source-entity:title]--[webform_submission:source-entity:created]--[webform_submission:serial])

Proposed resolution

- Increase maxlength or just make it unbounded.

Remaining tasks

- Review

User interface changes

- File name for results download is increased/unlimited.

API changes

- None

Data model changes

- None

Comments

fskreuz created an issue. See original summary.

fskreuz’s picture

  • fskreuz authored 942e9d3c on 6.1.x
    Issue #3366274 by fskreuz: Increase submission export filename maxlength
    

  • fskreuz authored 942e9d3c on 6.x
    Issue #3366274 by fskreuz: Increase submission export filename maxlength
    

  • fskreuz authored 942e9d3c on 6.2.x
    Issue #3366274 by fskreuz: Increase submission export filename maxlength
    
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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