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.
It will be grate if the Path field in basic edit form for the pane entity (@see fieldable_panels_panes_entity_edit_form) allows more characters. Lets say 2048 which are max characters accepted my the link field module.
Comment | File | Size | Author |
---|---|---|---|
#12 | more_characters_in_the_path_field-2074355-12.patch | 1.3 KB | MiroslavBanov |
#11 | more_characters_in_the_path_field-2074355-11.patch | 953 bytes | MiroslavBanov |
#9 | more_characters_in_the_path_field-2074355-8.patch | 951 bytes | MiroslavBanov |
Comments
Comment #1
boyan.borisov CreditAttribution: boyan.borisov commentedPlease find a patch the set a maxlength to 2048 for path field.
Comment #2
Dave ReidThis won't work unless you also change the table schema for the path field. It's currently a VARCHAR(255) field.
Comment #3
boyan.borisov CreditAttribution: boyan.borisov commentedsorry, I've missed that. I made a new one that updates the table.
Comment #5
boyan.borisov CreditAttribution: boyan.borisov commentedI forgot to merge the two patches at one
Comment #6
boyan.borisov CreditAttribution: boyan.borisov commentedThe update hook id was duplicated.
Comment #7
MiroslavBanov CreditAttribution: MiroslavBanov commentedChase head.
Comment #9
MiroslavBanov CreditAttribution: MiroslavBanov commentedChase head again.
Comment #10
DamienMcKennaAn update script would be needed to avoid causing problems the next time someone submitted a long link on an existing site.
Comment #11
MiroslavBanov CreditAttribution: MiroslavBanov commentedChasing head.
Comment #12
MiroslavBanov CreditAttribution: MiroslavBanov commentedHere is the same patch with update hook.
Comment #13
DamienMcKennaThe {menu_router}.path and {url_alias}.path columns are also set to 255 chars, so I'm not going to make this change in case it leads to other problems. That said, feel free to use hook_schema_alter() to make the modification yourself.