Time Conditions page not working

Hello everyone,

We have two different boxes, both running 10.13.66-16. In both we get a JS error on the Time Conditions page and the Submit button is not working. One is an old box with existing time conditions, the other is a new one where we cannot add any time conditions.

The error we get in both (in both the main Time Conditions page as well as in the Add Time Condition page) is:
Moment Timezone has no data for Europe/Athens. See http://momentjs.com/timezone/docs/#/data-loading/.
/admin/assets/timeconditions/js/zmoment-timezone.js?load_version=13.0.189:6

We tried changing the time zone through Sysadmin-Timezone, through Advanced settings as well as on the Time Conditions page itself, but no matter what we select, the page will not work.

From what I can understand it seems to be a FreePBX problem
Any ideas?

Alex

Quick update:

We can create Time Conditions from the lightbox pop-up in Inbound Routes (but cannot edit them afterwards).
Also, we have obviously tried this with multiple browsers (Chrome, FireFox, IE) and from different computers.

I have a similar problem, Edit or Create works, but the Submit button has no reaction or error message.

We have the same problem. Has anyone created a bug report yet?

Here is a link to the ticket:
http://issues.freepbx.org/browse/FREEPBX-13416

I can confirm it’s related to two module version incompatibility as of now:
freepbx framework 13.0.189
time contidions 13.0.32.2

If you need fix revert back these to previous releases, all fine there:
freepbx framework 13.0.188.9
time contidions 13.0.32

hope this helps you

Ivan

Framework has nothing to do with this. Don’t revert framework.

Framework has nothing to do with this. Don’t revert framework.

Did tests with following results

framework .189
time conditions 32.0 →
Time Groups “Submit not working”.
Time Conditions “Submit not working”.

time conditions 32.2 →
TIme Groups “Error page”. (check pic)
Time Conditions “Submit not working”.

framework 188.9
timeconditions 32.0 →
Time Conditions “OK”.
TIme Groups “OK”

timeconditions 32.2 →
Time Conditions “OK”.
TIme Groups “Error page”. (check pic)

Thanks
Ivan

Your screenshot clearly shows the error is with timeconditions.

How does one rollback this module ?

Your screenshot clearly shows the error is with timeconditions.

Yes it does. it’s timegroups page not working as well
anyways, … waiting for next release fix. Until then 188.9.and 32.0 is fix for me.

How does one rollback this module ?

  1. Module Admin
  2. Click Check Online
  3. Click on Time Condition (just under module name there should be Info/Changelog/Previous )
  4. Click Prevous
  5. Choose version and click Rollback

good to go :wink:

Works 100%, thankyou.

This has been fixed.

This has been fixed.

Confirmed