What steps will reproduce the problem?
1. I create a document that has a lot of tabs, uses a lot of Windows XP
Widgets, some Common Shapes, and a few images from PNG. (No Annotations or
GTK Widgets used)
2. I work on it for a few days, saving often.
3. Today, I open the document, work on it some more. Then I click on Save.
What is the expected output? What do you see instead?
- I get this error message:
imageData.data is undefined
Location: chrome://pencil/content/Document/PersistentHooks.js (17)
Stacktrace:
([object Element])@chrome://pencil/content/Document/PersistentHooks.js:17
("//svg:g[@p:type='Shape' and
@p:def='Evolus.Common:Bitmap']//p:property[@name='imageData']",[object
XMLDocument],(function (property) {var imageData =
ImageData.fromString(property.textContent);if
(!imageData.data.match(/^file:\/\/.*$/)) {return;}var relativePath =
thiz.uriToRelative(imageData.data);if (relativePath) {imageData.data =
relativePath;Dom.empty(property);property.appendChild(property.ownerDocument.cre
ateCDATASection(imageData.toString()));}}))@chrome://pencil/content/Common/Util.
js:12
([object XMLDocument])@chrome://pencil/content/Document/PersistentHooks.js:15
([object
Object],"D:\\Projects\\layout-packages.ep")@chrome://pencil/content/Document/XML
DocumentPersister.js:102
()@chrome://pencil/content/Common/Controller.js:194
oncommand([object XULCommandEvent])@chrome://pencil/content/UI/Window.xul:1
After I click OK, the project still saves, and nothing seems to get
lost/corrupted.
What version of the product are you using? On what operating system?
- Pencil Version: 1.0
- Windows XP SP3
Please provide any additional information below.
- Due to the confidential nature of this project, I cannot include the EP
file. Though I can share this much:
- The document has 9 tabs, most of the tabs use other tabs as a background.
- The document has several bitmap images; some I inserted via the
Common Shape, some I drag-and-dropped directly onto the canvas. These
bitmap images are from the FamFamFam Silk Icons set.
- To test a theory, I tried to delete all the bitmap images from the
document, but when I save, it still shows the same error.
Original issue reported on code.google.com by brownsp...@gmail.com on 22 Aug 2008 at 9:28
Original issue reported on code.google.com by
brownsp...@gmail.com
on 22 Aug 2008 at 9:28