Created attachment 105104 [details] One of the affected documents Enumerating all text fields of some writer documents using XTextFieldsSupplier.getTextFields().createEnumeration(); the first n fields are reported as com.sun.star.text.textfield.PageNumber but they actually are com.sun.star.text.textfield.User Iterating the document paragraph by paragraph this does not happen The behavior can be reproduced under Linux and Windows using Open JDK 1.7 and Oracle Java 1.7, Writer 4.2.4.2 and 4.1.5.3
Inverting the access using getTextFieldMasters() the field master exists but the DependentTextFields property has less entries than expected.
Te fact is related with tables - removing the tables everything is alright.
Can you give more detailed steps for reproduction, so any random QA team member without prior experience with scripting can test this? Change back to UNCONFIRMED after supplying the information.
Created attachment 109406 [details] An affected document with a macro to show the error Added a macro called "TestCase" that lists the ServiceNames of all userfields in the document. just call the macro. After a wile a message box shows up and the first twenty lines will show "PageNumber"
(In reply to Stefan Ziel from comment #4) > Created attachment 109406 [details] > An affected document with a macro to show the error > > Added a macro called "TestCase" that lists the ServiceNames of all > userfields in the document. just call the macro. After a wile a message box > shows up and the first twenty lines will show "PageNumber" Reproduced. Win 7 64-bit Version: 4.4.0.0.alpha2+ Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827 TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.