~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/controllers/parserxmlenglish.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-01-09 07:37:09 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20140109073709-rpuh5x3p3finvtze
Tags: 3.6.0.1228.33+dfsg-1
New upstream release [December 2013]

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
                }               
343
343
        }
344
344
 
 
345
        modelo->GlobalVariables.InsertVariable(GKDI_HCE_ID, "defaultHCE");
 
346
 
345
347
        //recorremos los hijos de las gnkworkflows
346
348
        for (wxXmlNode* hijo = nodo->GetChildren(); hijo != NULL; hijo = hijo->GetNext()) {
347
349
                //files...
459
461
                                LOG_DEBUG("ParserXMLEnglish","application id unespecified, using \"defaultHCE\"");
460
462
                                modelo->GlobalVariables.InsertVariable(GKDI_HCE_ID, "defaultHCE");
461
463
                        }
462
 
                } else {
463
 
                        LOG_DEBUG("ParserXMLEnglish","application id unespecified, using \"defaultHCE\"");
464
 
                        modelo->GlobalVariables.InsertVariable(GKDI_HCE_ID, "defaultHCE");
465
 
                }
 
464
                } 
466
465
 
467
466
                if (hijo->GetName().CmpNoCase(wxT("metadata")) == 0) {
468
467
                        std::string codigo;
545
544
                        LOG_DEBUG("ParserXMLEnglish", "\"petition-id\" attribute not specified");
546
545
                }
547
546
        } else if (modelo->accion == GIL::IModeloIntegracion::TA_Obtener) {
548
 
                if (modelo->TagsDICOMOverwrite.tags.empty()) {
 
547
                if (modelo->TagsDICOMOverwrite.tags.empty() && modelo->Files.empty()) {
549
548
                        throw IntegrationException(_Std("You must specify attributes you want to use in the query"), xpp, "CONF/template");
550
549
                }
551
550
        }