Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | |||||||||||
| 0034291 | |||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
| defect | [Openbravo ERP] A. Platform | minor | always | 2016-10-25 16:57 | 2022-02-01 08:05 | ||||||
| Reporter | JONHM | View Status | public | ||||||||
| Assigned To | Triage Platform Base | ||||||||||
| Priority | normal | Resolution | open | Fixed in Version | |||||||
| Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
| Projection | none | ETA | none | Target Version | |||||||
| OS | Any | Database | Any | Java version | |||||||
| OS Version | Database version | Ant version | |||||||||
| Product Version | pi | SCM revision | |||||||||
| Merge Request Status | |||||||||||
| Review Assigned To | |||||||||||
| OBNetwork customer | OBPS | ||||||||||
| Web browser | |||||||||||
| Modules | Core | ||||||||||
| Support ticket | 44056 | ||||||||||
| Regression level | |||||||||||
| Regression date | |||||||||||
| Regression introduced in release | |||||||||||
| Regression introduced by commit | |||||||||||
| Triggers an Emergency Pack | No | ||||||||||
| Summary | 0034291: In "Price List Schema" window, cannot pick a product without "Product Category" field selected | ||||||||||
| Description | In "Price List Schema" window, if we create a new line, we cannot pick a product without "Product Category" field selected. | ||||||||||
| Steps To Reproduce | 1) Open "Price List Schema" window and select a price list schema of the list. 2) Create a new line, leave "Product Category" field empty and select a product using the selector. -- It shows message "No items to show"  | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|
  		Notes	 | 
|
| 
				(0090877) caristu (viewer) 2016-10-25 17:39  | 
	
		When the SelectorDatasourceFilter tries to resolve the filter expression makes use of the ParameterUtils.getJSExpressionResult(). At this point the parameters with a null value, has the string 'null' as value. This causes that the engine interprets the following expression as true: if (OB.getParameters().get('inpmProductCategoryId')) which eventually results on the following where expression: e.product.productCategory.id = 'null'  | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2016-10-25 16:57 | JONHM | New Issue | |
| 2016-10-25 16:57 | JONHM | Assigned To | => platform | 
| 2016-10-25 16:57 | JONHM | OBNetwork customer | => Yes | 
| 2016-10-25 16:57 | JONHM | Modules | => Core | 
| 2016-10-25 16:57 | JONHM | Support ticket | => 44056 | 
| 2016-10-25 16:57 | JONHM | Triggers an Emergency Pack | => No | 
| 2016-10-25 17:39 | caristu | Note Added: 0090877 | |
| 2016-12-01 13:11 | alostale | Status | new => acknowledged | 
| 2016-12-01 13:20 | alostale | Priority | high => normal | 
| 2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base | 
| Copyright © 2000 - 2009 MantisBT Group |