Bug 246783 - [fiximprove] [AppDescEditor]: The "MIDlet Jar URL" field does not validate the name of the file
Summary: [fiximprove] [AppDescEditor]: The "MIDlet Jar URL" field does not validate th...
Status: CLOSED FIXED
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: UI (show other bugs)
Version: 0.9   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 1.0.1   Edit
Assignee: David Marques CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, ui, usability
Depends on:
Blocks: 285705
  Show dependency tree
 
Reported: 2008-09-09 16:10 EDT by Edwin Carlo Ribeiro Marinho CLA
Modified: 2009-10-28 08:47 EDT (History)
6 users (show)

See Also:


Attachments
Error with invalid file name (39.28 KB, image/jpeg)
2008-09-09 16:11 EDT, Edwin Carlo Ribeiro Marinho CLA
no flags Details
The patch for the bug correction (6.53 KB, patch)
2009-06-22 16:31 EDT, Fernando Rocha CLA
wtv368: iplog+
wtv368: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Carlo Ribeiro Marinho CLA 2008-09-09 16:10:30 EDT
MTJ 0.9M1 Testing
Installation : eclipse-SDK-3.4.0 (I20080617-2000) 
MTJ install  : mtj-runtime
java.runtime : Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
os.name:     : Windows XP Professional, Service Pack 3


Overview: 

    The "MIDlet Jar URL" field does not validate the name of the file

Steps to Reproduce: 

    1) Create a MIDlet Project and open the application descriptor

    2) Put an invalid file name on the "MIDlet Jar URL" field

Actual Results: 

    The application descriptor can have the changes made and raise an error (see attached image).

Expected Results:

    The field can not accept an invalid file name

Build Date & Platform:

    Build id: 200808291424 / Windows XP

Additional Builds and Platforms: 

    ...

Additional Information:

    ...
Comment 1 Edwin Carlo Ribeiro Marinho CLA 2008-09-09 16:11:53 EDT
Created attachment 112125 [details]
Error with invalid file name
Comment 2 Feng(Marvin) Wang CLA 2008-09-18 23:19:25 EDT
Hi Diego,

I wonder if I fix this bug affect your working about JAD from editor. If the Jad editor will undergo a lot of change, do you think it's good for me to fix this bug now?

Thanks,
Feng
Comment 3 Fernando Rocha CLA 2009-06-11 14:38:06 EDT
Hello everyone, 

I will fix this bug and submit a patch soon.

Regards,
Fernando Rocha
Comment 4 Fernando Rocha CLA 2009-06-22 16:31:06 EDT
Created attachment 139803 [details]
The patch for the bug correction
Comment 5 David Marques CLA 2009-06-30 13:12:50 EDT
Code revised and committed.
Comment 6 Gustavo de Paula CLA 2009-07-09 10:05:49 EDT
change target milestone to galileo SR1 
Comment 7 Diego Madruga Sandin CLA 2009-10-28 08:47:01 EDT
Released