In entity_ui_get_bundle_add_form() and entity_ui_get_action_title(), the bundle needs to be checked for existence.

For entity_ui_get_bundle_add_form(), we should return MENU_NOT_FOUND if the bundle does not exist.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twistor created an issue. See original summary.

twistor’s picture

Status: Active » Needs review
FileSize
1.06 KB
Chris Matthews’s picture

The 2 year old patch in #2 to entity.module applied cleanly to the latest entity 7.x-1.x-dev and (if still relevant) needs review.