Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Documentbound macros not executed when file is loaded vial API | ||
---|---|---|---|
Product: | General | Reporter: | joerg.skottke |
Component: | code | Assignee: | joerg.skottke |
Status: | CLOSED FIXED | QA Contact: | issues@framework <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues, mikhail.voytenko |
Version: | OOO320m12 | ||
Target Milestone: | OOo 3.3 | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 111112 |
Description
joerg.skottke
2010-03-17 11:09:20 UTC
. cd->mav: Do you have an idea why this can happen? mav->jsk: Does the test implementation use the correct value for "MacroExecutionMode" parameter in MediaDescriptor? If the parameter is not set, no macro execution is the default behavior for API calls. cd->mav: Please take over. cd->jsk: Could you please answer the question from Mikhail? Taking over. I used an API call to set the macro security level prior to running the test, However, i suggest that i take a look at a recent build to confirm the problem. I guess it would be helpful if we had a reproducible scenario. Changing the target to OOo3.4. Please declare it as a schowstopper if you believe that it should be fixed for OOo3.3. As jsk has reported the problem looks to affect OOO330_m1 as well. Retarget to 3.3, raising priority to 2. Scenario for reproduction is available mav->jsk: The problem seems to be triggered by calling convertToURL() twice in the scenario. The original problem lies in convertToURL() call that is used in automation tests. If the call gets an URL instead of system path it produces an invalid URL by introducing additional slashes ( "file://///..." ). Sending to you as discussed. The autotest should be modified not to do the conversion at the start of the test but to leave this to the file-handling functions (hFileOpen). Started Fixed Verified |