bsed / ala

Automatically exported from code.google.com/p/ala
0 stars 0 forks source link

User Dashboard needs update #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Original Issue  - 
https://code.google.com/p/alageospatialportal/issues/detail?id=914

Project Member Reported by leebel...@gmail.com, Mar 19, 2012 
What steps will reproduce the problem?

1. Click on any entry under the Action tab and then click on 'Application' 
(e.g., 
http://spatial.ala.org.au/actions/app/view/a6ed8f73232300467682b6a203699dbacaa32
a35) and you get an error 404

2. Sessions tab: Need date/time on session record

 Apr 4, 2012 #1 ajay.ranipeta 
Yea, haven't done that part yet as no other applications yet. Need to figure 
out a way for 3rd party apps to register, et al so we can monitor usage et al.
 Apr 12, 2012 #2 ajay.ranipeta 
(No comment was entered for this change.)
 Status: InTest Apr 12, 2012 Project Member #3 leebel...@gmail.com 
Thanks Ajay. Not sure what I am testing.
 Apr 12, 2012 #4 ajay.ranipeta 
1. Click on any entry under the Action tab and then click on 'Application' and 
you don't get a 404 error.

 Apr 12, 2012 Project Member #5 leebel...@gmail.com 
Thanks Ajay. Tried that and aok, but then tried to click on Application 

http://spatial.ala.org.au/actions/app/view/a6ed8f73232300467682b6a203699dbacaa32
a35

and got a 404
 Status: Started May 8, 2012 #6 ajay.ranipeta 
this is fine now. the link has now changed and doesn't have the "view" part in 
the url
 Status: InTest May 8, 2012 Project Member #7 leebel...@gmail.com 
Thanks Ajay. 

Ideally, we need at least an email address associated with sessions/actions if 
user is logged in (otherwise IP ok). I have to get seriously into some stats on 
the logs in the next month and it would be good to see individuals popping up 
that I could put a context on.
 Status: Started May 9, 2012 #8 ajay.ranipeta 
code updated to display email and user ip. In SVN
 Status: ToDev May 9, 2012 #9 ajay.ranipeta 
(No comment was entered for this change.)
 Status: InTest May 10, 2012 Project Member #10 leebel...@gmail.com 
Error when clicking View All Activity: HTTP Status 500

Also: Should also report name/ip on your own sessions
 Status: Started May 10, 2012 #11 ajay.ranipeta 
Why should it return your own email and ip? 

If they are already logged in and see their IP on top, isn't that a redundant 
information?

Does it make sense for them to view the ip, esp. if they are on DHCP? We need 
to see the IP to figure out which country/other reason, but they don't need to? 
 May 10, 2012 #12 ajay.ranipeta 
btw, the View All Activity works fine for me. Maybe Adam was restarting 
services.
 Status: InTest May 10, 2012 Project Member #13 leebel...@gmail.com 
Still getting 500 error on Chrome and FF with cleared cache.
 Status: Started May 21, 2012 Project Member #14 leebel...@gmail.com 
Just checked: Same as Comment 13.
 May 21, 2012 #15 ajay.ranipeta 
yes, the problem is that there is too much data there to look at between the db 
and the page, too much to handle and not enough memory. I'll just need to setup 
a paging system and grab a set of data at a time. 
 Jun 4, 2012 Project Member #16 leebel...@gmail.com 
1. Urgently need ability to get a dump of all usage for EU meetings and ALA 
report.

2. Also need to SORT the entries so that last in is up top.

3. We do need some form of date/time against entries, however and wherever is 
possible. The Actions tables could be wider?
 Jun 5, 2012 #17 ajay.ranipeta 
issues fixed, enhancements added. code up on dev and prod. 

if good, please set to Fixed.
 Status: InTest Jun 5, 2012 Project Member #18 leebel...@gmail.com 
Thanks Ajay - much improved. This will be very useful. Some hopefully minor 
suggestions

1. Can date/time to right-justified to align? Would make it heaps easier to 
scan.

2. Can Session table be sorted by date/time with latest at top? Ditto for 'All 
Activity'

3. Download of Session table for All Activity doesn't include all displayed 
table fields.

4. Download of Records table for All Activity doesn't include all displayed 
table fields.

5. Greatly prefer Records table uses email address rather than IP address 
(alignment between Session and Records table?).

6. Records table 'Filter within results' is neat Ajay: Can we add same function 
for Session table?

Thanks Ajay. This is terrific data.
 Status: Started Jun 5, 2012 Project Member #19 leebel...@gmail.com 
Aay: Also noticed that about 45% of the sessions have a 'Duration' of '0' 
minutes while the rest are display with 1-2 decimal places. I'm assuming the 
'0' sessions are less than 1 minute?

 Summary: User Dashboard needs update Jun 5, 2012 #20 ajay.ranipeta 
1. the right-justified was looking a bit odd, hence the current string. might 
have to re-think this view?

2. done.

3. done.

4. done.

5. email can usually be guest@ala.org.au (default) and you requested IP 
initially. changed it back to email now.

6. done.

re: Duration of 0, it's probably because the user just loaded a single layer or 
maybe just loaded the app and left without adding anymore layers. and the 
session id changed as they might've come back and done something else with a 
new session id (automatically generated).
 Status: InTest Jun 5, 2012 Project Member #21 leebel...@gmail.com 
Thanks Ajay. Good to talk. Here are the issues discused (I think that's them 
all)...

1. Add IP address next to email address in sessions download so I can 
differentiate guests

2. Substitute Duration of 0.01 for any session duration = 0

3. Remove App ID column from Records download
 Status: Started Jun 14, 2012 #22 ajay.ranipeta 
fixed. on svn. need to push to dev for testing.
 Status: ToDev Jun 14, 2012 #23 ajay.ranipeta 
now on dev.
 Status: InTest Jun 15, 2012 Project Member #24 leebel...@gmail.com 
Sorry Ajay: Forgot to ask to add IP next to email for all Records table as well 
as Sessions table. My mistake. Otherwise, it looks great.
 Status: Started Jun 15, 2012 #25 ajay.ranipeta 
done.
 Status: InTest Jun 16, 2012 Project Member #26 leebel...@gmail.com 
Great! ToProd please.
 Status: ToProd Jun 19, 2012 #27 ajay.ranipeta 
code now up on dev and prod.
 Status: InTest Jun 19, 2012 Project Member #28 leebel...@gmail.com 
Prod (All activities)-

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Handler processing failed; 
nested exception is java.lang.OutOfMemoryError: Java heap space
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    au.org.ala.cas.client.AlaHttpServletRequestWrapperFilter.doFilter(AlaHttpServletRequestWrapperFilter.java:65)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

root cause

java.lang.OutOfMemoryError: Java heap space
    java.lang.StringCoding$StringDecoder.decode(StringCoding.java:133)
    java.lang.StringCoding.decode(StringCoding.java:173)
 Status: Started Jun 19, 2012 Project Member #29 leebel...@gmail.com 
Suggest for 'All activities' display only first page (most recent) and then 
ability to download all of Action and Session table (separately or together - 
whatever) zipped.
 Jun 20, 2012 #30 ajay.ranipeta 
- added base code for paging
- currently set limit of 500 for both logs and sessions
- TODO: full paging

 Status: ToDev Jun 21, 2012 #31 ajay.ranipeta 
(No comment was entered for this change.)
 Status: InTest Jun 21, 2012 Project Member #32 leebel...@gmail.com 
Thanks Ajay: 

View All activity-

1. Not sure if we need full paging: What you have is fine for preview of 
recents as would not be able to or want to page through all records anyway (but 
charts of all is vital)

2. Do the Charts reflect all records or only 500?

3. For download (all), I think it may be expedient to only export (for actions)

id, email, userip, time, type, sessionid, category1, category2, name, layers

as I don't see an easy way to analyse the rest at this point.

 Status: Started Jun 21, 2012 Project Member #33 leebel...@gmail.com 
Looking at stats (all)

1. Under Species, you have search, n/a, facet, assemblage, occurrence. Search 
ok, but don't fully grasp the others. We may need better terms?

2. What the difference between Import | Species and Import | LSID?

3. Is Import | LSID the same as Import | assemblage?

 Jun 21, 2012 #34 ajay.ranipeta 
From comment#32:
1. this is just a pretend paging. does only the last 500 records

2. Nope, it's the whole dataset

3. done.

From comment#33
1. maybe

2. Import | Species = CSV update. Import | LSID = importing assemblage

3. There is no Import | Assemblage. There is Search | Assemblage which involves 
the user generating the assemblage. Import | LSID is importing it. 
 Status: InTest Jun 22, 2012 Project Member #35 leebel...@gmail.com 
Please see if ambiguous terms can be clarified (agree - minimal changes).
 Status: Started Jun 22, 2012 #36 ajay.ranipeta 
more info plz?
 Jun 22, 2012 Project Member #37 leebel...@gmail.com 
Via

Species sub-Chart: Occurrences -> In Area
Import sub-Chart: LSID -> Assemblage
Export sub-chart: Species list -> Checklist
Area sub-Chart: RadiusManual -> Radius
                AddressRadius -> Address
                Polygon -> Polygon (assume this is interactive?)
                Map polygon -> MapPolygon?
                RegionSelection -> GazPolygon ?
                RegionSelection -> GazPolygon ?

 Dec 3, 2012 Project Member #38 leebel...@gmail.com 
(No comment was entered for this change.)
 Owner: moyesyside Cc: chris.fl...@gmail.com Labels: -Priority-Critical Priority-Medium Jan 21, 2013 Project Member #39 john.t...@austmus.gov.au 
22 January 2013: I am getting problem No 1
1. Click on any entry under the Action tab and then click on 'Application' 
(e.g., 
http://spatial.ala.org.au/actions/app/1a9f378201b02bf120e2d5a6a8ba601a48049438) 
and 
and get an error 500

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:681)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    au.org.ala.cas.client.AlaHttpServletRequestWrapperFilter.doFilter(AlaHttpServletRequestWrapperFilter.java:65)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

root cause

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    java.util.ArrayList.RangeCheck(ArrayList.java:547)
    java.util.ArrayList.get(ArrayList.java:322)
    org.ala.spatial.services.dao.ApplicationDAOImpl.findApplicationByAppId(ApplicationDAOImpl.java:85)
    org.ala.spatial.services.web.ApplicationController.appInfo(ApplicationController.java:62)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    au.org.ala.cas.client.AlaHttpServletRequestWrapperFilter.doFilter(AlaHttpServletRequestWrapperFilter.java:65)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

 Jul 8, 2013 Project Member #40 leebel...@gmail.com 
The user dashboard appears totally busted so upping this to Critical. 
http://spatial.ala.org.au/actions/dashboard produces (in part)

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path validation failed: 
java.security.cert.CertPathValidatorException: timestamp check failed
    org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:295)
    org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.java:33)
    org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:178)
    org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:132)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:102)
    au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:167)
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 Labels: -Priority-Medium Priority-Critical Jul 8, 2013 Project Member #41 moyesyside 
this is a SSL  certificate issue that happened when the certificate expired 40 
mins ago. Affects more the the dashboard tooll....
 Jul 10, 2013 Project Member #42 leebel...@gmail.com 
OK, the certificate issue is now fixed and the original problems remain. 
Lowering for now as there are higher priorities.
 Labels: -Priority-Critical Priority-Medium

Original issue reported on code.google.com by moyesyside on 8 Aug 2013 at 12:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
August 2013: still wanted

Original comment by john.t...@austmus.gov.au on 13 Aug 2013 at 8:40