Issue 122681

Summary: writer crashes if user has non-administrative rights
Product: Writer Reporter: ced
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: elish, issues
Version: 3.3.0 or older (OOo)Keywords: crash
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---

Description ced 2013-07-04 13:34:23 UTC
In openoffice 3.2.1 the following macro crashes the writer application :
(we can't use openofice 3.4.1 because of bug 122450)

Sub   inserisciCodificati
   
   REM Dim InputVal As String
   Dim Fcodif   As String
   Dim Doc    As Object
   Dim Cursor   As Object
   Dim Valori(1) as  new com.sun.star.beans.PropertyValue
   Dim oDocument As Object
   Dim oText As Object
   Dim oViewCursor As Object
   Dim oTextCursor As Object   
   
   Fcodif   = "ftp://user@10.0.0.56/codificati/"+Fcodi+".sxw"   
   
   oDocument = ThisComponent
   oText = oDocument.Text
   oViewCursor = oDocument.CurrentController.getViewCursor()
   oTextCursor = oText.createTextCursorByRange(oViewCursor.getStart())   
   oTextCursor.insertDocumentFromURL(Fcodif,Valori())
  
End Sub

This happens only if the user has non-administrative rights, otherwise it will works without problems

The error that we get is :

OpenOffice.org 3.2 stopped working 

d76a2431c258096eaf0ffdf0330d40f8event name : BEX
appl. name : soffice.bin
version : 3.2.9498.500
timestamp : 4bf4c207
name of the module with errors : MSVCR90.dll
version of the module with errors : 9.0.30729.4940
timestamp : 4ca2ef57
exception offset : 0002fc96
exception code : c0000417
exception offset : 0002fc96
exception code : c0000417
exception data : 00000000
so version : 6.1.7601.2.1.0.256.48
local settings id : 1040
add. information 1 : 09c5
add. information 2 : 09c5c5290e5ed5f874b455ad0e66c94d 
add. information 3 : d76a
add. information 4 : d76a2431c258096eaf0ffdf0330d40f8
Comment 1 Edwin Sharp 2014-04-10 16:04:33 UTC
Confirmed with
AOO410m16(Build:9762)  -  Rev. 1585426
2014-04-07 10:29:13 (Mo, 07 Apr 2014)
Win 7