jQWidgets Forums
jQuery UI Widgets › Forums › Scheduler › ICAL export seems to be broken
Tagged: ical export, scheduler
This topic contains 15 replies, has 2 voices, and was last updated by Peter Stoev 9 years, 4 months ago.
-
Author
-
Hi there, we are considering jqwidgets and we need ICAL export.
On your own (as a side node, your deep links are not working!), it works initially, but after changing the subject of any appointment and a subsequent ICAL export, the exception below is thrown. The same happens in my own project. Any hints?Uncaught TypeError: Cannot read property ‘toString’ of undefined
a.extend.getAppointments @ jqxscheduler.api.js:7
a.extend.exportData @ jqxscheduler.api.js:7
a.jqx.invoke @ jqxcore.js:7
a.jqx.jqxWidgetProxy @ jqxcore.js:7
(anonymous function) @ jqxcore.js:7
m.extend.each @ jquery-1.11.1.min.js:2
m.fn.m.each @ jquery-1.11.1.min.js:2
a.fn.(anonymous function) @ jqxcore.js:7
(anonymous function) @ scheduler-data-export.htm?light:179
m.event.dispatch @ jquery-1.11.1.min.js:3
r.handle @ jquery-1.11.1.min.js:3It should read: On your own DEMO PAGE, it works initially ….
I tried to insert a link with your embedded editor, that seems to be broken as well. Thus I want to report 3 bugs now:(1) ical export broken
(2) deep links not working
(3) forum links not workingBest regards
Hi qwertzuiop71,
Don’t know what is deep links. Sharing forum links works fine, too. We do this all the time. If we find some problem with the ICAL export we will resolve it in future release. Thanks for reporting the scenario about ICAL, but the other 2 things are fine, because you probably missed something like sharing the same.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com(2) Deep linking means if I navigate to
I do NOT arrive at the “Data Export” page (the page I have this link from), but one level above (the “jqWidgets Demos” page).
(3) The forum link above was just inserted by text. You have no preview section, so I am testing it in this post. The link below was inserted vial the “link” button in the forum editor. If it is there and it works, you are right. If not, there is a bug:
Obviously, it is not working. The link button in your forum editor inserts a HTML tag which is then presumably filtered out by your backend. Best regards
Hi qwertzuiop71,
Yeah, but that is by the Demos design. We keep it that way because we like it that way. If you want to share a link to a demo, open it in a new window and share it. With links in the Forum as text, there’s no problem, so I suppose it’s a problem from your post. Ex: http://www.jqwidgets.com is inserted as Text, not with a button.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com(2) I understand. Your decision.
(3) Just to nitpick: I know that it works via text (that is how I inserted my link above). What doesn’t seem to work is the “link” button in YOUR forum editor (it is there so you can insert links that don’t show as the full size URL, but just as a word). So it is not a problem with MY post, but with YOUR buttonAnyway, all this is not important, but I would be happy if you can confirm the ICAL bug or give me any advice how to make it work.
Best regards, and thanks for the fast responseHi qwertzuiop71,
The Scheduler seems to fails to export when something is changed in the demo. This seems to be an issue we caused with the last release so it will be resolved in the next release most probably. I will create a work item about it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThank you very much.
For the developers, the following line (executed in the minified jqwidgets folder) seems to fix the issue:
sed -i -e ‘s/r\[C\]\.jqxAppointment\.toString/r[C].toString/’ -e ‘s/e\.jqxAppointment\.toString/d[c].toString/’ jqxscheduler.api.js
With this fix, iCal export works for me.However, there seems to be an additional bug in the recurrence export to RRULE
If I select “Repeat every 1 week On Monday, Wednesday and Thursday, End After 4 occurences” in the UI, the respective RRULE in the iCal export reads:RRULE:DTSTART=20151123T080000Z;UNTIL=99991230T230000Z;COUNT=4;FREQ=WEEKLY;BYDAY=TU,TH,FR;WKST=0;INTERVAL=1
As you can see, it shifted all selected days by 1 (MO,WE,TH -> TU,TH,FR), probably a problem with an array index starting by 1 instead of zero or different week starts (Monday/Sunday).
Best regards
Hi qwertzuiop71,
Ok, now read: http://www.jqwidgets.com/licenseagreement/ and please avoid any violations to our EULA in the future!
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comSorry for that. Ignore my sed line. It was meant to help.
However, the bug I encountered is also visible using the public API:
The appointment object handed in to the “appointmentChange” event handler contains an object of type “recurrencePattern”. If I call the toString() method of the recurrence pattern, I get an erroneous representation of the recurrence I defined using the UI.
In the UI, I configure “Repeat Weekly on Monday”. In recurrencePattern.toString(), this reads “BYDAY=TU” instead of “BYDAY=MO”.
Please be so kind to file work item for that.Best regards
If we buy the Enterprise License, we get the UNMINIFIED source code, right?
Another bug: In your main demo page, change one event to be recurrent, e.g. daily. Save. Open this event again. There is a label “Exceptions” with a checkbox behind. Right of the checkbox, you see a broken half character instead of the intended text “Reset on Save” in both Chrome and Firefox.
Best regards
Hi qwertzuiop71,
Ok, sorry, that we have a broken half character. We will take a look at it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comWas that meant to be ironical on your side? Just to make clear, it is not a missing half of one character, the whole label is missing, so no one can see the text that explains what that checkbox does.
The UI option is completely unusable without.
I am supposed to evaluate your product for our company.
So far I found 3 bugs, 2 of them critical (for us) in 6 hours.
I am debugging YOUR product here for free without getting paid (by you).
However, I am getting the impression that you are not happy about that (like “thank you for reporting this bug”).
Should I stop to report bugs? Report them somewhere else?Best regards
-
AuthorPosts
You must be logged in to reply to this topic.