Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019741
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-02-13 13:272013-08-16 20:31
ReporteriperdomoView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionc7f713708ab9
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava versionOpenJDK 1.6.0_22
OS Version3.2.1-2-ARCHDatabase version9.1.2Ant version1.8.2
Product VersionpiSCM revision3082e66a5d16 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019741: Wrong behavior when trying to edit part of the contents in a text field

DescriptionThe user is not able to edit part of a text field. When selecting part of the text box contents, after the first keypress, the whole content of the field gets selected, and the user overwrites everything.
Steps To Reproduce* Using the System Administrator role
* Go to Tables and Columns
* Pick any Table
* Open any Column in form view
* Select part of the contents in the "DB Column Name" field
* Make more than 2 keystrokes
* You'll find that after the first keystroke the whole contents get selected, and overwritten with the content with the second (and following) keys

See the attached video
TagsRegression QA
Attached Files? file icon out.ogv [^] (4,450,346 bytes) 2012-02-13 13:27

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00195583.0MP10 closedalostale The automatic sequence does not work in projects 
related to design defect 0019844 closeddbaz Text field in display/readonly logic expressions are difficult to edit 

-  Notes
(0045086)
alostale (manager)
2012-02-14 11:18

This bug was revealed by fix for 0019558

Even fix for 0019558 is correct, it makes this issue to arise. The problem is in fields of String reference participating in a dynamic expression (read only logic or display logic), in this case whenever the field changes it is marked for redraw forcing it to be redrawn and in this event the existent text is selected.
(0045103)
alostale (manager)
2012-02-14 13:22

The problem is caused by selectOnFocus, when redraw is done focus is set back causing it to select the whole text.
(0045114)
alostale (manager)
2012-02-14 16:10

See http://forums.smartclient.com/showthread.php?t=20913 [^]
(0045382)
hgbot (developer)
2012-02-22 18:10

Repository: erp/devel/pi
Changeset: c7f713708ab9dfd40da31aa5842ec1857984357e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Feb 22 18:09:54 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c7f713708ab9dfd40da31aa5842ec1857984357e [^]

fixed bug 19741, related to issue 19558, related to issue 19844

  Reverting display logic in automatic sequence field added by 0019558
  because it was causing 0019741. This display logic should be set back
  once 0019844 is fixed.

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0045383)
alostale (manager)
2012-02-22 18:12

See notes in the commit message.

No regression risk.
(0045424)
guilleaer (developer)
2012-02-23 20:11

code review and tested on pi@4940d1f96b76
(0045425)
guilleaer (developer)
2012-02-23 20:12

code review and tested on pi@cbf12eaccb56
(0045926)
hudsonbot (developer)
2012-03-02 15:38

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^]

Maturity status: Test
(0060484)
hgbot (developer)
2013-08-02 21:43

Repository: erp/devel/pi
Changeset: aae683fdb69eaf0a28b472f5b34ec58225ad2461
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Fri Aug 02 21:43:09 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/aae683fdb69eaf0a28b472f5b34ec58225ad2461 [^]

Related to issue 19741, related to issue 19558, related to issue 19844

Added again display logic due that with Smartclient 2012-05-26
issue 19844 is fixed

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0060616)
hudsonbot (developer)
2013-08-16 20:31

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/59a1180e7f4f [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-13 13:27 iperdomo New Issue
2012-02-13 13:27 iperdomo Assigned To => alostale
2012-02-13 13:27 iperdomo File Added: out.ogv
2012-02-13 13:27 iperdomo Web browser => Google Chrome
2012-02-13 13:27 iperdomo Modules => Core
2012-02-14 10:55 alostale Relationship added related to 0019558
2012-02-14 10:55 alostale Tag Attached: Regression QA
2012-02-14 11:18 alostale Note Added: 0045086
2012-02-14 13:22 alostale Note Added: 0045103
2012-02-14 16:10 alostale Note Added: 0045114
2012-02-22 16:54 alostale Relationship added related to 0019844
2012-02-22 18:10 hgbot Checkin
2012-02-22 18:10 hgbot Note Added: 0045382
2012-02-22 18:10 hgbot Status new => resolved
2012-02-22 18:10 hgbot Resolution open => fixed
2012-02-22 18:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c7f713708ab9dfd40da31aa5842ec1857984357e [^]
2012-02-22 18:12 alostale Note Added: 0045383
2012-02-23 20:11 guilleaer Note Added: 0045424
2012-02-23 20:12 guilleaer Note Added: 0045425
2012-02-23 20:12 guilleaer Status resolved => closed
2012-02-23 20:12 guilleaer Fixed in Version => pi
2012-03-02 15:38 hudsonbot Checkin
2012-03-02 15:38 hudsonbot Note Added: 0045926
2013-08-02 21:43 hgbot Checkin
2013-08-02 21:43 hgbot Note Added: 0060484
2013-08-16 20:31 hudsonbot Checkin
2013-08-16 20:31 hudsonbot Note Added: 0060616


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker