Project

General

Profile

Actions

Bug #1192

closed

Error message for unauthorized user does not close </a> and buttons cannot be used

Added by Michael Lee about 21 years ago. Updated about 21 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
website
Target version:
Start date:
10/24/2003
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1192

Description

The page referenced above, if logged in as uncertified user, results in a page
that has the hyperlink engulfing the buttons on the page. The button thus don't
work, as pressing them sends you to the hyperlink location. We just need to
close the <a> element before ending the token that presumably uses the generic
form. I suppose we could cheat and alter the generic form to throw in a </a>
before the buttons to end any extant hyperlinks if this is too burdensome. If
the </a> was extra, it would just get ignored.

View source:
...
<!-- POST THE MESSAGES HERE --> <span class="category"> INVALID PERMISSIONS
ERROR </span> <br> <br> <span class="item"> User: Does Not Have
Permission to Load Data To Vegbank <br> In order to attain this privilege,
please fill out the certification form at: <a
href="/vegbank/forms/certification.html">Certification Form</span> <br> <br>
<form><input type="button" value="Click here to go back"
onClick="history.back()" /><input type="button" value="Click here for the
VegBank Main Menu"
onClick='window.location="/vegbank/servlet/usermanagement?action=options"'/></form><!--
VEGBANK FOOTER -->
...

Actions #1

Updated by P. Anderson about 21 years ago

That was a fun one. Good catch, Michael.

Actions #2

Updated by Redmine Admin almost 12 years ago

Original Bugzilla ID was 1192

Actions

Also available in: Atom PDF