-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work for servers with negative timezone offset #12
Comments
It should work immidiatly. DW is not involved. Data are from live DB. |
Is there some debugging technique I can use to troubleshoot? |
@rjc570 Thank you for reaching out to us and please excuse my late reply We have been running the Status History on RTC 6.0.4 for quite a while, the log file excerpt posted by you is looking good and also the setup looks fine to me. It's ok that it says "not available" while adding the presentation (although I would like to know how I can change that label, but that's another story). One important thing to know is that the status history only shows data if you have saved the work item you are viewing at least once, so I mean that as long as the History tab in RTC does not have any entry, the status history presentation will be a blank box. To be able to help you to get this up and running, could you check the following:
|
@rjc570 Have you had the chance to look into this again? |
@rjc570 To be honest, I have no clue why this is not working |
I'm not sure this is related, but the plugin did not work for us either. It looks to be a locale issue. The modified time, match expression, was using a '+' instead of a '-' for the last 4 digits. When I changed this everything worked as it should. The match filter is in Presentation.js in the createStateHistory function. I used RESTClient to run the GET on the workitem history and see what our date format looked like (which did not have a + in it). |
Where did you find this file, Presentation.js, to change? I did a search in my server directory and could not find it. |
It's a file inside the Plugins JAR file. |
Is this the line you modified? |
yes, for my server the format was: You should check the format on your server before changing the code, the request in that function is what returns the modified time for each state change in history. (the base URL is https://server:port/ccm/) |
@mab447 Thank you so much for your help. This seems to be the root cause and I was able to reproduce thiss on my side for servers with a negative time zone offset. I will attach a bugfix and create a new, patched release of it. |
@rjc570 and @mab447: Please try Version 2.2.5 and let me know if this solves your issue. |
I can confirm version 2.2.5 is working. Thanks for all the efforts. |
Great, good to hear that :-) |
Should it work immediately after installation? Do data ware house jobs need to run to pull the data? I am not seeing any errors in the ccm.log file or in the browser developer window. I just get a blank box.
![screen shot 2018-01-31 at 3 07 31 pm](https://user-images.githubusercontent.com/21124929/35645035-a18137cc-0698-11e8-9718-4cf5d4b2fe41.png)
![screen shot 2018-01-31 at 3 07 59 pm](https://user-images.githubusercontent.com/21124929/35645040-a7631fd4-0698-11e8-8c0a-f2db6d4e4544.png)
![screen shot 2018-01-31 at 3 10 46 pm](https://user-images.githubusercontent.com/21124929/35645147-ff01341a-0698-11e8-9265-8415f115d618.png)
The text was updated successfully, but these errors were encountered: