Require.js Fails with New KendoMobile

8 posts, 0 answers
  1. Graham
    Graham avatar
    3 posts
    Member since:
    Jun 2013

    Posted 28 Jun 2013 Link to this post

    I had a previous project that used require and Kendo mobile version v2013.1.319, after upgrading to v2013.1.619 something has broken. If I revert to ealier version all starts working again.
    The types of errors are similar to below:

    GET http://local/Simulator/scripts/metaData/kendo.core.min.js 404 (Not Found) require.js:33
    Uncaught Error: Script error
    http://requirejs.org/docs/errors.html#scripterror require.js:8
    GET http://local/Simulator/scripts/metaData/kendo.data.odata.min.js 404 (Not Found) require.js:33
    GET http://local/Simulator/scripts/metaData/kendo.data.xml.min.js 404 (Not Found) require.js:33
    2
    Uncaught Error: Script error
    http://requirejs.org/docs/errors.html#scripterror require.js:

    Is anyone else having a similar issue?

    Graham
  2. Jordan
    Admin
    Jordan avatar
    197 posts

    Posted 28 Jun 2013 Link to this post

    Hi Graham,

    It was reported to Kendo UI team and was fixed in internal builds.
    Right now that internal build is pending verification and we are evaluating when to integrate with Icenium.
    Meanwhile please stick to previous Kendo UI Mobile version.

    Regards,

    Jordan
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  3. Graham
    Graham avatar
    3 posts
    Member since:
    Jun 2013

    Posted 30 Jun 2013 Link to this post

    Hi Jordan,

    Thanks for the reply.

    The issue came about because I was trying to see if could get my project and requirejs to work with the new UI designer.

    Is there going to be support for this scenario in the future.

    Thanks

    Graham
  4. Jordan
    Admin
    Jordan avatar
    197 posts

    Posted 01 Jul 2013 Link to this post

    Hello Graham,

    As experimental feature designer may not work in all scenarios that's the case with requirejs too as we stated in Known Issues for this release.
    We are working to solve this in upcoming releases.

    Until then you can design your views and layouts in separate html page with explicit script in it.

    Regards,
    Jordan
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 08 Jul 2013 Link to this post

    Hello Graham,

    Requirejs support for Kendo UI has been fixed and released in Icenium's latest update (Kendo UI v.2013.1.612).

    Thank you for the patience!

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  6. Dirk
    Dirk avatar
    1 posts
    Member since:
    Feb 2013

    Posted 09 Jul 2013 Link to this post

    I'm using a trial version of Icenium right now.  I like it a lot but I've run into this same problem, which is a concern that I need to resolve before my company will let me purchase a license.  

    My version of Icenium has Kendo UI Mobile v2013.1.619 included.  I have looked all over the Graphite IDE options to find a way to upgrade or downgrade the version of Kendo UI that is attached to the project, but I don't see that ability anywhere.  If I am going to change to Kendo UI v.2013.1.612 (as referenced in the post above - Is that a downgrade, by the way?) how do I go about doing it.

    Thanks,
    Dirk
  7. Graham
    Graham avatar
    3 posts
    Member since:
    Jun 2013

    Posted 09 Jul 2013 Link to this post

    Hi Dirk,

    I think that the kendo version has a couple of numbers transposed. When I look at the version number in my updated project it is 2013.1.621 (rather than 612). When I use that version in my project (that uses requirejs) it does work.

    I upgraded my version by creating a new project based on kendo mobile then copied the js and css files and I think a couple of image files over manually.

    After that requirejs was back working.

    Graham
  8. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 10 Jul 2013 Link to this post

    Hi Dirk,

    Graham is correct, the version I've posted has a type-o (612 instead of 621). You see the Kendo version uses the year, subsequent Q release, month and date, so basically the last numbers 621 indicate June 21st. A fix for a problem cannot be in an earlier version (612).

    Once again sorry for the created confusion.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
Back to Top