Cordova Ubuntu template project lacks required plugins.xml

Bug #1214031 reported by Víctor R. Ruiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
[obsolete] Ubuntu QtCreator Plugins
Fix Released
Critical
Alexandre Abreu

Bug Description

Test case:
- Install Ubuntu SDK, Cordova Ubuntu 2.8 and Qt Creator plugin for Cordova Ubuntu.
- Run the project.

Expected result:
- A window must open and the Cordova application must state "Device Ready".

Actual result:
- The window closes and log says "Critical: Error loading plugins config! The program has unexpectedly finished."

This happens because the project template lacks a required file, plugins.xml, which states the Cordova plugins that must be loaded.

Tags: cordova

Related branches

Víctor R. Ruiz (vrruiz)
description: updated
tags: added: cordova
Changed in ubuntu-qtcreator-plugins:
status: New → In Progress
Changed in ubuntu-qtcreator-plugins:
status: In Progress → Fix Committed
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

at least the 0.1-0ubuntu3 version of the qtcreator-plugin-ubuntu-cordova-common fixes this issue:

$ dpkg -l qtcreator-plugin-ubuntu-common|grep ii
ii qtcreator-plugin-ubuntu-common 0.1-0ubuntu3 all Common data files for the Ubuntu plugin for Qt Creator IDE

$ dpkg -L qtcreator-plugin-ubuntu-cordova-common|grep xml
/usr/share/qtcreator/templates/wizards/ubuntu/cordovaubuntu/plugins.xml

 $ apt-cache policy qtcreator-plugin-ubuntu-cordova-common
qtcreator-plugin-ubuntu-cordova-common:
  Installed: 0.1-0ubuntu3
  Candidate: 0.1-0ubuntu3
  Version table:
 *** 0.1-0ubuntu3 0
        500 http://fi.archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages
        100 /var/lib/dpkg/status

Changed in ubuntu-qtcreator-plugins:
status: Fix Committed → Fix Released
assignee: nobody → Alexandre Abreu (abreu-alexandre)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.