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.
When creating a new node, the attachment links displayed in the upload form are broken because a node ID does not yet exist (see attached).
We should divide the hook_form_alter() into two cases: (1) creating new nodes and (2) editing old ones. In the former case, we should change the upload form help text to explain that attachment links will be visible at the bottom of the node once they save it.
Comment | File | Size | Author |
---|---|---|---|
attachment_links-broken-upload-form-links.png | 54.14 KB | Todd Nienkerk |
Comments
Comment #1
Todd Nienkerk CreditAttribution: Todd Nienkerk commentedFixed. Will commit soon.
Comment #2
Todd Nienkerk CreditAttribution: Todd Nienkerk commentedCommitted. Will be included in the 6.x-1.0-RC3 release.