Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037051 | Openbravo ERP | A. Platform | public | 2017-10-11 11:01 | 2018-01-03 12:38 |
Reporter | JONHM | ||||
Assigned To | inigosanchez | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR18Q1 | |||
Merge Request Status | |||||
Review Assigned To | alostale | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 48447 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037051: Rich text area fields showed in grid mode could corrupt the visibility of the grid | ||||
Description | Rich text area fields showed in grid mode could corrupt the visibility of the grid | ||||
Steps To Reproduce | 1) Create a new column in c_invoice table: ALTER TABLE c_invoice ADD COLUMN comment character varying(2000); 2) With a module in development open "Tables and columns" window and select c_invoice column. Press button 'Create Columns from DB'. Open 'comment' column and set its reference to 'Rich Text Area' 3)Then switch to "Windows, tabs and fields" window and select 'Sales Invoice' > Header and create the new column by pressing the button 'Create Fields'. Open 'comment' field and set its sequence number to 75. 4) Compile the application 5) Create some records in "Sales Invoice" window and show the new comment field in grid mode - OPTION 1: 6.1) Set the comment of one of those records by running the attached query (with your c_invoice_id) - OPTION 2: 6.2.1) Copy content from some email (from gmail) with no longer than 2000 characters (including HTML tags) into comment field and save the record. 6.2.2) Then modify that content by adding some more text or copying paragraphs 7) When opening again the "Sales Invoice" window, you will see the grid corrupted (see attached image) | ||||
Proposed Solution | As this is a text field which can be copied with format easily by some email content, the HTML tags should be escaped. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=11166&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11167&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-10-11 11:01 | JONHM | New Issue | |||
2017-10-11 11:01 | JONHM | Assigned To | => platform | ||
2017-10-11 11:01 | JONHM | File Added: Screenshot from 2017-10-10 18-34-08.png | |||
2017-10-11 11:01 | JONHM | OBNetwork customer | => Yes | ||
2017-10-11 11:01 | JONHM | Modules | => Core | ||
2017-10-11 11:01 | JONHM | Support ticket | => 48447 | ||
2017-10-11 11:01 | JONHM | Resolution time | => 1506808800 | ||
2017-10-11 11:01 | JONHM | Triggers an Emergency Pack | => No | ||
2017-10-11 11:05 | JONHM | File Added: sql_richtextarea | |||
2017-10-11 11:24 | JONHM | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16051#r16051 | ||
2017-10-11 11:35 | JONHM | Resolution time | 1506808800 => 1509490800 | ||
2017-10-11 11:36 | Practics | Issue Monitored: Practics | |||
2017-10-11 12:52 | inigosanchez | Status | new => scheduled | ||
2017-10-11 12:52 | inigosanchez | Assigned To | platform => inigosanchez | ||
2017-10-11 13:32 | Practics | Issue End Monitor: Practics | |||
2017-10-11 17:43 | inigosanchez | Review Assigned To | => alostale | ||
2017-10-11 17:57 | hgbot | Checkin | |||
2017-10-11 17:57 | hgbot | Note Added: 0099868 | |||
2017-10-11 17:57 | hgbot | Status | scheduled => resolved | ||
2017-10-11 17:57 | hgbot | Resolution | open => fixed | ||
2017-10-11 17:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a9040328c3f85086d728e0598bd00f768237f78f [^] | ||
2017-10-13 08:30 | alostale | Note Added: 0099881 | |||
2017-10-13 08:30 | alostale | Status | resolved => closed | ||
2017-10-13 08:30 | alostale | Fixed in Version | => 3.0PR18Q1 | ||
2018-01-03 12:38 | hudsonbot | Checkin | |||
2018-01-03 12:38 | hudsonbot | Note Added: 0101325 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|