| MNU_USER Incorrect Columns Spec and Cannot Re-Import [message #5901] | 
			Wed, 28 September 2016 17:51   | 
		 
		
			
				
				
				
					
						  
						kong
						 Messages: 90 Registered: December 2011 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Noticed that starting from v1.95, mnu_user.dict.inc file shows: 
$fieldspec['user_name']                 = array('type' => 'string',
                                                    'size' => 30);
    
$fieldspec['user_password']             = array('type' => 'string',
                                                    'size' => 16,
                                                    'password' => 'y',
                                                    'nosearch' => 'y',
                                                    'noaudit' => 'y'); 
Up till version v1.94 these used to be required fields. The database schema too showed that these should be required fields.  
So, the first bug: Application crash whenever new user added without populating these fields, because the 'required' validation rule did not kick in. 
 
Then, when tried to re-import MNU_USER table's columns in DICT module of v1.97 in the hope of correcting menu_user.dict.inc file, the column import function did not make 'user_name' and 'user_password' fields 'required'. So, that is the second problem: Columns import does not work for table MNU_USER. 
 
Not sure these are related or not. 
 
		
		
		[Updated on: Wed, 28 September 2016 22:25] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |