To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=53788
User ab changed the following: What |Old value |New value ================================================================================ Assigned to|ab |mav -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Wed Aug 31 00:24:24 -0700 2005 ------- ab->mav: I debugged this and found that this also seems to be a storage related problem. The Scripting Framework error occurs because the script is searched in the Application Basic while it should be searched in the document's basic. This happens because an application MasterScriptProvider is created instead of a document related MasterScriptProvider. Reason for this: For the given XModel no tdoc URL can be retrieved, so the MasterScriptProvider factory assumes an application context. To retrieve the tdoc URL the following code is used (in scripting/source/ inc/util/miscutils.hxx): css::uno::Reference< css::ucb::XContent > xContent( xDocFac->createDocumentContent( xModel ) ); return xContent->getIdentifier()->getContentIdentifier(); with xDocFac beeing an instance of "com.sun.star.frame.TransientDocuments- DocumentContentFactory". The connection to storage comes in ucb/source/ucp/tdoc/tdoc_content.cxx in tdoc_ucp::Content::loadData() where a call to ContentProvider::query- Storage() fails. An InvalidStorageException is caught there. Stack: ucptdoc1.uno.dll!tdoc_ucp::Content::loadData(... ucptdoc1.uno.dll!tdoc_ucp::Content::create(... ucptdoc1.uno.dll!tdoc_ucp::ContentProvider::createDocumentContent(... ucptdoc1.uno.dll!tdoc_ucp::DocumentContentFactory::createDocumentContent(... scriptframe.dll!sf_misc::MiscUtils::xModelToTdocUrl(... scriptframe.dll!func_provider::ActiveMSPList::createMSP(... scriptframe.dll!func_provider::MasterScriptProviderFactory::createScriptProvider(... ... Before there's also an "Invalid type for input stream" assertion. Of course I don't know if this really is a storage problem or if there's a bug in the tdoc code but I think you're the best to find this out. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]