blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

No build error if widget ID property missing from config.xml #212

Open astanley opened 11 years ago

astanley commented 11 years ago

Expected: When using BlackBerry 10 WebWorks SDK an error message should be displayed if the ID property is missing from config.xml.

Actual: Application is packaged without any error messages.

Documentation: https://developer.blackberry.com/html5/documentation/widget_element_834671_11.html

Sample to reproduce:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets"
    version="1.0.0.1">
    <name>Test</name>
    <author>Test</author>
    <description>test app</description>
    <content src="http://www.google.com"/>
    <access subdomains="true" uri="*"></access>
</widget>
kwallis commented 11 years ago

@nukulb Any chance we can squeeze this into R9E? Without id you can't publish to AppWorld, correct?

nukulb commented 11 years ago

Sure, James can do it.

From: Ken Wallis notifications@github.com<mailto:notifications@github.com> Reply-To: blackberry/BB10-Webworks-Packager reply@reply.github.com<mailto:reply@reply.github.com> Date: Tue, 20 Nov 2012 06:53:32 -0800 To: blackberry/BB10-Webworks-Packager BB10-Webworks-Packager@noreply.github.com<mailto:BB10-Webworks-Packager@noreply.github.com> Cc: Nukul Bhasin nbhasin@rim.com<mailto:nbhasin@rim.com> Subject: Re: [BB10-Webworks-Packager] No build error if widget ID property missing from config.xml (#212)

@nukulbhttps://github.com/nukulb Any chance we can squeeze this into R9E? Without id you can't publish to AppWorld, correct?

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/212#issuecomment-10557386.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.