Red Hat Bugzilla – Bug 124902
Shortcuts stop working if > 50 entered
Last modified: 2010-09-03 10:33:18 EDT
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.
Consistently, but limited testing due to time taken to enter a
Steps to Reproduce:
1. Add shortcut at /shortcuts/admin || /admin/shortcuts
2. GOTO 1 unless ($#shortcuts > 50)
3. Clicky clicky on the oldest shortcuts.
404 page referring to the shortcut name (e.g. "/my-shortcut/ not
found", rather than "/target-url/ not found")
Shortcut works, forwards you to intended page.