[java-identity-provider] branch main updated: IDP-1850 - Status page is misreporting uptime

Scott Cantor cantor.2 at osu.edu
Wed Aug 11 22:25:46 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=f63c0c2af51b73ee3236defb2dfc8c01cdab2a54

The following commit(s) were added to refs/heads/main by this push:
       new  f63c0c2af IDP-1850 - Status page is misreporting uptime
f63c0c2af is described below

commit f63c0c2af51b73ee3236defb2dfc8c01cdab2a54
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Aug 11 18:25:43 2021 -0400

    IDP-1850 - Status page is misreporting uptime
    
    https://shibboleth.atlassian.net/browse/IDP-1850
---
 idp-war/src/main/webapp/WEB-INF/jsp/status.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
index 3fbd94fbd..3afca10fa 100644
--- a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
+++ b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
@@ -31,7 +31,7 @@
 final RequestContext requestContext = (RequestContext) request.getAttribute("flowRequestContext");
 final DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ISO_INSTANT;
 final Instant now = Instant.now();
-final Instant startupTime = Instant.ofEpochMilli(requestContext.getActiveFlow().getApplicationContext().getStartupDate());
+final Instant startupTime = Instant.ofEpochMilli(requestContext.getActiveFlow().getApplicationContext().getParent().getStartupDate());
 %>### Operating Environment Information
 operating_system: <%= System.getProperty("os.name") %>
 operating_system_version: <%= System.getProperty("os.version") %>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list