Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

caught in an empties loop when opened from material receipt candidates #1114

Closed
metasnw opened this issue Aug 4, 2017 · 3 comments
Closed

Comments

@metasnw
Copy link
Member

metasnw commented Aug 4, 2017

Type of issue

Bug

Current behavior

caught in an empties loop when opened from material receipt candidates

Expected behavior

Steps to reproduce

  1. open https://w101.metasfresh.com:8443/window/540196?viewId=540196-c8eb110628f740659bfc6da0cb998539&page=1
  2. pick any record
  3. go to actions menu and open "empties return"
  4. empties return window opens
  5. try to open dashboard or another window
  6. NOK: empties return window opens again
  7. NOK: another empties return record is created
@wiadev wiadev self-assigned this Aug 4, 2017
metas-ts added a commit that referenced this issue Aug 8, 2017
#1114 Fix remains of process modal instance caused mess with redirects
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Aug 8, 2017
[#1114](metasfresh/metasfresh-webui-frontend-legacy#1114) caught in an empties loop when opened from material receipt candidates
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Aug 9, 2017
move to this week's release
[#1114](metasfresh/metasfresh-webui-frontend-legacy#1114) caught in an empties loop when opened from material receipt candidates
[#1097](metasfresh/metasfresh-webui-frontend-legacy#1097) Show progress when uploading big files
@metas-lc
Copy link

metas-lc commented Aug 11, 2017

IT

  1. open receipt candidates window https://w101.metasfresh.com:8443/window/540196?viewId=540196-c8eb110628f740659bfc6da0cb998539&page=1
  2. pick any record
  3. go to actions menu and open "empties return"
    => empties return window opens
    4.1 (you can ship this step. Use 4.2 instead) try to open dashboard or another window
    => dasboard opens OK
    4.2 use the back button (to get back to receipt candidates window)
    => new empties is created and if you use back button again, 2 more are generated (and so on) NOK

note: from the start, it seems, that it's making 2 empties. I used "empties return" i got new one with id "1004387" and i press back and the id is "1004386", i press back again and i see quickly "1004388" and then "1004389" opens

@metas-lc metas-lc self-assigned this Aug 11, 2017
@wiadev wiadev assigned wiadev and unassigned metas-lc Aug 11, 2017
wiadev added a commit that referenced this issue Aug 14, 2017
Clears context for opened process popups, so page refreshed will not cause repeated process invokations
wiadev added a commit that referenced this issue Aug 15, 2017
@wiadev wiadev removed their assignment Aug 15, 2017
metas-mk added a commit that referenced this issue Aug 15, 2017
@wiadev
Copy link
Contributor

wiadev commented Sep 7, 2017

@metas-lc is this still IT-failed?

@metas-dh
Copy link
Member

Results of IT2
tested in mf15

retested the case above:

  • no additional empties returns are created when using back button: OK
  • no additional empties returns are created when jumping through menu: OK

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants