|
Bugzilla – Full Text Bug Listing |
| Summary: | yast package installation: error popup only says "WRONG" for Show Details | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Martin Vidner <mvidner> |
| Component: | YaST2 | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | coolo |
| Version: | Beta 3plus | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | y2logs.tar.bz2 | ||
|
Description
Martin Vidner
2008-05-29 08:07:16 UTC
2008-05-29 09:50:56 <1> totoro(27536) [YCP] PackageCallbacks.ycp:699 MediaChange error: err'WRONG:WRONG', url'http://download.o pensuse.org/distribution/SL-OSS-factory/inst-source/', prd'Main Repository (OSS)', cur'0'/'', wan'1'/'', devs: [], curr_dev: 0 the first "WRONG" is an error code (zypp::media::MediaChangeReport::Error), that's OK, but the second "WRONG" should be a textual description. The string comes directly from libzypp. I guess Martin is right about the origin of this being bug 393940. So my question is what variable from the requestMedia() callback does contain the wrong "WRONG" text? From zypp::media::MediaChangeReport :
virtual Action requestMedia(
Url & /* url (I/O parameter) */
, unsigned /*mediumNr*/
, const std::string & /* label */
, Error /*error*/
, const std::string & /*description*/
, const std::vector<std::string> & /* devices */
, unsigned int & /* dev_current (I/O param) */
) { return ABORT; }
Variable 'description' contains the wrong text.
*** Bug 392412 has been marked as a duplicate of this bug. *** The fix is really simple: - string ret = PackageCallbacks::MediaChange(error_code, error_code, url, product, current, current_label, wanted, + string ret = PackageCallbacks::MediaChange(error_code, error, url, product, current, current_label, wanted, Thanks Martin for the help with debugging! Submitted in yast2-packager-2.16.53. Coolo, I just have submitted the new package to STABLE, the fix is really trivial (see the previous comment) and should go to 11.0 |