Opened 15 years ago

Last modified 15 years ago

#565 closed defect

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

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

comment:1 by gregboone, 15 years ago

Description: modified (diff)
Status: newassigned
Note: See TracTickets for help on using tickets.