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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030802
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-09-09 13:512015-09-16 22:40
ReportermigueldejuanaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision1eed1fe046f4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030802: When a service name content is in executed service name(different from compared service) fails

DescriptionIn ob-requestrouter.js

when looking for the service, we are looking for the contain of the name instead of comparing the whole name.

See:

service = _.filter(OB.RR.RequestRouter.availableServices.models, function (srvc) {
          return serviceName.indexOf(srvc.get('name')) !== -1;
        })[0];

Steps To ReproduceCreate a servlet with the name org.openbravo.retail.posterminal.ProcessCashCloseSlave.

You will see that org.openbravo.retail.posterminal.ProcessCashClose is executed instead of org.openbravo.retail.posterminal.ProcessCashCloseSlave.
Proposed Solutionuse === instead of indexOf
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0030778 closedjorge-garcia Cash UP Partial crashes 

-  Notes
(0080335)
hgbot (developer)
2015-09-11 12:27

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1eed1fe046f420911f0a74bf8ecec3dddfeb00d1
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 11 09:21:03 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1eed1fe046f420911f0a74bf8ecec3dddfeb00d1 [^]

Fixed issue 0030802: When a service name content is in executed service name(different from compared service) fails

In case of having more than one service, get longest name service. Longest name service will be the most similar to serviceName

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0080446)
mtaal (manager)
2015-09-16 22:40

Tested and reviewed

- Issue History
Date Modified Username Field Change
2015-09-09 13:51 migueldejuana New Issue
2015-09-09 13:51 migueldejuana Assigned To => migueldejuana
2015-09-09 13:51 migueldejuana Triggers an Emergency Pack => No
2015-09-09 13:56 jorge-garcia Relationship added depends on 0030778
2015-09-11 12:27 hgbot Checkin
2015-09-11 12:27 hgbot Note Added: 0080335
2015-09-11 12:27 hgbot Status new => resolved
2015-09-11 12:27 hgbot Resolution open => fixed
2015-09-11 12:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1eed1fe046f420911f0a74bf8ecec3dddfeb00d1 [^]
2015-09-15 14:09 mtaal Review Assigned To => mtaal
2015-09-16 22:40 mtaal Note Added: 0080446
2015-09-16 22:40 mtaal Status resolved => closed
2015-09-16 22:40 mtaal Fixed in Version => RR15Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker