Issue 67452

Summary: suppress second error message for 'not existing license file'
Product: udk Reporter: b.osi.ooo
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.0.0   
Target Milestone: 4.x   
Hardware: All   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description b.osi.ooo 2006-07-17 12:16:43 UTC
How to reproduce:
add via extension manager:
(from OOo cvs)
qa/qatesttool/framework/basic/input/extensions/simpleLicense\MissinLic.oxt

after the message:
Adding Package(s): $FILE does not exist.
a second ulgy one comes up:
(com.sun.star.deployment.DeploymentException) { { Message = "Could 
>>> not read license text in 
>>> file:///C:/Documents%20and...

the ugly one could be supressed?
Comment 1 joachim.lingner 2006-07-17 12:25:52 UTC
.
Comment 2 joachim.lingner 2006-07-26 16:13:42 UTC
getLicenseText in desktop/source/deployment/registry/package/dp_package.cxx
should throw a CommandFailedException when descContent.openStream(); fails. This
indicates that the error has already been handled by the InteractionHandler (see
DialogImpl::SyncPushButton::Click() in
D:\work\cws-jl40\desktop\source\deployment\gui\dp_gui_dialog.cxx)
Comment 3 joachim.lingner 2006-07-27 10:34:45 UTC
I guess it is better to leave the exception as it is. All error messages which
have to be displayed to the user, either in the console or through dialogs, have
be done through an interaction. So the message that comes from
SyncPushButton::Click() is an additional message and should not displayed in pro
builds.
Comment 4 joachim.lingner 2006-07-27 10:58:31 UTC
.
Comment 5 joachim.lingner 2006-07-31 11:49:54 UTC
.
Comment 6 joerg.skottke 2006-08-04 14:24:24 UTC
verified by autotest
Comment 7 joachim.lingner 2006-08-04 15:23:10 UTC
backed out again because other error messages were supressed.
Comment 8 joachim.lingner 2006-08-04 15:23:57 UTC
.
Comment 9 joachim.lingner 2006-08-04 15:25:16 UTC
.
Comment 10 joachim.lingner 2006-08-30 07:52:56 UTC
.
Comment 11 Martin Hollmichel 2007-12-07 13:00:44 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x