Issue 125086

Summary: Regression Textfield.user cant be deleted via Script
Product: App Dev Reporter: soober <h.gerdes-kassel>
Component: scriptingAssignee: Oliver-Rainer Wittmann <orw>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: jsc, liushenf, oliver.brinzing, orw
Version: 4.1.0Keywords: regression
Target Milestone: 4.1.1Flags: jsc: 4.1.1_release_blocker+
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 124985    
Description Flags
The attachement contains a Textfield.user and a macro designed to delete the textfield. none

Description soober 2014-06-12 16:45:27 UTC
Created attachment 83545 [details]
The attachement contains a Textfield.user and a macro designed to delete the textfield.

When a documents text contains a user-inputfield (textfield.user) and I try to delete it, only the first letter of the "Name"-Property will be deleted.


will lead to this effect or 



I'm using Win7 prof. SP1.

In the attachment the sub "delete" will show the effect.
Comment 1 Oliver Brinzing 2014-06-13 09:55:04 UTC
confirming with aoo410 w7 64bit

aoo401: field is deleted
aoo410: only first letter is deleted
Comment 2 Ariel Constenla-Haile 2014-06-13 14:43:48 UTC
May be introduced by "In-place editing of Input Fields" in 4.1.0.
Comment 3 Oliver-Rainer Wittmann 2014-06-16 09:06:21 UTC
taking over to have a closer look.

As Ariel I also think that my changes for the 'in-place editing of Input Fields' caused this defect.
Comment 4 jsc 2014-06-16 09:14:16 UTC
grant showstopper flag, regression
Comment 5 SVN Robot 2014-06-16 12:01:47 UTC
"orw" committed SVN revision 1602850 into trunk:
125086: correct UNO-API implementation for <com::sun::star::text::XTextField>...
Comment 6 Oliver-Rainer Wittmann 2014-06-16 12:11:53 UTC
fix on trunk is available
Comment 7 SVN Robot 2014-06-16 12:38:44 UTC
"orw" committed SVN revision 1602856 into branches/AOO410:
125086: correct UNO-API implementation for <com::sun::star::text::XTextField>...
Comment 8 Oliver-Rainer Wittmann 2014-06-16 12:45:36 UTC
fixed on branch AOO410 for the planned 4.1.1 release
Comment 9 Shenfeng Liu 2014-07-10 10:51:18 UTC
Verified on Windows 7. Reproduced this defect using 4.1.0 and confirmed it being fixed in 4.1.1 M1 build.