Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0014173 | Openbravo ERP | A. Platform | public | 2010-08-12 19:33 | 2010-08-18 10:57 | 
  | 
| Reporter | rafaroda |   | 
| Assigned To | mtaal |   | 
| Priority | immediate | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | unable to reproduce |   | 
| Platform |  | OS | 20 | OS Version | Community Appliance | 
| Product Version | 2.50MP20 |   | 
| Target Version |  | Fixed in Version |  |   | 
| Merge Request Status |  | 
| Review Assigned To |  | 
| OBNetwork customer | OBPS | 
| Web browser |  | 
| Modules | Core | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0014173: Can't export module developed in Spanish: INCORRECT_CLIENT_ORG_PROPERTY_NAME | 
| Description | I can't export a module developed in Spanish. 
 
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++ 
[validateModules] Errors for Validation type: INCORRECT_CLIENT_ORG_PROPERTY_NAME 
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++ 
[validateModules] Table  EVEBUCO_OBJECTIVE has a column referencing AD_Client.  The AD_Column.name (note: different from AD_Column.columnname!) of this column should have the value client, it currently has entidad 
[validateModules] Table  EVEBUCO_OBJECTIVE has a column referencing AD_Org.  The AD_Column.name (note: different from AD_Column.columnname!) of this column should have the value organization, it currently has organizacin 
 | 
| Steps To Reproduce | Having installed the Spanish Translation module http://forge.openbravo.com/projects/languagemodulespanish/module [^] 
 
0) Create a new module with language Spanish (Spain) selected [0] 
1) Develop a new window for this module [1]. Don't forget to Synchronize Terminology! 
2) ant export.database 
 
[0] http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_To_Create_and_Package_a_Module [^] 
[1] http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_to_develop_a_new_window [^] | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | design defect  | 0014190 |   | acknowledged  | Triage Platform Base  | Can't export module developed with non-Western base language  |  | related to  | defect  | 0014172 |   | closed  | marvintm  | Missleading warning info when packaging module: NOT_PART_OF_FOREIGN_KEY  |  
  | 
| Attached Files |   OBJECTIVE.java (5,661) 2010-08-16 00:11 https://issues.openbravo.com/file_download.php?file_id=2865&type=bug
   RESET_COLUMN_NAMES.sql (959) 2010-08-18 10:57 https://issues.openbravo.com/file_download.php?file_id=2879&type=bug | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2010-08-12 19:33 | rafaroda | New Issue |  | 
| 2010-08-12 19:33 | rafaroda | Assigned To |  => alostale | 
| 2010-08-12 19:33 | rafaroda | OBNetwork customer |  => No | 
| 2010-08-12 19:33 | rafaroda | Relationship added | related to 0014172 | 
| 2010-08-12 19:34 | rafaroda | Issue Monitored: rafaroda |  | 
| 2010-08-15 22:57 | rafaroda | Severity | minor => critical | 
| 2010-08-15 22:57 | rafaroda | Summary | Missleading warning info when packaging module: INCORRECT_CLIENT_ORG_PROPERTY_NAME => Can't export module developed in Spanish: INCORRECT_CLIENT_ORG_PROPERTY_NAME | 
| 2010-08-15 22:57 | rafaroda | Description Updated | bug_revision_view_page.php?rev_id=676#r676 | 
| 2010-08-15 22:57 | rafaroda | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=678#r678 | 
| 2010-08-15 23:21 | rafaroda | Relationship added | related to 0014190 | 
| 2010-08-15 23:22 | rafaroda | Note Added: 0029967 |  | 
| 2010-08-16 00:11 | rafaroda | File Added: OBJECTIVE.java |  | 
| 2010-08-16 00:11 | rafaroda | Note Added: 0029970 |  | 
| 2010-08-16 08:05 | alostale | Assigned To | alostale => mtaal | 
| 2010-08-16 08:05 | alostale | Status | new => scheduled | 
| 2010-08-16 08:46 | mtaal | Note Added: 0029976 |  | 
| 2010-08-16 08:46 | mtaal | Status | scheduled => feedback | 
| 2010-08-16 09:46 | rafaroda | Note Added: 0029979 |  | 
| 2010-08-16 09:50 | networkb | OBNetwork customer | No => Yes | 
| 2010-08-16 09:50 | networkb | Status | feedback => new | 
| 2010-08-16 11:06 | rafaroda | Note Edited: 0029979 | bug_revision_view_page.php?bugnote_id=0029979#r682 | 
| 2010-08-17 09:51 | rafaroda | Note Added: 0030043 |  | 
| 2010-08-17 11:08 | rafaroda | Priority | normal => immediate | 
| 2010-08-17 11:08 | rafaroda | Severity | critical => major | 
| 2010-08-17 11:09 | rafaroda | Note Edited: 0029979 | bug_revision_view_page.php?bugnote_id=0029979#r689 | 
| 2010-08-17 13:57 | rafaroda | Note Added: 0030069 |  | 
| 2010-08-17 13:57 | rafaroda | Status | new => feedback | 
| 2010-08-17 13:59 | mtaal | Note Added: 0030070 |  | 
| 2010-08-17 18:42 | rafaroda | Status | feedback => new | 
| 2010-08-17 18:48 | rafaroda | Note Added: 0030087 |  | 
| 2010-08-17 18:48 | rafaroda | Status | new => closed | 
| 2010-08-17 18:48 | rafaroda | Resolution | open => unable to reproduce | 
| 2010-08-18 00:00 | anonymous | sf_bug_id | 0 => 3047309 | 
| 2010-08-18 10:57 | rafaroda | Note Added: 0030106 |  | 
| 2010-08-18 10:57 | rafaroda | File Added: RESET_COLUMN_NAMES.sql |  | 
	| 
		Notes	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			
				Please notice that the code generated in src-gen for a module with base language Spanish is in the form (see file OBJECTIVE.java attached): 
* public static final String PROPERTY_ENTIDAD = "entidad"; 
* public static final String PROPERTY_ORGANIZACIN = "organizacin"; (notice that รณ has been skipped) 
* public void setEntidad(Client entidad) { 
        set(PROPERTY_ENTIDAD, entidad); 
    } 
* public Organization getOrganizacin() { 
        return (Organization) get(PROPERTY_ORGANIZACIN); 
    } 
* public void setDescripcin(String descripcin) { 
        set(PROPERTY_DESCRIPCIN, descripcin); 
    } 
* public void setCreadoPor(User creadoPor) { 
        set(PROPERTY_CREADOPOR, creadoPor); 
    }			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0029976)
			 | 
		 
		
			| 
				mtaal   
			 | 
		 
		
			| 
				2010-08-16 08:46   
							 | 
		 
		 
	 | 
	
		
		
			
				As far as I can see this is not an error. The message is clear afaics. 
 
Why can't the column.name be changed to respectively client and organization? 
 
gr. Martin			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0029979)
			 | 
		 
		
			| 
				rafaroda   
			 | 
		 
		
			
				2010-08-16 09:46   
				 (edited on: 2010-08-17 11:09)			 | 
		 
		 
	 | 
	
		
		
			
				Hi Martin, 
 
Column.name is changed automatically to "entidad" and "organizacin" by the Synchronize Terminology process when: 
1) Spanish translation module is installed. 
2) And module base language is Spanish. 
 
I can change back those column.name to "client" and "organization", but they will be changed again to "entidad" and "organizacin" when I run Synchronize Terminology, so I suspect that there is something wrong here (maybe with entities generation and export database validations since Synchronize Terminology seems OK to me). 
 
Thanks for your answer. 
 
			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			
				Good morning Martin, 
 
Is this issue acknowledge as a bug? 
 
Thanks.			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			
				Martin, 
 
I'm making some more test to try to reproduce it consistently (seems not to be happening always). I put this issue in feedback. 
 
Sorry for the inconveniences.			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0030070)
			 | 
		 
		
			| 
				mtaal   
			 | 
		 
		
			| 
				2010-08-17 13:59   
							 | 
		 
		 
	 | 
	
		
		
			
				Yes I asked Asier because afaics the sync terminology should not change the ad_column.name. 
But Asier has not yet answered. 
 
gr. Martin			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			
				Hi Martin, 
 
I proceed with the closing of this issue. I've not been able to reproduce it again. 
 
Somehow a Synchronize Terminology in my development environment set all column names in Spanish but starting from 0 I was not able to make it fail again. 
 
Sorry for the inconveniences.			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			| 
				If someone else suffers for this strange issue, I reset my column names with the PL/SQL "RESET_COLUMN_NAMES" attached.			 | 
		 
		 
	 |