Openbravo Issue Tracking System - POS2
View Issue Details
0052958POS2POSpublic2023-07-13 13:132024-04-23 17:49
plujan 
Rajesh_18 
normalminorhave not tried
closedfixed 
5
 
24Q3 
No
0052958: [23Q3] Note for a product line is trimmed to 255 chars without a warning to the user
A ticket can be created with a note longer than 255 chars. However, on retrieving this ticket from the Orders list, the user realizes the note content has been trimmed.
1. Create a new ticket and add it a line
2. Using the "Add note" button, insert a text longer than 255 chars. Notice the value is accepted and the complete text is shown in screen.
3. Complete and pay the ticket
4. Go to orders and find the ticket
5. Open the ticket and look at the note. It has been cut at 255 chars and all information from char 256 to the end is lost.
Option A1: If the 255 char limit is the expected behavior, the user must be alerted when entering the incorrect text.

Option A2: If the 255 char limit is the expected behavior, the text should be limited to 255 chars.

Option B: If the 255 char limit is NOT the expected behavior, the open ticket should show the complete text
No tags attached.
related to defect 0052959 scheduled Rajesh_18 [23Q3] Notes data-testid is made with the content of the field 
related to defect 0052323 closed dcontrera Notes is not showing after completing receipt in POS2 
png TicketWithNote.png (44,725) 2023-07-13 13:13
https://issues.openbravo.com/file_download.php?file_id=18745&type=bug
png

png OpenTicketWithNote.png (31,182) 2023-07-13 13:13
https://issues.openbravo.com/file_download.php?file_id=18746&type=bug
png
Issue History
2023-07-13 13:13plujanNew Issue
2023-07-13 13:13plujanAssigned To => Retail
2023-07-13 13:13plujanFile Added: TicketWithNote.png
2023-07-13 13:13plujanTriggers an Emergency Pack => No
2023-07-13 13:13plujanFile Added: OpenTicketWithNote.png
2023-07-13 13:19plujanRelationship addedrelated to 0052959
2023-07-13 13:20plujanRelationship addedrelated to 0052323
2023-07-13 13:21plujanSummary[23Q3] Note for a product lines are trimmed to 255 without a warning to the user => [23Q3] Note for a product line is trimmed to 255 chars without a warning to the user
2023-09-14 13:40Rajesh_18Assigned ToRetail => Rajesh_18
2023-09-14 13:45Rajesh_18Statusnew => scheduled
2024-04-05 06:31hgbotNote Added: 0162860
2024-04-23 17:49hgbotNote Added: 0163619
2024-04-23 17:49hgbotResolutionopen => fixed
2024-04-23 17:49hgbotStatusscheduled => closed
2024-04-23 17:49hgbotFixed in Version => 24Q3
2024-04-23 17:49hgbotNote Added: 0163620

Notes
(0162860)
hgbot   
2024-04-05 06:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2545 [^]
(0163619)
hgbot   
2024-04-23 17:49   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2545 [^]
(0163620)
hgbot   
2024-04-23 17:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ce05eebf58fe7507717292667642de0b80d40562
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 23-04-2024 15:48:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/ce05eebf58fe7507717292667642de0b80d40562 [^]

Fixed ISSUE-52958: Trimmed ticket line note to 255 characters

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
---