Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015966Openbravo ERPB. User interfacepublic2011-02-14 12:012011-08-02 10:35
RenateNieuwkoop 
mtaal 
normalminoralways
closedfixed 
5
pi 
 
Core
No
0015966: Copy and paste from a field gives the trigger that something was changed
I select the contact of a field and a control c and control v to copy content over to a document and then the system gives an error that something was changed and can not be saved.
With system administrator role:
Widget screen
from grid select a widget, for example 'Payment Out - Awaiting for execution'
go to the Query tab
select the field HQL, control c and control v
now click another row in the grid and you'll get the error that the field can not be updated.
No tags attached.
png 140211WidgetHQL.png (88,070) 2011-02-14 12:01
https://issues.openbravo.com/file_download.php?file_id=3588&type=bug
png
Issue History
2011-02-14 12:01RenateNieuwkoopNew Issue
2011-02-14 12:01RenateNieuwkoopAssigned To => dbaz
2011-02-14 12:01RenateNieuwkoopFile Added: 140211WidgetHQL.png
2011-02-14 12:01RenateNieuwkoopModules => Core
2011-02-21 08:24alostaleStatusnew => scheduled
2011-07-14 21:17dbazAssigned Todbaz => mtaal
2011-07-17 22:35mtaalNote Added: 0039133
2011-07-17 22:37hgbotCheckin
2011-07-17 22:37hgbotNote Added: 0039134
2011-07-17 22:37hgbotStatusscheduled => resolved
2011-07-17 22:37hgbotResolutionopen => fixed
2011-07-17 22:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0ca6ef54ffeb90334027bc08a57a919c0ba31f2b [^]
2011-08-01 14:19hudsonbotCheckin
2011-08-01 14:19hudsonbotNote Added: 0039608
2011-08-02 10:35marvintmStatusresolved => closed

Notes
(0039133)
mtaal   
2011-07-17 22:35   
This was caused by the fact that internally the HQL was formatted with newlines, the window shows the hql in one line, when copy/pasting the internal value with newlines is replaced with a value without newlines. So indeed a change.

I solved this specific case by changing the reference of the HQL field to Text, which correctly displays a textbox to enter HQL.
(0039134)
hgbot   
2011-07-17 22:37   
Repository: erp/devel/pi
Changeset: 0ca6ef54ffeb90334027bc08a57a919c0ba31f2b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Jul 17 22:37:06 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0ca6ef54ffeb90334027bc08a57a919c0ba31f2b [^]

Fixes issue 15966: Copy and paste from a field gives the trigger that something was changed
Change event was caused by a multi-line value to be displayed in a single line text box (removing newlines), changed the reference of the column to support multi-lines

---
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_COLUMN.xml
---
(0039608)
hudsonbot   
2011-08-01 14:19   
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/cf2afed6e8ef [^]

Maturity status: Test