Opened 9 years ago

Closed 9 years ago

#1917 closed defect (fixed)

Join WFS feature source cause ServerDescribeScheme fail

Reported by: ChristineBao Owned by: Christine Bao
Priority: medium Milestone:
Component: Feature Service Version: 2.1.0
Severity: major Keywords:
Cc: Jenny He External ID: 1443676

Description

Report from Autodesk QA:

Steps:

  1. Create one connection to WFS data.
  2. Create one join with 2 feature class in this WFS feature resource.
  3. Refresh to describe schema and feature class.

Results:
One error happened.
An exception occurred in FDO component. Schema cannot be found in the collection.

Expected results:
The schema and feature class info should be listed correctly.

Workaround: N

Regression: Y AIMS 2012 works well.

Attachments (1)

Fix1917.patch (6.4 KB) - added by ChristineBao 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by ChristineBao

This defect happens in ServerDescribeSchema?.cpp. When it addes the extension schema, it changed the schema name.
WFS is cached connection, which means it will not close connection, so next time when describe the schema, the matching cannot be found anymore, causing the defect.

To fix this problem, make a copy of the original one and added as extension schema, no change the original one.

Changed 9 years ago by ChristineBao

Attachment: Fix1917.patch added

comment:2 Changed 9 years ago by ChristineBao

Attach patch for fixing this ticket. http://trac.osgeo.org/mapguide/attachment/ticket/1917/Fix1917.patch

It fixed the above problem, meantime it removes the unnecessary setSchema/setFeatureClass code.

comment:3 Changed 9 years ago by ChristineBao

Resolution: fixed
Status: newclosed

Submit to 2.4j branch in r6441. Not submit to trunk so far.

Note: See TracTickets for help on using tickets.