Bug 124902 - Shortcuts stop working if > 50 entered
Summary: Shortcuts stop working if > 50 entered
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: APLAWS   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Daniel Berrange
Depends On:
TreeView+ depends on / blocked
Reported: 2004-06-01 11:26 UTC by Graham Lally
Modified: 2010-09-03 14:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-09-03 14:33:18 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Graham Lally 2004-06-01 11:26:59 UTC
Description of problem:

ccm-ldn-shortcuts application uses a c.ad.util.Cache object of size 50
to keep track of URL shortcuts. I think this leads to a problem when
you have more than 50 shortcuts whereby some (whichever get deleted
when new ones get added) no longer work, i.e. they return a 404 (and
the target URL still works fine).

Version-Release number of selected component (if applicable):

Verified in 5.2 and 6.0 Unsure of nightly.

How reproducible:

Consistently, but limited testing due to time taken to enter a
bazillion shortcuts.

Steps to Reproduce:
1. Add shortcut at /shortcuts/admin || /admin/shortcuts
2. GOTO 1 unless ($#shortcuts > 50)
3. Clicky clicky on the oldest shortcuts.
Actual results:

404 page referring to the shortcut name (e.g. "/my-shortcut/ not
found", rather than "/target-url/ not found")

Expected results:

Shortcut works, forwards you to intended page.

Additional info:

Note You need to log in before you can comment on or make changes to this bug.