Investigate where Shortcut module lacks test coverage

Created on 5 March 2010, about 15 years ago
Updated 11 May 2025, 1 day ago

This is a spin off of #680850 which is about to land ... here are some tests that didn't make the cut in that issue that are probably still needed. There are certainly more than just these, but these are ones that were mentioned previously.

  • What happens when you exceed the allowed number of shortcuts (latest added should be disabled)
  • The hook that lets a contrib module define the default shortcut set for a user works -- hook_shortcut_default_set()
  • Test adding shortcuts to links with a query string (ex. /node?page=2)
  • Test that the shortcut quicklink is removed on stupid pages (ex. the delete shortcut confirm page)
  • Test that shortcut_set_save() handles deleted shortcuts properly (ref: #609122)
πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

shortcut.module

Created by

πŸ‡ΊπŸ‡ΈUnited States bleen

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024