[Helix-client-dev] CR: ou1cimx1#507363 Fusion: Error message "General: Unable to execute file for security reason." displays when trying to stream clips in offline mode

<[email protected]> Mon, 9 Aug 2010 15:09:47 +0200
Newsgroups gmane.comp.multimedia.helix.devel
Message-ID <20D73E2631F7914F868646E119DEC1CE284FB80BB2@NOK-EUMSG-02.mgdnok.nokia.com>
"Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."

 Modified by: [email protected]<mailto:[email protected]>

 Reviewed by: [email protected]<mailto:[email protected]>

Date: 08  /  0 9   /2010

Project:

ErrorId: ou1cimx1#507363

Synopsis: Fusion: Error message "General: Unable to execute file for security reason." displays when trying to stream clips in offline mode

Overview: When HelixAccesspoint   manager tries to Connect with Server using Rconnection :Start() fails with -45 (KErrPermissionDenied ).  Helix maps  KErrPermissionDenied to HXR_NOT_AUTHORIZED error  this leads for  PrepareComplete with -46  and displays  "Unable to execute file for security reason "  Message .

Solution:  Changes are made in Helix side to map KErrPermissionDenied to HX_FAIL  to  return PrepareComplete with -36 to UI for showing   message like "Unable to connect Server  ".

Modified files:

\client\netwksvc\platform\symbian\hxsymbianapman.cpp

Image size and heap use impact: None

Module Release testing (STIF): Done

Test case(s) added: None

Memory leak check performed: NA

Branch(es) : cays 210, Brizo 420 and Head.

Diff: Attached

_______________________________________________
Helix-client-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
diffhxsymbianapman_cpp.txt (text/plain, 602 B)
Index: hxsymbianapman.cpp
===================================================================
RCS file: /cvsroot/client/netwksvc/platform/symbian/hxsymbianapman.cpp,v
retrieving revision 1.7.2.18
diff -u -w -r1.7.2.18 hxsymbianapman.cpp
--- hxsymbianapman.cpp	2 Mar 2010 22:17:38 -0000	1.7.2.18
+++ hxsymbianapman.cpp	3 Aug 2010 09:57:23 -0000
@@ -583,7 +583,7 @@
     }
     else if ( aoStatus == KErrPermissionDenied )
     {
-        status = HXR_NOT_AUTHORIZED;
+        status = HXR_FAIL;
     }
     #if defined(HELIX_FEATURE_SYMBIAN_MMF) && defined(HELIX_CONFIG_SYMBIAN_PLATFORM_SECURITY)