Bug #2612
closed
  
    
    
  
table field defaults not set from xml files through myami setup wizard
 
        
        Added by Anchi Cheng almost 12 years ago.
        Updated almost 8 years ago.
        
Affected Version:
Appion/Leginon 3.0.0
 
 
  
  
  
  Description
  
  For example, project database projects table field hidden should have default value of 0
   
 
 
  
  
    
    
    
    More than one bug causes this:
	1. inc/xmlapplicationimport.inc does not include default in its sql construct.
	2. Both of these forms exist in xml files.
default = "0" 
and
default = "DEFAULT '0' " 
The former gives no default sql construct, the latter does because empty() function is used in the cause.
	
3. CURRENT_TIMESTAMP should not be quoted in the sql script constructed.
 
     
   
  
  
    
    
    
    
       - Status changed from Assigned to In Code Review
 
       - Assignee changed from Anchi Cheng to Amber Herold
 
       - Target version set to Appion/Leginon 3.0.0
 
    
    r18034 and r18035 adds these.  Need to merge to 3.0 branch
 
     
   
  
  
    
    
    
    
       - Status changed from In Code Review to In Test
 
       - Assignee changed from Amber Herold to Anchi Cheng
 
    
    Good find. Go ahead and merge.
 
     
   
  
  
    
    
    
    
       - Status changed from In Test to Closed
 
    
    
     
   
  
 
  
  
 
Also available in:  Atom
  PDF