Bug 589231
| Summary: | when uploading a new package via an EAR or WAR Resource's Content>New subtab, user should not be required to select a repo | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> | ||||||
| Component: | Content | Assignee: | Simeon Pinder <spinder> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sunil Kondkar <skondkar> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 1.3.1 | CC: | ccrouch | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 2.4 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-08-12 16:47:25 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 586123 | ||||||||
| Attachments: |
|
||||||||
|
Description
Ian Springer
2010-05-05 15:49:01 UTC
Created attachment 411669 [details]
screenshot showing the issue
Made suggested changes to add None option for repo selection and select by default. Available in successful master build >= 307, and commit hash: ce0d8ab908a52df1bc7826de06d848c8300a343f Verified on jon build#154 (Revision: 10620) Observed that now there is a 'None' option for repository selection and the 'None' option is selected by default. However, when clicked on 'Continue' button after uploading a .war file and selecting null option, it displays below message on the screen: Failed to associate package [rhq-postinstaller.war] with repository ID [null]. Cause: java.lang.NumberFormatException:null. Please find attached the screenshot for more details. Created attachment 415091 [details]
Screenshot for the message
Yep. This was caused by a curious reversion of the applied fix after checkin. I'm calling it a gitastrophy. I re-applied the fix and the error message from the screenshot should be fixed now in successful build of master >= 355, and git hash: bd8ee1ee291e656dfec223110ed51d0cb24d2219. Verified on Jon build170 (Revision: 10621) Observed that there is a 'None' option for repository selection and the 'None' option is selected by default. No exception is observed after clicking on 'Continue' button after uploading a .war file. New package is deployed successfully. Mass-closure of verified bugs against JON. |