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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052959
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2023-07-13 13:192023-10-09 08:38
ReporterplujanView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052959: [23Q3] Notes data-testid is made with the content of the field

DescriptionWhen 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 Reproduce1. 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>
TagsNo tags attached.
Attached Filespng file icon TicketWithNote.png [^] (44,725 bytes) 2023-07-13 13:19

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052958 closedRajesh_18 [23Q3] Note for a product line is trimmed to 255 chars without a warning to the user 

-  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
Powered by Mantis Bugtracker