Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0052959 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | have not tried | 2023-07-13 13:19 | 2023-10-09 08:38 | |||||||
Reporter | plujan | View Status | public | |||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0052959: [23Q3] Notes data-testid is made with the content of the field | |||||||||||
Description | When creating a new note for a line ticket, the element data-testid contains the value of the field which: a) It is a potential performance issue as the note can be very long and a ticket can contain multiple notes and b) In case two lines contain the same note it will make the data-testid not unique | |||||||||||
Steps To Reproduce | 1. Create a ticket and add it a product 2. Insert a note to the line with a very long text 3. Check the data-testid for the line's note and see it has the format: <div class="obpos2CurrentTicketLineNote" data-testid="obpos2CurrentTicketLineNote-Lorem ipsum dolor sit amet, consectetur adipisci tempor incidunt ut labore et dolore magna aliqua veniam, quis nostrud exercitation ullamcorpor s commodo consequat. Duis autem vel eum irrure esse molestiae consequat, vel illum dolore eu fugi et iusto odio"># Note: Lorem ipsum dolor sit amet, consectetur adipisci tempor incidunt ut labore et dolore magna aliqua veniam, quis nostrud exercitation ullamcorpor s commodo consequat. Duis autem vel eum irrure esse molestiae consequat, vel illum dolore eu fugi et iusto odio</div> | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | TicketWithNote.png [^] (44,725 bytes) 2023-07-13 13:19
| |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0155654) hgbot (developer) 2023-10-09 08:38 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2159 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2023-07-13 13:19 | plujan | New Issue | |
2023-07-13 13:19 | plujan | Assigned To | => Retail |
2023-07-13 13:19 | plujan | File Added: TicketWithNote.png | |
2023-07-13 13:19 | plujan | Triggers an Emergency Pack | => No |
2023-07-13 13:19 | plujan | Relationship added | related to 0052958 |
2023-10-09 07:40 | Rajesh_18 | Assigned To | Retail => Rajesh_18 |
2023-10-09 07:40 | Rajesh_18 | Status | new => scheduled |
2023-10-09 08:38 | hgbot | Note Added: 0155654 |
Copyright © 2000 - 2009 MantisBT Group |