[jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115311#comment-16115311 ] Kishore Kumar commented on CONNECTORS-1445: --- Hi [~daddywri], I have also added the timezone string to the request. We are sending the params on form submit like when you change tab. I have attached a screenshot, where in I am displaying the time zone from server editjob.jsp !TimeZone.png|thumbnail! Thanks, Kishore Kumar > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright resolved CONNECTORS-1445. - Resolution: Fixed > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115319#comment-16115319 ] Kishore Kumar commented on CONNECTORS-1445: --- Hi [~daddywri] I have added the following lines in editJob.jsp at Line No 762 {code:html} <%=variableContext.getParameter("client_timezone_offset")%> <%=variableContext.getParameter("client_timezone")%> {code} Make sure, you browsers mcf.js file shows the newly added lines Thanks, Kishore Kumar > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115318#comment-16115318 ] Karl Wright commented on CONNECTORS-1445: - r1804177 commits the code to use the client timezone in the reports pages, if available. Still not seeing it, but let's hope that is just operator error on my part. > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115347#comment-16115347 ] Kishore Kumar commented on CONNECTORS-1445: --- Hi [~daddywri], I see why you are not able to see the variables on server, is because these parameters are sent when you submit or change tab, but the reports are fetch using the jQuery.load method (get), I will update mcf.js tonight. Please let me know, do you want to include the offset (-300) min in the request as it's not used. Thanks, KK > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115347#comment-16115347 ] Kishore Kumar edited comment on CONNECTORS-1445 at 8/5/17 9:21 AM: --- Hi [~daddywri], I see why you are not able to see the variables on server, is because these parameters are sent when you submit or change tab, but the reports are fetch using the jQuery.load method (get), I will update mcf.js tonight. Please let me know, do you want to include the offset (-300) min in the request as it's not used. If you want to have a quick look, then please refer https://github.com/apache/manifoldcf/pull/20/commits/2af3841d38f2f22151be64e665787872dbd7af66 Thanks, KK was (Author: kishorekumar): Hi [~daddywri], I see why you are not able to see the variables on server, is because these parameters are sent when you submit or change tab, but the reports are fetch using the jQuery.load method (get), I will update mcf.js tonight. Please let me know, do you want to include the offset (-300) min in the request as it's not used. Thanks, KK > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kishore Kumar updated CONNECTORS-1445: -- Attachment: TimeZone.png > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115315#comment-16115315 ] Karl Wright commented on CONNECTORS-1445: - [~kishorekumar]: Thanks. I'm still not getting it to work using variableContext.getParameter(). I have cleared the browser page cache but that may not be sufficient? And, what code did you use for your screenshot? > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
[ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115361#comment-16115361 ] Karl Wright commented on CONNECTORS-1445: - [~kishorekumar], thank you for looking at the code. I need the timezone right now, but the timezone offset may come in handy in the future, so I'd continue to support it. Thanks! > TimeZone Issues in Manifoldcf 2.6 > - > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core >Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" >Reporter: Robert Kavanagh >Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch, TimeZone.png > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is > correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API > it works correctly for timezone "America/New_York". However if I change the > time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold > UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)