You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2007/10/24 14:09:48 UTC

DO NOT REPLY [Bug 43688] New: - Visio properties corrupted

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688

           Summary: Visio properties corrupted
           Product: POI
           Version: 3.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: POIFS
        AssignedTo: dev@poi.apache.org
        ReportedBy: fathi.nemeur@sacem.fr


Steps to Reproduce: 
1 - create a new visio file
2 - modify its title with an application using poi like "WriteTitle.java" (poi
example)
3 - open the document with visio and save it (don't modify the title).

Actual Results: 
the document title is gone.

Expected Results:
the title should be the same title modified by step one.

I am using visio 2002 sp-2 - 10.0.6865
poi-3.0.1-FINAL

description:

I modify visio document properties through poi( title,author, custom
properties...), everything looks fine.
If I modify the same document via visio application or via windows, the document
entries are inverted VisioInformation(1st) et VisioDocument(2nd) then every
properties are lost (title...) and sometimes the document becomes unreadable.

I check an original visio document with PoiBrowser, VisioInformation shoulb be
before VisioDocument but if a document is modified via my application(poi)
VisioDocument is before VisioInformation.

I also tried with the example code "WriteTitle.java", it is the same result.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688





------- Additional Comments From fathi.nemeur@sacem.fr  2007-11-05 06:22 -------
Created an attachment (id=21087)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21087&action=view)
the file as modified by HPSF

I modified the title and some customProperties by HPSF

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


klute@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dev@poi.apache.org          |klute@apache.org




------- Additional Comments From klute@apache.org  2007-11-06 03:41 -------
Thanks for the info you provided! Now if I only could find some time to have a
look at them...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688





------- Additional Comments From fathi.nemeur@sacem.fr  2007-10-24 05:17 -------
Created an attachment (id=21034)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21034&action=view)
corrupted visio

if this file is saved via visio application, every properties disapeared

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


klute@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO




------- Additional Comments From klute@apache.org  2007-10-31 12:07 -------
In order to make this issue researchable you should submit the following:
* the original file as created by Vision,
* the file as modified by HPSF,
* a JUnit test case exhibiting the faulty behaviour.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688





------- Additional Comments From fathi.nemeur@sacem.fr  2007-10-24 05:14 -------
Created an attachment (id=21033)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21033&action=view)
Document entries original visio and a corrupted one


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


klute@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|POIFS                       |HPFS
         Resolution|                            |INVALID




------- Additional Comments From klute@apache.org  2007-10-24 11:12 -------
The order of entries in the property set doesn't matter. Properties are
identified by name. The so-called "corrupted" file looks not quite, but rather
good. At least the title is there.

Anyway, if something is wrong with the properties after Vision wrote them, that
looked like a bug in Visio, not in HPSF.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


fathi.nemeur@sacem.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21034|corrupted visio             |Original document.
        description|                            |properties modified




------- Additional Comments From fathi.nemeur@sacem.fr  2007-10-31 06:17 -------
(From update of attachment 21034)
the properties were modified using hpsf


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688





------- Additional Comments From fathi.nemeur@sacem.fr  2007-10-31 06:16 -------
Created an attachment (id=21065)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21065&action=view)
open and saved document

This is the same document.It was only opened and saved with.
Every properties are gone.You can compare with the original document in
attachment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


fathi.nemeur@sacem.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


fathi.nemeur@sacem.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21033|Document entries original   |PoiBowser view of the
        description|visio and a corrupted one   |Document entries of an
                   |                            |original visio and a
                   |                            |corrupted one




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688





------- Additional Comments From fathi.nemeur@sacem.fr  2007-11-05 06:28 -------
Created an attachment (id=21089)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21089&action=view)
JUnit test case exhibiting the faulty behaviour

I used your example code source to modify the title and custom properties of a
document

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


fathi.nemeur@sacem.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From fathi.nemeur@sacem.fr  2007-11-06 03:17 -------
You can find in attachment:
 - The original vsd file "document.vsd" (id = 21086).
 - The same document modified with HPSF (id = 21087).The title was modified and
   some custom properties.When you open this everything seems fine.
 - The document edited and saved with visio(id = 21088).The title and 
   custom properties are lost.
 - The JUnit class (id = 21089)I used to modify the original document.It includes
   a poi example method.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


fathi.nemeur@sacem.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21034|0                           |1
        is obsolete|                            |




------- Additional Comments From fathi.nemeur@sacem.fr  2007-11-05 06:21 -------
Created an attachment (id=21086)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21086&action=view)
the original file as created by Visio


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688


fathi.nemeur@sacem.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21065|0                           |1
        is obsolete|                            |




------- Additional Comments From fathi.nemeur@sacem.fr  2007-11-05 06:25 -------
Created an attachment (id=21088)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21088&action=view)
the HPSF modifed file edited and saved by Visio

the properties and the title are unavailable.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 43688] - Visio properties corrupted

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43688





------- Additional Comments From fathi.nemeur@sacem.fr  2007-10-25 00:32 -------
First of all, thank you for checking my bug.
I agree with you visio application is not bug free.

Anyway, the problem happens only when a visio file is modified by HPSF.
The only difference noticed between a "no-problem" file and "problem" file is 
the order of the document entries.

If you open and save the file in attachment with visio application, the title 
will disappear.

Is there anyway to force the order of "VisioInformation" and "VisioDocument" 
document entries.

Thank you

note : I wrote "corrupted" because I don't find any other that really fit the 
nature of the document.



(In reply to comment #0)
> Steps to Reproduce: 
> 1 - create a new visio file
> 2 - modify its title with an application using poi like "WriteTitle.java" (poi
> example)
> 3 - open the document with visio and save it (don't modify the title).
> Actual Results: 
> the document title is gone.
> Expected Results:
> the title should be the same title modified by step one.
> I am using visio 2002 sp-2 - 10.0.6865
> poi-3.0.1-FINAL
> description:
> I modify visio document properties through poi( title,author, custom
> properties...), everything looks fine.
> If I modify the same document via visio application or via windows, the 
document
> entries are inverted VisioInformation(1st) et VisioDocument(2nd) then every
> properties are lost (title...) and sometimes the document becomes unreadable.
> I check an original visio document with PoiBrowser, VisioInformation shoulb be
> before VisioDocument but if a document is modified via my application(poi)
> VisioDocument is before VisioInformation.
> I also tried with the example code "WriteTitle.java", it is the same result.

(In reply to comment #3)
> The order of entries in the property set doesn't matter. Properties are
> identified by name. The so-called "corrupted" file looks not quite, but rather
> good. At least the title is there.
> Anyway, if something is wrong with the properties after Vision wrote them, 
that
> looked like a bug in Visio, not in HPSF.

(In reply to comment #3)
> The order of entries in the property set doesn't matter. Properties are
> identified by name. The so-called "corrupted" file looks not quite, but rather
> good. At least the title is there.
> Anyway, if something is wrong with the properties after Vision wrote them, 
that
> looked like a bug in Visio, not in HPSF.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org