Changeset 16006
- Timestamp:
- 2008-06-13T15:28:41+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/dynamicclassifieraction.cpp
r16004 r16006 215 215 ostream &textout, ostream &logout) 216 216 { 217 text_t arg_dcn = args["dcn"]; 218 text_t classifier_node_OID = arg_dcn; 219 text_t classifier_node_metadata_value = arg_dcn; 217 text_t classifier_node_OID = classifier_options["current_position"]; 218 text_t classifier_node_metadata_value = classifier_options["current_position"]; 220 219 int node_indent = 0; 221 220 … … 230 229 get_documents_with_metadata_value (metadata_element_name, classifier_node_metadata_value, "dls.Title", args["c"], collectproto, document_OIDs_response, logout); 231 230 232 // Check there are some classifier nodes or some documents at this level, otherwise the "dcn" argument was invalid231 // If there are no classifier nodes or documents at this level then the classifier node value is invalid 233 232 if (metadata_values_response.docInfo.empty() && document_OIDs_response.docInfo.empty()) 234 233 { 235 textout << outconvert << disp << "Error: Invalid dcn value \"" << arg_dcn<< "\".\n";234 textout << outconvert << disp << "Error: Invalid classifier node \"" << classifier_node_OID << "\".\n"; 236 235 return; 237 236 }
Note:
See TracChangeset
for help on using the changeset viewer.