Can't edit time field for trigger

Version 1.5.0.198: Time field in trigger settings doesn’t show anything and can’t be edited. /Anders

Hi Anders, the date and time field in the trigger can be edited. The text box does not allow freeform text, each part of the date / time is selected individually (via clicking on an individual section of the date / time or using the tab key to iterate through the parts). By default clicking on the text box will select the first part for editing (eg the day field).

You noted that you cannot see anything in the textbox, could you please be able to elaborate further on the situation that resulted in this?

We will look closer at improving this experience.

No, I can’t edit. I understand what you say, but it doesn’t work in my case. At a colleagues computer however (she is running Chrome, I use IE) it works fine. The strange thing is the overview of the triggers has a time info. When I open the dialog the editor is completely empty and nothing can be done. The tab key always brings me out of the editor eg. /Anders

Hi Anders,

We can’t reproduce this here. Which version of IE are you using? Do you see any javascript errors in the console after pressing F12 to bring up the IE developer tools? What is the Format setting in your Region settings in the Windows control panel?

IE: 11
F12: Nothing that I can recognize
Region settings: Swedish

Still no luck reproducing. Can you enter a time if you create a new trigger?

Perhaps it’s something related to the time stored - can you bring up the developer tools again and click on the Network button on the left. Press the play button at the top of the Network area and then click Edit on the triggers page to open the trigger dialog. You should see a line on the Network for a URL similar to this: /ProjectName/ci/configwizard/trigger/c4f8b0eb-3b2a-402f-a2d5-a39200af5cb6

Double click on this line and then select Response body.  Can you post the content - it should look something like:

{“Id”:“dfaad92e-9508-400a-b975-a39200e5c9a0”,“Name”:“Trigger1”,“Description”:“Trigger build at \u003c(T)2014-08-25T07:00:00Z\u003e every day.”,“Deleted”:false,“Enabled”:false,“Priority”:1,“LastExecuted”:null,“LastModified”:"/Date(1408902997812)/",“PlugIn”:{“Name”:“Daily”,“Properties”:[{“Name”:“Time”,“Value”:“2014-08-25T07:00:00Z”},{“Name”:“Repeat”,“Value”:“EveryDay”},{“Name”:“RepeatInterval”,“Value”:“1”}]},“Configuration”:{“Id”:“3eb75f7d-249f-490e-ba1c-a39200e5c4d8”,“Name”:“TriggerClone”,“TypeId”:2001,“Slug”:“TriggerCloneTest”,“HasLdapLink”:false},“OverriddenVariables”:null,“ForceRepositoryCheck”:true,“ChangesetAssociation”:0,“RepoBranches”:{}}



{“Id”:“c14a519e-9d2c-4a84-9845-a38f0108edb3”,“Name”:“Daglig körning”,“Description”:“Trigger build at \u003c(T)2014-08-25T21:12:00Z\u003e every day.”,“Deleted”:false,“Enabled”:false,“Priority”:1,“LastExecuted”:null,“LastModified”:"/Date(1408942808292)/",“PlugIn”:{“Name”:“Daily”,“Properties”:[{“Name”:“Time”,“Value”:“2014-08-25T21:12:00Z”},{“Name”:“Repeat”,“Value”:“EveryDay”},{“Name”:“RepeatInterval”,“Value”:“1”}]},“Configuration”:{“Id”:“f3f437c3-7a39-4012-822b-a38f0108ed9b”,“Name”:“AlmaKomEko”,“TypeId”:2001,“Slug”:“AlmaKOM”,“HasLdapLink”:false},“OverriddenVariables”:null,“ForceRepositoryCheck”:true,“ChangesetAssociation”:0,“RepoBranches”:{“90fef77f-b7c2-42e0-bb88-8160ac454429”:“default”,“a18cc84c-3b93-45af-9822-532227a76d37”:“default”,“0e51ad83-6935-4b8b-bb90-a01a2bd2d3fd”:“default”,“5c7785f2-019f-4a63-bb93-a894b9e63d58”:“default”}}

Thanks for sending response text. We adapted our code to output the same response, but the time input box works fine for us in IE11 and Swedish regional settings.

Can you help us to narrow this problem by answering the folllowing questions.

Does this issue occur; 
1) when editing other triggers or only when editing this one trigger?
2) when creating new triggers or only when editing triggers?
3) if you edit the same trigger with a different web browser e.g. Chrome and the same user logged in?
4) if you edit the same trigger with the same IE web browser with your colleague logged in?

Do you have any add-ons installed in IE?

The time input control uses a third party component from http://keith-wood.name/datetimeEntry.html. Can you browse to this site see if the input boxes work for you?

Finally, can you open the IE developer tools again with the trigger dialog open. Select the Console and type each of the following commands after the > prompt at the bottom:

$("#plugIn_Time").prop(“outerHTML”);
 
$("#plugIn_Time").datetimeEntry(‘getDatetime’).toString();
 
$("#plugIn_Time").prop(“disabled”);
 
$("#plugIn_Time").datetimeEntry(“isDisabled”);

Then post the output here.

Thank you for your patience with this, hopefully we can get to the bottom of this issue soon.  

Hi, Thanks for all good work! Today everything suddenly works as designed. I am not able to repeat the problem. Times show up just fine in the edit boxes and can be edited. Sorry to say, I don’t understand this either. In case the problem reappears, I will go through your tests, but for now there isn’t much to do.

/Anders