← Back to team overview

openjdk team mailing list archive

[Bug 307173] [NEW] In addition to Bug#306501

 

Public bug reported:

The crash happens in the SUB setFax, when the writer document with the fax-data, which is opend in this routine, is closed by the user and the program execution rteturns to the main macro and any other action (button) is activated. In the older version the same program worked perfectly until i did the update last week. As far as i remember it was a update of the base module.
 
SUB setFax
    DIM sFaxDatei as string

    closeFax
    sText1 = oFaxe.getControl("Lieferant").getText &".odt"
    sFaxDatei = ConvertToUrl(sVerzeichnis & "Faxe/" & sText1)
    IF Dir(sFaxDatei)<>"" THEN
      oFax = StarDesktop.LoadComponentfromURL(sFaxDatei, "_blank", 0, Args())
    ELSE
      MsgBox "Die Fax Datei " & sFaxDatei & " ist nicht vorhanden!",16,"Faxe laden"
    END IF
END SUB

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- In addition tu Bug#306501
+ In addition to Bug#306501

** Description changed:

  The crash happens in the SUB setFax, when the writer document with the fax-data, which is opend in this routine, is closed by the user and the program execution rteturns to the main macro and any other action (button) is activated. In the older version the same program worked perfectly until i did the update last week. As far as i remember it was a update of the base module.
   
  SUB setFax
-  DIM sFaxDatei as string
+     DIM sFaxDatei as string
  
-  closeFax
-  sText1 = oFaxe.getControl("Lieferant").getText &".odt"
-  sFaxDatei = ConvertToUrl(sVerzeichnis & "Faxe/" & sText1)
-  IF Dir(sFaxDatei)<>"" THEN
-   oFax = StarDesktop.LoadComponentfromURL(sFaxDatei, "_blank", 0, Args())
-  ELSE
-   MsgBox "Die Fax Datei " & sFaxDatei & " ist nicht vorhanden!",16,"Faxe laden"
-  END IF
+     closeFax
+     sText1 = oFaxe.getControl("Lieferant").getText &".odt"
+     sFaxDatei = ConvertToUrl(sVerzeichnis & "Faxe/" & sText1)
+     IF Dir(sFaxDatei)<>"" THEN
+       oFax = StarDesktop.LoadComponentfromURL(sFaxDatei, "_blank", 0, Args())
+     ELSE
+       MsgBox "Die Fax Datei " & sFaxDatei & " ist nicht vorhanden!",16,"Faxe laden"
+     END IF
  END SUB

-- 
In addition to Bug#306501
https://bugs.launchpad.net/bugs/307173
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: New

Bug description:
The crash happens in the SUB setFax, when the writer document with the fax-data, which is opend in this routine, is closed by the user and the program execution rteturns to the main macro and any other action (button) is activated. In the older version the same program worked perfectly until i did the update last week. As far as i remember it was a update of the base module.
 
SUB setFax
    DIM sFaxDatei as string

    closeFax
    sText1 = oFaxe.getControl("Lieferant").getText &".odt"
    sFaxDatei = ConvertToUrl(sVerzeichnis & "Faxe/" & sText1)
    IF Dir(sFaxDatei)<>"" THEN
      oFax = StarDesktop.LoadComponentfromURL(sFaxDatei, "_blank", 0, Args())
    ELSE
      MsgBox "Die Fax Datei " & sFaxDatei & " ist nicht vorhanden!",16,"Faxe laden"
    END IF
END SUB



Follow ups

References