Skip to content
Snippets Groups Projects
Commit c9127d9d authored by Andrew W Petro's avatar Andrew W Petro
Browse files

Merge branch 'add-error-codes' into 'master'

Add MYUW-002 and MYUW-003 error codes

See merge request myuw/my-root!25
parents 81af4a68 169cd007
No related branches found
No related tags found
No related merge requests found
# Root context and error valve change log
## 1.1.16
+ Label the root 403 error page with error code MYUW-002.
+ Label the root 404 error page with error code MYUW-003.
+ Use root-relative link to feedback so that feedback remains in correct hostname
(so, in my.wisc.edu the feedback link will be to my.wisc.edu,
but in my.wisconsin.edu the feedback link will be to my.wisconsin.edu)
## 1.1.15 and earlier
Prior versions exist, but they predate this change log.
......@@ -17,7 +17,7 @@
<img src="/main_logo_w_all.png" alt="University of Wisconsin System Logo" class="uw-logo">
</div>
<!-- Title -->
<h1 class="mdl-layout-title outage-title">Access Denied</h1>
<h1 class="mdl-layout-title outage-title">MYUW-002 Access Denied</h1>
</div>
</header>
<main class="mdl-layout__content content-centered">
......@@ -26,8 +26,12 @@
<div class="mdl-cell mdl-cell--8-col mdl-cell--10-col-phone">
<img src="/alert-icon.png" alt="Line art image of an exclamation mark inside of a triangle" class="alert-icon">
<h2 class="mr-title">Sorry, you're not authorized to access this page.</h2>
<p>If you're here by accident, head back to your MyUW <a href='/web'>homepage</a>.</p>
<p>For help with authorization, contact the DoIT <a href="https://kb.wisc.edu/helpdesk/">Help Desk</a>.</p>
<p>MyUW determined you're not authorized to access the requested page.</p>
<p>This could be because you're really not authorized. If that's the case, trying again will not help.</p>
<p>Or it could be because your session timed out or MyUW otherwise got confused. If so, sorry! And trying again may well work for you.</p>
<p>Next, you can head back to your MyUW <a href='/web'>homepage</a>.</p>
<p>For help with authorization, contact the DoIT <a href="https://kb.wisc.edu/helpdesk/">Help Desk</a>. When contacting the Help Desk, please mention <em>MyUW error code MYUW-002</em>.</p>
<p>(Technical detail: MyUW error code MYUW-002: HTTP status code 403 FORBIDDEN issued by the root servlet context.)</p>
</div>
<div class="mdl-cell mdl-cell--2-col mdl-cell--1-col-phone"></div>
</div>
......
......@@ -19,7 +19,7 @@
<img src="/main_logo_w_all.png" alt="University of Wisconsin System Logo" class="uw-logo">
</div>
<!-- Title -->
<h1 class="mdl-layout-title outage-title">Page Not Found</h1>
<h1 class="mdl-layout-title outage-title">MYUW-003: Page Not Found</h1>
</div>
</header>
<main class="mdl-layout__content content-centered">
......@@ -30,7 +30,8 @@
<h2 class="mr-title">Sorry, the page you are looking for does not exist or you don't have access to it.</h2>
<p>Please go to the <a href='/'>MyUW home page</a>.</p>
<p class="apologize">We apologize for the inconvenience. If you feel as though this URL should exist, please drop
us a line on our <a href='https://my.wisc.edu/portal/p/feedback'>feedback form</a>.</p>
us a line on our <a href='/portal/p/feedback'>feedback form</a>. When offering feedback or contacting the Help Desk, please mention <strong>MyUW error code MYUW-003</strong>.</p>
<p>(Technical detail: HTTP status code 404 NOT FOUND presented by root servlet context.)</p>
</div>
<div class="mdl-cell mdl-cell--2-col mdl-cell--1-col-phone"></div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment