Created attachment 429494 [details] screenshot Description of problem: Bundle creation via URL_invalid URL – didn't display error message and failure reason. Version-Release number of selected component (if applicable): JON 2.4 GA_QA (tag-jon-release build# 49) build number: 10775:e086474 How reproducible: Always Steps to Reproduce: 1. Go to Administration->Content->Bundles 2. Click on button 'New'. 3. Select the radio button 'URL'. 4. Enter an invalid URL type in text box (Ex: Enter plain text or special characters in text box) 5. Click on Next button. Actual results: Bundle creation via URL_invalid URL – didn't display error message and failure reason. Expected results: UI should display proper error message and failure reason in the wizard box. Additional info: Please refer attached screenshot.
Same issue find when user select the radio button 'URL' and without provide any url click on 'Next' button. Expected results: UI should display proper error message and failure reason in the wizard box.
Updating the bug for the same observation: When user uploads an empty or invalid recipe, or when user selects recipe option and proceeds without entering recipe details. The error message displayed is in the 'Messages' dropdown. Expected result: The error message and failure reason should be displayed in the wizard box.
fix commit: 91c9d1fb7849b9966f60a2cdeb8bca1903e3389c There is a new messaging and is displayed within the wizard.
Tested on latest jon 2.4.0.GA_QA build#53 Below are the observations: 1) When user enters invalid URL type(asdasd) in text box and click 'Next'- The bundle creation wizard displays: java.net.MalformedURLException:no protocol: asdasd 2) When user select the radio button 'URL' and clicks on 'Next' button without providing any url-The bundle creation wizard displays: java.net.MalformedURLException:null 3) When user uploads an empty or invalid recipe-The bundle creation wizard displays: javax.ejb.EJBException:java.lang.IllegalArgumentException: Invalid recipe not recognized by any deployed server bundle plugin. -> java.lang.IllegalArgumentException:Invalid recipe not recognized by any deployed server bundle plugin. 4) when user selects recipe option and proceeds without entering recipe details-The bundle creation wizard displays: javax.ejb.EJBException:java.lang.IllegalArgumentException: recipe == null -> java.lang.IllegalArgumentException:recipe == null In all above scenarios, the bundle wizard displays the failure reason as expected. However it is not displaying error messages like "Please select a valid URL"/"Please enter the URL"/"Please select a valid recipe file to upload" etc.
*** Bug 616262 has been marked as a duplicate of this bug. ***
Triaged 24-Sept
The messaging could still improve (like everything :) but until we get more requests for more work here I think we're good. If necessary we can open a new BZ in the future.