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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041686
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Loyalty Programs for Web POSmajorhave not tried2019-08-23 14:312019-10-30 11:04
Reportermarkmm82View Statuspublic 
Assigned Tomarkmm82 
PrioritynormalResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revisionc663dcc8c5c1
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041686: Polling when creating a subscription with card number does not always return data from the server

DescriptionSometimes after creating several subscriptions consecutively, the polling is failing and the response does not return from the server. This means that the data on the client is not updated correctly with the information generated on the server during the subscription processing (memberID, category, points earned by the subscription, etc.) and sometimes causes the user interfaces that remain waiting to show the updated data.

After the timeout passes, an error is shown in the browser log showing that the process of saving the subscription failed by the timeout.

When this happens, sometimes in the next subscription, the polling response brings the previous information (which failed) and the current subscription.

Specifically, this issue can be reproduced when the Card Number field is set in the subscription. After many iterations without defining this field at the time of creating the subscription (manual or automatic at the time of customers creation) could not be reproduced.

Right now this issue is making to fail some tests of the Loyalty Programs suite.
Attached you will find linf for two videos when this issue is reproduced randomly after some tries. It is needed sometimes more than 10 attempts to reproduce it. At try it is failing much more faster.

[1] https://drive.google.com/open?id=1d3WtinFy0NBK5kfQMCRSUzz1zPLev6Zd [^]
[2] https://drive.google.com/open?id=1m6p22yJZ1kRYY2kM03GWy0Eo8z1S6JAU [^]
Steps To ReproducePlease execute several times the same steps explained in Test Link [1]. Specially those wich are creating subscriptions with Card Numbers and are failing in Try:

[LPNR080] CardIsGeneratedWhenAddingNewSubscription
[LPNR090] CardGeneratedToAutomaticSubscriptionWhenCustomerIsCreated
[LPNR100] MultiCardFieldsWhenCustomerIsCreated
[LPNR170] CardExpirationDateAtAutomaticSubscription
[LPNR180] CardExpirationDateAtManualSubscription


[1] https://docs.google.com/spreadsheets/d/12Cbr5Kl1k1u6o_zZQzAxLCNbBgVLqW-RVThLxcT5GK0/edit#gid=562732981 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0041811 closedgorka_gil Polling could be not launched due to asynchrony 
related to defect 0042102 closedRetail [LoyaltyPrograms] Error updating subscription number in WebPOS 

-  Notes
(0114350)
hgbot (developer)
2019-09-01 05:28

Repository: tools/automation/pi-mobile
Changeset: 02857175b2b27501b7be56706db3fbebc657a53e
Author: Álvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Aug 23 09:52:13 2019 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/02857175b2b27501b7be56706db3fbebc657a53e [^]

Related to issue 41686: Disable some loyalty subscriptions tests until polling is fixed

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR080_CardIsGeneratedWhenAddingNewSubscriptionWithCardNumberFieldDefined.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR090_CardGeneratedToAutomaticSubscriptionWhenCustomerIsCreated.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR100_MultiCardGeneratedToAutomaticSubscriptionWhenCustomerIsCreated.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR170_CardExpirationDateAtAutomaticSubscription.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR180_CardExpirationDateAtManualSubscription.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR270_MultiCardGeneratedToAutomaticSubscription.java
---
(0114608)
markmm82 (developer)
2019-09-18 04:00

Fixed:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/c663dcc8c5c1 [^]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9888c54aeb00 [^]
(0114609)
markmm82 (developer)
2019-09-18 04:04

https://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/c663dcc8c5c1 [^]
(0115342)
hgbot (developer)
2019-10-30 11:04

Repository: tools/automation/pi-mobile
Changeset: aebb598cf400a96a3254aa6311e100d7d882f2ed
Author: Álvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Oct 30 11:03:08 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/aebb598cf400a96a3254aa6311e100d7d882f2ed [^]

Related to issue 41686: Remove waitFixOf from LPNR270_MultiCardGeneratedToAutomaticSubscription test

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR270_MultiCardGeneratedToAutomaticSubscription.java
---

- Issue History
Date Modified Username Field Change
2019-08-23 14:31 markmm82 New Issue
2019-08-23 14:31 markmm82 Assigned To => Retail
2019-08-23 14:34 markmm82 Description Updated View Revisions
2019-09-01 05:28 hgbot Checkin
2019-09-01 05:28 hgbot Note Added: 0114350
2019-09-18 04:00 markmm82 Note Added: 0114608
2019-09-18 04:01 markmm82 Fixed in SCM revision => https://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/c663dcc8c5c1 [^]
2019-09-18 04:02 markmm82 Status new => scheduled
2019-09-18 04:02 markmm82 Project Modules => Retail Modules
2019-09-18 04:04 markmm82 Triggers an Emergency Pack => No
2019-09-18 04:04 markmm82 Category Loyalty Programs => Loyalty Programs for Web POS
2019-09-18 04:04 markmm82 Note Added: 0114609
2019-09-18 04:04 markmm82 Status scheduled => resolved
2019-09-18 04:04 markmm82 Fixed in Version => RR19Q4
2019-09-18 04:04 markmm82 Resolution open => fixed
2019-09-18 04:06 markmm82 Relationship added caused by 0041811
2019-09-18 08:15 aferraz Review Assigned To => aferraz
2019-09-18 08:15 aferraz Status resolved => closed
2019-10-23 16:21 Sandrahuguet Relationship added related to 0042102
2019-10-30 10:59 aferraz Assigned To Retail => markmm82
2019-10-30 11:04 hgbot Checkin
2019-10-30 11:04 hgbot Note Added: 0115342


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker