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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045707
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] [POS2] POSmajoralways2021-01-11 11:072021-01-22 08:19
ReporterebecerraView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionfixedFixed in VersionRR21Q2
StatusclosedFix 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

0045707: Incorrect field alignment when text needs to overflow (Hardware Manager)

DescriptionWhen a field in a template has an "n" character limit and the next field is right-aligned and the value passed to the first field is greater than the width of the field, the second field is not aligned as expected.

For example in the Cash Up template:
 
<line>
      <text align ="left" length="25" bold="true">...</text>
      <text align ="right" length="14" bold="true">...</text>
</line>

See the attachment image.
Steps To ReproduceN/A
TagsNo tags attached.
Attached Filespng file icon CashUp.png [^] (63,876 bytes) 2021-01-11 11:07

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0047395 closedranjith_qualiantech_com OB.UTIL.encodeXMLMultiLineComponent returns empty string if there are lines larger than the width in 21Q2 

-  Notes
(0125701)
hgbot (developer)
2021-01-21 05:25

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/135 [^]
(0125702)
hgbot (developer)
2021-01-21 05:25

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/271 [^]
(0125721)
hgbot (developer)
2021-01-22 08:18

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/271 [^]
(0125722)
hgbot (developer)
2021-01-22 08:18

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4521ac94a0eaf92d66b2531dd654f691695d4e04
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-01-22T07:18:16+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4521ac94a0eaf92d66b2531dd654f691695d4e04 [^]

Fixed BUG-45707: Implemented new function to avoid alignment problems and when text needs to overflow

---
M web/org.openbravo.retail.posterminal/res/printcashup.xml
---
(0125723)
hgbot (developer)
2021-01-22 08:18

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: f54508b79167c058a8c1fa2e5bfa70ffcb549afe
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-01-20T14:10:45-05:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/f54508b79167c058a8c1fa2e5bfa70ffcb549afe [^]

Fixed BUG-45707: Implemented new function for split string in multiple lines

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0125724)
hgbot (developer)
2021-01-22 08:18

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/135 [^]
(0125725)
marvintm (manager)
2021-01-22 08:19

One important comment regarding the fix: we have added a new utility function that can be used in the templates to automatically split a long label into several lines. We have also updated the standard cashup report to use this function.

Custom templates will need also to be updated if they want to take advantage of the functionality this function provides.

- Issue History
Date Modified Username Field Change
2021-01-11 11:07 ebecerra New Issue
2021-01-11 11:07 ebecerra Assigned To => Retail
2021-01-11 11:07 ebecerra File Added: CashUp.png
2021-01-11 11:07 ebecerra Triggers an Emergency Pack => No
2021-01-11 11:09 javietxe Issue Monitored: javietxe
2021-01-11 11:09 javietxe Resolution time => 1612134000
2021-01-13 05:49 rqueralta Assigned To Retail => rqueralta
2021-01-13 05:50 rqueralta Status new => scheduled
2021-01-15 09:46 guilleaer Project POS2 => Retail Modules
2021-01-21 05:25 hgbot Note Added: 0125701
2021-01-21 05:25 hgbot Note Added: 0125702
2021-01-22 08:18 hgbot Resolution open => fixed
2021-01-22 08:18 hgbot Status scheduled => closed
2021-01-22 08:18 hgbot Note Added: 0125721
2021-01-22 08:18 hgbot Fixed in Version => RR21Q2
2021-01-22 08:18 hgbot Note Added: 0125722
2021-01-22 08:18 hgbot Note Added: 0125723
2021-01-22 08:18 hgbot Note Added: 0125724
2021-01-22 08:19 marvintm Note Added: 0125725
2021-09-02 17:35 ranjith_qualiantech_com Relationship added causes 0047395


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker