I'm not sure if this a bug or intended, if intended, then this is a feature request, otherwise a bug report...

When clicking on an Add Another tab on a node, the next screen isn't the edit form for the particular content type as expected, but is instead the content type selection screen. I would expect the Add Another tab to work the same way as the add another link in the message (which does go to the appropriate CT edit form).

CommentFileSizeAuthor
#2 1051762_node_add_links.patch1.67 KBsolotandem
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Robin Monks’s picture

Assigned: Unassigned » Robin Monks

Definitely a bug; I'm working on some logic to fix it along with some other enhancements in prep for final.

/Robin

solotandem’s picture

Status: Active » Needs review
FileSize
1.67 KB

The attached patch seems to solve this issue.

Your tests need to consider underscores in the node type name. The drupal web test case randomName() function calls mt_rand() which only generates numbers so this use case is never addressed.

Robin Monks’s picture

Status: Needs review » Fixed

Patch committed to 7.x-2.x branch. Thanks!

/Robin

Status: Fixed » Closed (fixed)

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

  • Commit d132ef6 on master, 8.x-1.x by Robin Monks:
    Patch #1051762 from solotandem: "Clicking on Add Another Tab doesn't go...