Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #41252 All Revisions ] Back to Issue ]
Summary 0041252: ReportGeneralLedgerJournal.getDocuments is not using bind-params
Revision 2019-07-03 16:51 by shuehner
Description This function is not using bind-parameters for 2 Organization id's lists here:

      whereClause.append(DocumentType.PROPERTY_ORGANIZATION + ".id");
      whereClause.append(" in (" + Utility.getInStrSet(orgStrct) + ")");
      whereClause.append(" and ca." + AcctSchemaTable.PROPERTY_ORGANIZATION + ".id");
      whereClause.append(" in (" + Utility.getInStrSet(orgStrct) + ")");
      whereClause.append(" order by cd." + DocumentType.PROPERTY_DOCUMENTCATEGORY);

When fixing please apply new HQL-style to every HQL in this file.
Revision 2019-07-03 16:49 by shuehner
Description This function is not using bind-parameters for 2 Organization id's lists here:

      whereClause.append(DocumentType.PROPERTY_ORGANIZATION + ".id");
      whereClause.append(" in (" + Utility.getInStrSet(orgStrct) + ")");
      whereClause.append(" and ca." + AcctSchemaTable.PROPERTY_ORGANIZATION + ".id");
      whereClause.append(" in (" + Utility.getInStrSet(orgStrct) + ")");
      whereClause.append(" order by cd." + DocumentType.PROPERTY_DOCUMENTCATEGORY);


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker