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

Problem regarding multiple filters #1435

Closed
metas-ts opened this Issue Dec 11, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@metas-ts
Member

metas-ts commented Dec 11, 2017

Is this a bug or feature request?

Bug

What is the current behavior?

The problem should be visible in this screenshot:
image

  • The first filter with id materialCockpitDateOnlyFilter seems OK, but in the sencond filter, the parameter ProductName = "Conv" is not poperly displayed.
  • instead, it looks as if the first filter's value is somehow used in the second filter.

@teosarca said that this problem might be related to view: singleOverlayField filters are half broken #1415

in case it helps: this is the filters layout info

"filters": [{
		"filterId": "materialCockpitDateOnlyFilter",
		"caption": "Datum",
		"frequent": true,
		"parametersLayoutType": "panel",
		"parameters": [{
			"caption": "DateGeneral",
			"parameterName": "DateGeneral",
			"widgetType": "Date",
			"range": false,
			"mandatory": true,
			"displayed": true,
			"readonly": false,
			"type": "primary",
			"showIncrementDecrementButtons": true
		}]
	},
	{
		"filterId": "materialCockpitAllParamsFilter",
		"caption": "Produkt",
		"frequent": true,
		"parametersLayoutType": "panel",
		"parameters": [{
			"caption": "ProductName",
			"parameterName": "ProductName",
			"widgetType": "Text",
			"range": false,
			"mandatory": false,
			"displayed": true,
			"readonly": false,
			"type": "primary"
		},
		{
			"caption": "Value",
			"parameterName": "Value",
			"widgetType": "Text",
			"range": false,
			"mandatory": false,
			"displayed": true,
			"readonly": false,
			"type": "primary"
		}]
	}]

Which are the steps to reproduce?

I get this ierror in the task branches of issue metasfresh/metasfresh-webui-api#706, so you can't yet reproduce this problem in master ..but maybe it also happens in other multipfilter-scenarios..

I'm working towards a WI for issue metasfresh/metasfresh-webui-api#706, so we also get this in master..but maybe you can already take a look?

@ottosichert

This comment has been minimized.

Show comment
Hide comment
@ottosichert

ottosichert Dec 12, 2017

Member

See my PR #1439 which fills the filter values to the dropdown widgets.

I believe it was introduced by #1419 or #1423 (regarding #1415) but I could not narrow it down to either one.

@metas-ts Can you provide me a similar setup where I can debug your exact issue if #1439 does not fully resolve this?

Member

ottosichert commented Dec 12, 2017

See my PR #1439 which fills the filter values to the dropdown widgets.

I believe it was introduced by #1419 or #1423 (regarding #1415) but I could not narrow it down to either one.

@metas-ts Can you provide me a similar setup where I can debug your exact issue if #1439 does not fully resolve this?

metas-ts added a commit to metasfresh/metasfresh that referenced this issue Dec 18, 2017

Update ReleaseNotes.md
[#706](metasfresh/metasfresh-webui-api#706)
Port current MRP Product Info Window to the webui
[#755](metasfresh/metasfresh-webui-api#755)
Processes: support for parentViewSelectedIds and childViewSelectedIds
[#1427](metasfresh/metasfresh-webui-frontend#1427)
d3 errors on dashboard
[#2646](#2646) MRP
Product Info Just in Time
[#751](metasfresh/metasfresh-webui-api#751)
Picking Tray Clearing: packing HUs: Add to Transportation Order action
[#1437](metasfresh/metasfresh-webui-frontend#1437)
Language bug: The language in Settings is not respected
[#746](metasfresh/metasfresh-webui-api#746)
Picking Tray Clearing: Scan picking slot barcode filter
[#1455](metasfresh/metasfresh-webui-frontend#1455)
error when updating an attribute multiple times
[#747](metasfresh/metasfresh-webui-api#747)
Picking Tray Clearing: filter picking slots by Partner
[#1433](metasfresh/metasfresh-webui-frontend#1433)
Support Lookup view attributes
[#3211](#3211) Picking
Tray Clearing: right side view shall display only the HUs for current
BP/Location
[#1444](metasfresh/metasfresh-webui-frontend#1444)
Attributes are empty in material receipt candidate
[#3202](#3202) Error in
Paymentjournal Process/ Report in Payselection
[#3193](#3193) Improve
Window for manual OnHand Qty in WebUI
[#1448](metasfresh/metasfresh-webui-frontend#1448)
jenkins: fix current lint issues
[#1435](metasfresh/metasfresh-webui-frontend#1435)
Problem regarding multiple filters
[#1436](metasfresh/metasfresh-webui-frontend#1436)
Remove legacy docs
[#3169](#3169) Updating
PMM_Week availability trend fails
[#1206](metasfresh/metasfresh-webui-frontend#1206)
Use automatic code style enforcement
[#717](metasfresh/metasfresh-webui-api#717)
picking terminal: open HUs to pick shall display Best Before date and
Locator

me-45

@metas-lc metas-lc self-assigned this Dec 19, 2017

@metas-lc

This comment has been minimized.

Show comment
Hide comment
@metas-lc

metas-lc Dec 19, 2017

IT
opened window Material cockpit 540376
used both filters
=>
Date: 19.12.2017
Filter by: &Product
OK
(& you see there is backend. Created task: metasfresh/metasfresh-webui-api#765)

metas-lc commented Dec 19, 2017

IT
opened window Material cockpit 540376
used both filters
=>
Date: 19.12.2017
Filter by: &Product
OK
(& you see there is backend. Created task: metasfresh/metasfresh-webui-api#765)

@metas-lc metas-lc closed this Dec 19, 2017

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