Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030802 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2015-09-09 13:51 | 2015-09-16 22:40 | |||
Reporter | migueldejuana | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR15Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1eed1fe046f4 | ||||
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 | mtaal | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030802: When a service name content is in executed service name(different from compared service) fails | |||||||
Description | In 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 Reproduce | Create 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 Solution | use === instead of indexOf | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |