Opened 15 years ago

Closed 15 years ago

#565 closed defect (fixed)

WFS: Provider does not set FeatureClass Capabilities

Reported by: gregboone Owned by: gregboone
Priority: minor Milestone: 3.5.0
Component: WFS Provider Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID: 1087759

Description (last modified by gregboone)

When constructing the WFS class definitions in FdoWfsConnection::GetSchemas(), the classes that are defined are not constructed with Class Capabilities

The following code block needs to be added to the function.

// Perform 6. Set Class capabilities
FdoPtr<FdoClassCapabilities> classCaps = classDef->GetCapabilities();
if (NULL == classCaps)
{
    // Create the class capabilities.
    classCaps = FdoClassCapabilities::Create(*classDef.p);
    classCaps->SetSupportsLocking(false);
    classCaps->SetSupportsLongTransactions(false);
    classCaps->SetSupportsWrite(false);
    
    // Set the class capabilities
    classDef->SetCapabilities(classCaps);
}

Change History (2)

comment:1 by gregboone, 15 years ago

Description: modified (diff)
Status: newassigned

comment:2 by gregboone, 15 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.