Openbravo Issue Tracking System - Modules  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0044799 | Modules | Initial data load | public | 2020-08-12 16:44 | 2020-09-07 13:34 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | inigo_lerga |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version |  |   | 
| Merge Request Status | approved | 
| Regression date |  | 
| Regression introduced by commit |  | 
| Regression level |  | 
| Review Assigned To |  | 
| Support ticket |  | 
| OBNetwork customer | No | 
| Regression introduced in release |  | 
  | 
| Summary | 0044799: IDL_Check_DataType is an old-style callout and should be refactored to use SimpleCallout | 
| Description | This callout is one of the few ones left over not not refactored to be SimpleCallout (issue 36067 refactored every supported module except a few one). 
 
 | 
| Steps To Reproduce | product/pmods/org.openbravo.idl/src/org/openbravo/idl/ad_callouts/IDL_Check_DataType.java:      resultado.append("var respuesta = new Array("); 
 | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | blocks  | design defect  | 0044795 |   | new  | Triage Omni OMS  | Openbravo ERP  | Tracking issue to refactor remaining old callouts to extend SimpleCallout  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2020-08-12 16:44 | shuehner | New Issue |  | 
| 2020-08-12 16:44 | shuehner | Assigned To |  => Jorge Bravo | 
| 2020-08-12 16:44 | shuehner | OBNetwork customer |  => No | 
| 2020-08-12 16:44 | shuehner | Issue generated from | 0044798 | 
| 2020-08-12 16:45 | shuehner | Relationship added | blocks 0044795 | 
| 2020-08-12 16:46 | shuehner | Issue cloned | 0044800 | 
| 2020-08-12 16:55 | shuehner | Assigned To | Jorge Bravo => Triage Finance | 
| 2020-08-17 12:54 | shuehner | Note Added: 0122098 |  | 
| 2020-08-18 08:25 | vmromanos | Assigned To | Triage Finance => inigo_lerga | 
| 2020-08-27 14:26 | inigo_lerga | Status | new => scheduled | 
| 2020-09-02 14:18 | hgbot | Merge Request Status |  => open | 
| 2020-09-02 14:18 | hgbot | Note Added: 0122547 |  | 
| 2020-09-02 15:21 | inigo_lerga | Note Added: 0122548 |  | 
| 2020-09-07 09:17 | inigo_lerga | Note Edited: 0122548 | bug_revision_view_page.php?bugnote_id=0122548#r21636 | 
| 2020-09-07 09:20 | inigo_lerga | Note Edited: 0122548 | bug_revision_view_page.php?bugnote_id=0122548#r21639 | 
| 2020-09-07 09:21 | inigo_lerga | Note Edited: 0122548 | bug_revision_view_page.php?bugnote_id=0122548#r21640 | 
| 2020-09-07 09:28 | inigo_lerga | Note Edited: 0122548 | bug_revision_view_page.php?bugnote_id=0122548#r21641 | 
| 2020-09-07 13:33 | dmiguelez | Note Edited: 0122548 | bug_revision_view_page.php?bugnote_id=0122548#r21654 | 
| 2020-09-07 13:33 | dmiguelez | Note Edited: 0122548 | bug_revision_view_page.php?bugnote_id=0122548#r21655 | 
| 2020-09-07 13:34 | hgbot | Merge Request Status | open => approved | 
| 2020-09-07 13:34 | hgbot | Note Added: 0122749 |  | 
| 2020-09-07 13:34 | hgbot | Resolution | open => fixed | 
| 2020-09-07 13:34 | hgbot | Status | scheduled => closed | 
| 2020-09-07 13:34 | hgbot | Note Added: 0122750 |  | 
	| 
		Notes	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			| 
				When fixing this issue the AD_MODEL_OBJECT_MAPPING entry should be removed (not needed and SimpleCallout subclasses are not servlets)			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122547)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-02 14:18   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122548)
			 | 
		 
		
			| 
				inigo_lerga   
			 | 
		 
		
			
				2020-09-02 15:21   
				 (edited on: 2020-09-07 13:33)			 | 
		 
		 
	 | 
	
		
		
			
				--Test Plan Mantis-- 
Beforehand, the Initial Data Load module must be installed. 
After deleting the AD_MODEL_OBJECT_MAPPING, this class is executed when a 
change is done in the Default Value field described bellow, as the class is registered as a Callout in Application Dictionary 
 
As the F&B International Group Admin role in Backend: 
 
1. Apply module dataset: 
  - Go to Enterprise Module Management window and select the 
    Initial Data Load Module. Press OK button. 
 
2. Test Default values: 
  - Go to Entity Default Values window and open the Product record. 
  - Go to Fields Tab and create a new record with: 
    - Name: Test 
    - Data Type: Boolean 
    - Default Value: a 
    - In this moment the new SimpleCallout is executed, showing an Info message when the Default Value inserted does not match the structure of the Boolean Type selected (Example: Data Type 'Boolean' and Default Value 'a'" 
  - Create a new record with: 
    - Name: Test 
    - Data Type: Numeric 
    - Default Value: a 
    - In this moment the new SimpleCallout is executed, showing an Info message when the Default Value inserted does not match the structure of the Numeric Type selected (Example: Data Type 'Numeric' and Default Value 'a'" 
  - Create a new record with: 
    - Name: Test 
    - Data Type: Date 
    - Default Value: a 
    - In this moment the new SimpleCallout is executed, showing an Info message when the Default Value inserted does not match the structure of the Date Type selected (Example: Data Type 'Date' and Default Value 'a'" 
 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122749)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-07 13:34   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0122750)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2020-09-07 13:34   
							 | 
		 
		 
	 | 
	
		
	 |