Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
How to reproduce
* Use a view with many arguments and some rewrites
* Bump your head when your reach the 256-char-limit
(The idea to workaround this by first doing the rewrite in a rewrite field does not work. The subview will get only one argument, it looks like argument splitting is done before token substitution.)
Comment | File | Size | Author |
---|---|---|---|
#2 | views_field_view-2233819-2.patch | 989 bytes | dructor |
Comments
Comment #1
geek-merlinI think 1024 chars is more appropriate.
Comment #2
dructor CreditAttribution: dructor commentedConverted arguments field from textfield to textarea, eliminating the length limit
Comment #3
geek-merlinApplies and fixes the issue.
Comment #4
damiankloip CreditAttribution: damiankloip commentedSorry, I don't think we should have a textarea. I think the initial patch is ok?
Comment #5
geek-merlinI've worked with this a lot now and IF you have some long rewrites it's a holy pain to only have a textfield.
So i strongly support that approach. Can you elaborate your objections?
Comment #6
damiankloip CreditAttribution: damiankloip commentedSo rtbc but we're still discussing it? Ok :) I am not totally against a textarea. I just don't see many cases you would need this much space. What sort of tokens are you passing in there? Do you have examples?
If we do go with a text are a maybe we limit the rows.
Comment #7
geek-merlin>If we do go with a text are a maybe we limit the rows.
Maybe even to 1 so freaks like me can still expand...
Exapmple use case (from several the one simplest to explain):
Content type with currently 15 (and growing) key fields that are handed to a "matching items" sub-view.
Comment #8
damiankloip CreditAttribution: damiankloip commentedOK. Fair enough if you are passing that many arguments to a child view. Seems like something is architecturally wrong in that case though... But Meh. Let's go with a the text area with one or two rows?