If the name in manifest has uppercase letters the package is not installed correctly

Bug #1651210 reported by ET
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
click (Ubuntu)
New
Undecided
Unassigned

Bug Description

When you have upper-case letters in the name of the application the manifest file after install has wrong name, without upper-case. This creates an invalid installation. And the problem is not reported until you actually want to use the package.
Take this manifest.json as example:

phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ cat manifest.json
{
    "architecture": "all",
    "description": "Electrict resistor color code calculator",
    "framework": "ubuntu-sdk-15.04",
    "hooks": {
        "resistor-calculator": {
            "apparmor": "Resistor.apparmor",
            "desktop": "Resistor.desktop"
        }
    },
    "maintainer": "me<email address hidden>",
    "name": "com.edi.ResistorCalculator",
    "title": "Resistor Calculator",
    "version": "0.9"
}
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ click build .
Successfully built package in './com.edi.ResistorCalculator_0.9_all.click'.
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ sudo click install --user=phablet com.edi.ResistorCalculator_0.9_all.click --allow-unauthenticated
[sudo] password for phablet:
WARNING:root:Signature check failed, but installing anyway as requested
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ click info com.edi.ResistorCalculator
click_database_error-quark: Failed to parse manifest in /opt/click.ubuntu.com/com.edi.ResistorCalculator/0.9/.click/info/com.edi.ResistorCalculator.manifest: Failed to open file '/opt/click.ubuntu.com/com.edi.ResistorCalculator/0.9/.click/info/com.edi.ResistorCalculator.manifest': No such file or directory (3)
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ ls /opt/click.ubuntu.com/com.edi.ResistorCalculator/0.9/.click/info
com.edi.resistorcalculator.list com.edi.resistorcalculator.md5sums format
com.edi.resistorcalculator.manifest com.edi.resistorcalculator.preinst

phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

OTA-14 (directly on my meizu phone).

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.