New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view: refresh after removing a static filter #1790

Closed
teosarca opened this Issue May 16, 2018 · 1 comment

Comments

Projects
None yet
4 participants
@teosarca
Member

teosarca commented May 16, 2018

Is this a bug or feature request?

Bug
required for metasfresh/metasfresh#4002

What is the current behavior?

Which are the steps to reproduce?

Use a view created by the notification from #1789.
e.g. https://w101.metasfresh.com:8443/window/540375?viewId=540375-BH
If not available or something, ping me and I can create one for you.

Now, click on that gray filter, in order to remove it.
image
(remark the viewId)

When you click on it

  • the frontend i issuing DELETE https://w101.metasfresh.com:8443/rest/api/documentView/540375/540375-BH/staticFilter/filterByVendorIdAndReminderDate to delete that static filter => OK
  • backend answers to DELETE request with a new view => OK
    e.g.
{  
   "windowId":"540375",
   "viewId":"540375-BL",
   "size":227,
   "orderBy":[  
      {  
         "fieldName":"C_PurchaseCandidate_ID",
         "ascending":true
      }
   ],
   "queryLimit":5000,
   "type":"540375"
}

image

  • the frontend is not loading that new view => NOK

Similar example where it is working correctly: related documents

Remark how nicely the view is refreshed.

What is the expected or desired behavior?

See above. The new view shall be displayed.

siemiatj added a commit that referenced this issue May 16, 2018

metas-ts added a commit to metasfresh/metasfresh that referenced this issue May 22, 2018

update ReleaseNotes.md
[#4073](#4073) Virtual Tabs implementation
[#4018](#4018) QtyCU not respected in Quarantine DD_Orderline
[#4063](#4063) Enhanced Pricing: Discount Break is falsely invalidated
[#4032](#4032) Show Pricing Conditions of Business Partner
[#4001](#4001) Calculate Purchase price with yearly Bonus
[#3999](#3999) New contract Type: Yearly Bonus from vendors
[#4070](#4070) WebUI Windows for new contract Type "Yearly
[#1789](metasfresh/metasfresh-webui-frontend#1789) user notifications: handle view target type
[#4071](#4071) exception handling: make them more translatable
[#4047](#4047) CleverReach get paginated receivers list
[#18](metasfresh/metasfresh-dist#18) create docker image automatically via jenkins
[#93](metasfresh/metasfresh-dist-orgs#92) Postal Lookup for Switzerland CH
[#4052](#4052) NPE when deleting inoutline with empty product
[#4062](#4062) Pricing conditions modal: allow changing pricing type, edit pricing system etc
[#4056](#4056) webui: pimp Partner Pharma - Purchase schedule tab
[#4030](#4030) create webui windows for marketing and cleverreach settings
[#1790](metasfresh/metasfresh-webui-frontend#1790) view: refresh after removing a static filter
[#3879](#3879) Add link and templates for email notification
[#4002](#4002) Purchase Order Aggregation
[#3792](#3729) Setting a different invoice bpartner causes error

@metas-lc metas-lc self-assigned this May 23, 2018

@metas-lc

This comment has been minimized.

metas-lc commented May 23, 2018

IT

  1. open bpartner window, select one that has documents, like sales/purchase orders
  2. zoom in to related documents, e.g. sales order
    => sales order window opens with a filter for your bpartner OK
    => only orders from that bpartner are shown OK
  3. click on that grey bpartner filter
    => filter is gone OK
    => all sales orders are shown OK
    .
  4. create some purchase candidates using configs from this task: metasfresh/metasfresh#4002
  5. at some point you'll get a notification like:
    X purchase candidate(s) for vendor Y are almost due
  6. select on that notification
    => Purchase Disposition opens, with the grey filter OK
  7. select on the grey filter
    => filter is removed, all Purchase Dispositions are shown OK

@metas-lc metas-lc closed this May 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment