Opened 15 years ago

Last modified 14 years ago

#565 closed defect

WFS: Provider does not set FeatureClass Capabilities — at Initial Version

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

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 (0)

Note: See TracTickets for help on using tickets.