metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Cache issue in shipment schedules subtab #846

Closed metas-lc closed 6 years ago

metas-lc commented 6 years ago

Is this a bug or feature request?

bug

What is the current behavior?

when you create a new shipment from shipment scheds you have to refresh the window to see the new entry in subtab

Which are the steps to reproduce?

  1. create and complete a new sales invoice
  2. go to shipment schedules and open it in doc view
  3. go to actions and create (and complete) shipment => notice that the shipment/picking subtab did not appear NOK (you can refresh and then it will show)

    What is the expected or desired behavior?

    row shall be visible

teosarca commented 6 years ago

note to IT:

teosarca commented 6 years ago

Configuration example

Set IsEnableRemoteCacheInvalidation flag on window level and those structures will be remotely invalidated.

image

metas-lc commented 6 years ago

IT

  1. testcase from above works. The line is shown after the inout was done, without refreshing OK
  2. regression: check cache invalidation for C_Order/C_OrderLine => i notice that if i have 2 tabs with the same order opened, and i complete it in one tab, in the second one didn't update NOK M_ShipperTransportation/M_ShippingPackage => i opened transportation order in 1 tab and picking clearing in another tab. I used "add to transportation order" and i had to refresh the page to see the new line NOK
teosarca commented 6 years ago

did a quick test on my laptop and it seems to work. Pls check it again after https://github.com/metasfresh/metasfresh-webui-api/issues/851

metas-lc commented 6 years ago

IT

  1. shipment schedule/shipment line appeared without refresh OK
  2. order/orderline tabs were updated without refresh OK
  3. transportation order line appeared after picking clearing without refresh OK