Changeset 658


Ignore:
Timestamp:
09/21/14 16:59:48 (3 years ago)
Author:
jls17
Message:
  • fixed a crash in case a webservice isn't attached to any form
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_312/doc/DocWebserviceDetails.cpp

    r540 r658  
    124124        { 
    125125                const ARReferenceList& refs = this->ws.GetContent(); 
    126                 CARSchema wsOwnerSchema(ws.GetOwnerObjects().ownerObjList[0].ownerName); 
     126                CARSchema wsOwnerSchema; 
     127 
     128                const ARContainerOwnerObjList &wsOwners = ws.GetOwnerObjects(); 
     129                if (wsOwners.numItems > 0) 
     130                { 
     131                        wsOwnerSchema = CARSchema(wsOwners.ownerObjList[0].ownerName); 
     132                } 
    127133 
    128134                for(unsigned int i=0; i< refs.numItems; i++) 
Note: See TracChangeset for help on using the changeset viewer.