- Timestamp:
- Dec 12, 2017, 4:09:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/response_print.c
r854 r860 2465 2465 else 2466 2466 exceptionCode="501 Internal Server Error"; 2467 2467 tmp=getMapFromMaps(m,"lenv","status_code"); 2468 if(tmp!=NULL) 2469 exceptionCode=tmp->value; 2468 2470 if(m!=NULL){ 2469 2471 map *tmpSid=getMapFromMaps(m,"lenv","sid"); … … 2605 2607 void outputResponse(service* s,maps* request_inputs,maps* request_outputs, 2606 2608 map* request_inputs1,int cpid,maps* m,int res){ 2607 2608 2609 #ifdef DEBUG 2609 2610 dumpMaps(request_inputs); … … 2659 2660 } 2660 2661 } 2661 2662 2662 if(res==SERVICE_FAILED){ 2663 2663 map *lenv; … … 2718 2718 toto=getMap(tmpI->content,"asReference"); 2719 2719 #ifdef USE_MS 2720 2720 restartNoMS: 2721 2721 map* geodatatype=getMap(tmpI->content,"geodatatype"); 2722 2722 … … 2778 2778 2779 2779 toto=getMap(tmpI->content,"value"); 2780 if(toto==NULL){ 2781 char tmpMsg[1024]; 2782 sprintf(tmpMsg,_("No value found for the requested output %s."),tmpI->name); 2783 errorException(m,tmpMsg,"InternalError",NULL); 2784 fclose(ofile); 2785 free(file_name); 2786 free(file_path); 2787 return; 2788 } 2780 2789 if(strcasecmp(format,"BoundingBoxData")!=0){ 2781 2790 map* size=getMap(tmpI->content,"size");
Note: See TracChangeset
for help on using the changeset viewer.