hi
can I check if this is still beta? I just tried it out but hit a 500 Internal Server Error, “Cannot read property ‘hours’ of undefined”…details below:
many thanks
Cel
Request URL:https://export.dhtmlx.com/gantt
Request Method:POST
Status Code:500 Internal Server Error
Remote Address:10.17.128.35:8080
Response Headers
view source
Connection:keep-alive
Content-Type:text/plain
Date:Tue, 14 Jun 2016 13:29:58 GMT
Dhtmlx-Error:TypeError: Cannot read property ‘hours’ of undefined
Server:nginx/1.4.6 (Ubuntu)
Transfer-Encoding:chunked
Request Headers
view source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Encoding:gzip, deflate, br
Accept-Language:en-US,en;q=0.8,gl;q=0.6
Cache-Control:no-cache
Connection:keep-alive
Content-Length:7422
Content-Type:application/x-www-form-urlencoded
Cookie:_ym_uid=1462462985959770048; _ym_isad=1; _ga=GA1.2.1674269408.1462459224; __utmt=1; __utma=8091751.1674269408.1462459224.1465901240.1465910699.9; __utmb=8091751.19.10.1465910699; __utmc=8091751; __utmz=8091751.1465901240.8.7.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)
Host:export.dhtmlx.com
Pragma:no-cache
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
Form Data
view source
view URL encoded
data:{“callback”:null,“config”:{“links”:{“finish_to_start”:“0”,“start_to_start”:“1”,“finish_to_finish”:“2”,“start_to_finish”:“3”},“types”:{“task”:“task”,“project”:“project”,“milestone”:“milestone”},“duration_unit”:“day”,“work_time”:true,“correct_work_time”:false,“skip_off_time”:true,“autosize”:false,“autosize_min_width”:0,“show_links”:true,“show_task_cells”:true,“static_background”:false,“branch_loading”:false,“show_loading”:false,“show_chart”:true,“show_grid”:true,“min_duration”:3600000,“xml_date”:"%d-%M-%y",“api_date”:"%d-%m-%Y %H:%i",“start_on_monday”:true,“server_utc”:false,“show_progress”:true,“fit_tasks”:true,“select_task”:true,“scroll_on_click”:true,“preserve_scroll”:true,“readonly”:false,“date_grid”:"%Y-%m-%d",“drag_links”:true,“drag_progress”:false,“drag_resize”:true,“drag_move”:true,“drag_mode”:{“resize”:“resize”,“progress”:“progress”,“move”:“move”,“ignore”:“ignore”},“round_dnd_dates”:true,“link_wrapper_width”:20,“root_id”:0,“autofit”:false,“columns”:[{“name”:“text”,“label”:“Task name”,“width”:“400”,“tree”:true,“resize”:true},{“name”:“start_date”,“label”:“Start time”,“align”:“center”,“width”:95},{“name”:“duration”,“label”:“Duration”,“align”:“center”,“width”:80}],“step”:1,“scale_unit”:“week”,“scale_offset_minimal”:true,“subscales”:[],“inherit_scale_class”:false,“time_step”:60,“duration_step”:1,“date_scale”:"%d %M",“task_date”:"%d %F %Y",“time_picker”:"%H:%i",“task_attribute”:“task_id”,“link_attribute”:“link_id”,“layer_attribute”:“data-layer”,“buttons_left”:[“gantt_save_btn”,“gantt_cancel_btn”],"_migrate_buttons":{“dhx_save_btn”:“gantt_save_btn”,“dhx_cancel_btn”:“gantt_cancel_btn”,“dhx_delete_btn”:“gantt_delete_btn”},“buttons_right”:[“gantt_delete_btn”],“lightbox”:{“sections”:[{“name”:“description”,“height”:70,“map_to”:“text”,“type”:“textarea”,“focus”:true},{“name”:“time”,“type”:“duration”,“map_to”:“auto”}],“project_sections”:[{“name”:“description”,“height”:70,“map_to”:“text”,“type”:“textarea”,“focus”:true},{“name”:“type”,“type”:“typeselect”,“map_to”:“type”},{“name”:“time”,“type”:“duration”,“readonly”:true,“map_to”:“auto”}],“milestone_sections”:[{“name”:“description”,“height”:70,“map_to”:“text”,“type”:“textarea”,“focus”:true},{“name”:“type”,“type”:“typeselect”,“map_to”:“type”},{“name”:“time”,“type”:“duration”,“single_date”:true,“map_to”:“auto”}]},“drag_lightbox”:true,“sort”:false,“details_on_create”:true,“details_on_dblclick”:true,“initial_scroll”:true,“task_scroll_offset”:100,“order_branch”:false,“order_branch_free”:false,“task_height”:“full”,“min_column_width”:70,“min_grid_column_width”:70,“grid_resizer_column_attribute”:“column_index”,“grid_resizer_attribute”:“grid_resizer”,“keep_grid_width”:false,“grid_resize”:false,“show_unscheduled”:true,“readonly_property”:“readonly”,“editable_property”:“editable”,“type_renderers”:{},“open_tree_initially”:true,“optimize_render”:true,“prevent_default_scroll”:false,“show_errors”:true,“touch_drag”:500,“touch”:false,“touch_feedback”:true,“auto_scheduling”:true,“auto_scheduling_descendant_links”:false,“auto_scheduling_initial”:true,“auto_scheduling_strict”:false,“show_markers”:true,“highlight_critical_path”:false,“grid_width”:575,“row_height”:27,“scale_height”:30,“link_line_width”:2,“link_arrow_size”:6,“lightbox_additional_height”:72,“scroll_size”:17,“custom”:{“server”:“https://export.dhtmlx.com/beta/gantt",“skip_circular_links”:true},“start_end”:{“start_date”:"01-01-3913 00:00:00”,“end_date”:“05-02-3913 00:00:00”}},“data”:{“data”:[{“id”:1,“text”:“Project #1”,“start_date”:“01-01-3913 00:00:00”,“duration”:11,“progress”:0.6,“open”:true,“end_date”:“16-01-3913 00:00:00”,“parent”:0,"$2":“Project #1”,"$3":"","$4":""},{“id”:2,“text”:“Task #1”,“start_date”:“03-01-3913 00:00:00”,“duration”:5,“progress”:1,“open”:true,“parent”:1,“end_date”:“10-01-3913 00:00:00”,"$2":“Task #1”,"$3":"","$4":""},{“id”:3,“text”:“Task #2”,“start_date”:“02-01-3913 00:00:00”,“duration”:7,“progress”:0.5,“open”:true,“parent”:1,“end_date”:“11-01-3913 00:00:00”,"$2":“Task #2”,"$3":"","$4":""},{“id”:4,“text”:“Task #2.1”,“start_date”:“03-01-3913 00:00:00”,“duration”:2,“progress”:1,“open”:true,“parent”:3,“end_date”:“07-01-3913 00:00:00”,"$2":“Task #2.1”,"$3":"","$4":""},{“id”:5,“text”:“Task #2.2”,“start_date”:“07-01-3913 00:00:00”,“duration”:3,“progress”:0.8,“open”:true,“parent”:3,“end_date”:“10-01-3913 00:00:00”,"$2":“Task #2.2”,"$3":"","$4":""},{“id”:6,“text”:“Task #2.3”,“start_date”:“30-01-3913 00:00:00”,“duration”:4,“progress”:0.2,“open”:true,“parent”:3,“end_date”:“05-02-3913 00:00:00”,"$2":“Task #2.3”,"$3":"","$4":""}],“links”:[{“id”:4,“source”:4,“target”:5,“type”:“0”},{“id”:5,“source”:5,“target”:6,“type”:“0”}]},“manual”:false,“name”:“gantt.xml”,“worktime”:{“hours”:[8,17],“dates”:{“0”:false,“6”:false}}}
type:msproject
Name
gantt
1 requests ❘ 256 B transferred ❘ Finish: 515 ms ❘ DOMContentLoaded: 608 ms ❘ Load: 608 ms