After localizing I am unable to setup an appoinment, I get a notice error that goes:

Notice: Undefined index: en in date_time_range_widget_date_popup_process_alter() (line 18 of /var/www/cams/profiles/clinic_appointment/modules/clinic_appointment/date-time-range-widget/date_time_range_widget.module).

If I still try to save the appoinment I get the notice:

Notice: Undefined index: en in date_time_range_widget_date_popup_process_alter() (line 18 of /var/www/cams/profiles/clinic_appointment/modules/clinic_appointment/date-time-range-widget/date_time_range_widget.module).
There are errors in Date value #1:
The End date must be greater than the Start date.

By the way, great work in this distro.

Comments

marcetm created an issue. See original summary.

wuinfo - bill wu’s picture

It seems the form element is not localized. Well, try this patch.

marcetm’s picture

Now I get rid of the notices messages but the first appoinment lasts a month. I think I need to check it out more deeply. I'll try it in a fresh installation.

Thanks for your time.

marcetm’s picture

After checking your patch in a fresh installation I think this issue could be considered as solved.

  • wuinfo committed 2c944ae on 7.x-1.x
    Issue #2608402 by wuinfo: Undefined index: after localizing
    
wuinfo - bill wu’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.