ox-it / ords

Automatically exported from code.google.com/p/ords
0 stars 0 forks source link

500 Error adding new row to table #729

Closed scottbw closed 8 years ago

scottbw commented 8 years ago

Looks like JSP needs updating to use a new constructor:

An error occurred at line: 48 in the jsp file: /addNewTableRow.jsp The constructor ORDSPostgresDBUtils(String, String, OrdsUser) is undefined 45: OrdsDB database = DBGatewayProjectNode.getLogicalDatabaseByLogicalDatabaseId(Integer.parseInt(req.getParameter("lid"))); 46: EntityType et = EntityType.valueOf(req.getParameter("dt", req.PARAM_ALPHA).toUpperCase()); 47: OrdsPhysicalDatabase opd = DBGatewayProjectNode.getPhysicalDatabaseByLogicalDatabaseId(database.getLogicalDatabaseId(), et); 48: ORDSPostgresDBUtils dbUtils = new ORDSPostgresDBUtils(DBGatewayProjectNode.getHomeServerForOpd(opd), opd.getDbConsumedName(), user); 49: TableData fullTableData = (TableData) session.getAttribute("fullTableData"); 50: HashMap<String, HashMap> columnReferences = new HashMap<String, HashMap>(); 51: HashMap<String, String> tableColumnReferences = new HashMap<String, String>();

scottbw commented 8 years ago

Fixed!