Error updating application: Application does not exist after installing KUIB 1.1 - Forum - Kendo UI Builder - Progress Community

Error updating application: Application does not exist after installing KUIB 1.1

 Forum

Error updating application: Application does not exist after installing KUIB 1.1

This question is not answered

Hi, I just installed KUIB v1.1 on top of my existing installation. Everything seems fine and I am also able to start KUIB and I see my application listed in the start screen.
But when I click on my application to open it, I get an error message:

Error updating application!
Application <application_name>  does not exists

When I look at the working directory I do see my application files.
Any idea what's happening here?

All Replies
  • Hello Ruben,

    Sorry for the issues.

    The structure of some of the metadata files have changed between 1.0 and 1.1.

    There is no automatic migration for these projects.

    It is possible to manually update the JSON files so that they meet the new format.

    An alternative could also be to create a new project and copy some files (for example view-factory.js) from the old project into the new structure.

    We can take a look at the project and help you migrate it into the new version.

    Please let us know.

    Thank you and regards.

  • Hi Ruben,
     
    Apart from what Edsel has already mentioned, if you would like to open your existing app and want to see the contents you can do the following:
    Please go to <App-location>/meta/app.json file and modify “guid” to “uniqueID” and also update the same in workspaces.json file under C:\Progress\KendoUIBuilder. After that reload the KUIB designer and you are able to open the existing app.
     
    {
        "type": "app",
        "schemaVersion": "1.0",
        "name": "OrderEntryWebApp",
        "guid": "de9241bb-3382-4e00-9914-d81e28a23066",
        "description": "",
        "logo": "logo_alternate.png",
        "layout": {},
        "children": []
    }
     
    {
        "type": "app",
        "schemaVersion": "1.0",
        "name": "OrderEntryWebApp",
        "uniqueID": "de9241bb-3382-4e00-9914-d81e28a23066",
        "description": "",
        "logo": "logo_alternate.png",
        "layout": {},
        "children": []
    }
     
    After this change you can preview your app and see the contents in it. But you can’t extend this app with new functionality, as Edsel mentioned you need to create a new app to avail new functionality.
     
    Hope this helps,
    Sanjeev.
     
  • Hello Ruben,

    FYI, here is the release note related to this item:

    Migration

    #511: Migration: Unable to work with existing(old) KUIB applications in KUIB 1.1

    There is currently no migration capability from 1.0 to 1.1. This is a one time occurrence and future releases will include migration if necessary.

    Thanks.

  • I think it would be very useful to include this in the 'Installation instructions' (which probably should include a section about upgrading an existing installation anyway) as well.