Description: An existing document that is embedded in an OLE-frame embedded in the Base form does not open. Steps to Reproduce: 1.Extract files from the db_with_ref_1 archive.zip and put on the desktop 2.Run the db_with_ref_1.odb file 3.Open Form1 Actual Results: The rtf.odt document embedded in the OLE frame does not open. There is a puzzle in place of the document. Expected Results: The rtf.odt document embedded in the OLE frame should open and show its contents Reproducible: Always User Profile Reset: Yes Additional Info: Prior to LO version 7.5.3, this function worked well. The documents embedded in the OLE-frame were opened.
Created attachment 189231 [details] Demo-file Extract the archive to the desktop. Run the db_with_ref_1.odb file. Open form1.
Just as with bug 155750, this is a regression after commit 52aa46468531918eabfa2031dedf50377ae72cf7. Since bug 155750 is dedicated to the private:factory urls, this one is about an UI to allow update of external links in Base subcomponents. This problem may be workarounded by a macro to pass the UpdateDocMode propertyvalue to the loading procedure, like this: Sub OpenForm1 ThisDataBaseDocument.CurrentController.Connect() Dim args(0) As New com.sun.star.beans.PropertyValue args(0).Name = "UpdateDocMode" args(0).Value = com.sun.star.document.UpdateDocMode.QUIET_UPDATE ThisDatabaseDocument.CurrentController.loadComponentWithArguments( _ com.sun.star.sdb.application.DatabaseObject.FORM, _ "Form1", _ FALSE, _ args()) End Sub This macro may be assigned to a control, or to a document event like "Open Document", to open automatically on DB opening.
Thanks!