Bug 483304 - TPS error template does not display correctly
Summary: TPS error template does not display correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: TPS
Version: unspecified
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Jenny Severance
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 443788
TreeView+ depends on / blocked
 
Reported: 2009-01-30 20:09 UTC by Ade Lee
Modified: 2015-01-04 23:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-22 23:31:58 UTC
Embargoed:


Attachments (Terms of Use)
authorization failure error screen shot (85.29 KB, image/png)
2009-06-25 18:16 UTC, Jenny Severance
no flags Details

Description Ade Lee 2009-01-30 20:09:57 UTC
Description of problem:
Need to modify return code from handler to have TPS error template display correctly.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ade Lee 2009-02-27 04:46:27 UTC
Fix in patch as part of 484275

Decision was made to replace DECLINED with DONE to return template correctly and stop processing of request.

[builder@dhcp231-124 pki]$ svn ci -m "Bugzilla 484275 and 483304: TPS roles defined and error templates"
Sending        base/tps/doc/CS.cfg
Sending        base/tps/src/modules/tokendb/mod_tokendb.cpp
Sending        base/tps/src/tus/tus_db.c
Sending        dogtag/tps/pki-tps.spec
Sending        dogtag/tps-ui/dogtag-pki-tps-ui.spec
Sending        dogtag/tps-ui/shared/docroot/tokendb/edit.template
Deleting       dogtag/tps-ui/shared/docroot/tokendb/editAdmin.template
Deleting       dogtag/tps-ui/shared/docroot/tokendb/editAdminResults.template
Sending        dogtag/tps-ui/shared/docroot/tokendb/index.template
Sending        dogtag/tps-ui/shared/docroot/tokendb/indexAdmin.template
Adding         dogtag/tps-ui/shared/docroot/tokendb/searchActivityAdmin.template
Adding         dogtag/tps-ui/shared/docroot/tokendb/searchActivityAdminResults.template
Sending        dogtag/tps-ui/shared/docroot/tokendb/showAdmin.template
Transmitting file data ...........
Committed revision 261.

Comment 2 Jenny Severance 2009-06-04 20:41:15 UTC
please add steps to verify this bug. thanks

Comment 3 Ade Lee 2009-06-05 16:05:34 UTC
Error templates include unauthorized access.

Try this:
1. Create a user that has admin, agent and operator roles. (user 1)  
2. Create another user that has agent and operator roles (user 2)
3. Log in as user1.  You should see three tabs (admin, agent, operator).
4. Clear your cache and authenticated sessions.  Click on the admin tab
5. When prompted for a cert, select user2.  You should see a screen that indicates that you are not authorized to access this page.  Before the fix, a blank page would have been observed.

Comment 4 Jenny Severance 2009-06-05 16:10:52 UTC
thanks!

Comment 5 Jenny Severance 2009-06-25 18:16:17 UTC
Created attachment 349440 [details]
authorization failure error screen shot

Verified - see attached screen shot


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