Project

General

Profile

Actions

Bug #2612

closed

table field defaults not set from xml files through myami setup wizard

Added by Anchi Cheng almost 11 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Start date:
12/30/2013
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.0.0
Show in known bugs:
No
Workaround:

Description

For example, project database projects table field hidden should have default value of 0

Actions #1

Updated by Anchi Cheng almost 11 years ago

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.

Actions #2

Updated by Anchi Cheng almost 11 years ago

  • 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

Actions #3

Updated by Amber Herold almost 11 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Amber Herold to Anchi Cheng

Good find. Go ahead and merge.

Actions #4

Updated by Anchi Cheng almost 7 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF