MapGuide Open Source:  Home |  Download |  Internals

Ticket #614 (new defect)

Opened 2 months ago

Last modified 1 month ago

Selection against a joined feature source returns an extra feature

Reported by: mgluobin Assigned to:
Priority: high Milestone: 2.1
Component: General Version: 2.0.1
Severity: blocker Keywords:
Cc: brucedechant External ID:

Description

Compiling the source code from SVN trunk vesion, when doing selection against a joined feature source the 1st feature is always returned regardless of filter along with the expected results.

Change History

07/17/08 21:25:47 changed by mgluobin

  • owner changed.
  • component changed from General to Server.
  • severity changed from trivial to blocker.

using a server trunk build (3247) on windows xp, when doing querying against a joined feature in ajaxviewer , the 1st feature is always returned regardless of filter along with the expected results.

07/20/08 21:41:52 changed by mgluobin

  • owner changed.
  • component changed from Server to General.

07/21/08 08:57:09 changed by tomfukushima

  • cc set to brucedechant.

(follow-up: ↓ 5 ) 07/29/08 15:58:57 changed by brucedechant

What feature sources are you joining? What is the primary and what is the secondary? (Example: Primary=SDF Secondary=Access)

What kind of join are you doing? Inner? Outer? 1-1? 1-Many?

What does your filter look like that exhibts this issue?

(in reply to: ↑ 4 ) 07/30/08 02:56:59 changed by mgluobin

When i use the task of query in the ajaxviewer, the query result exhibts this issue. And only the attribute data of the 1st feature in query result can be listed in the attribute panel,the others can not be listed.

I use the data:

Primary=Shp Secondary= Access or mysql <RelateType?>LeftOuter?</RelateType> <ForceOneToOne?>false</ForceOneToOne>

07/30/08 17:09:41 changed by brucedechant

I cannot reproduce this with a SHP to Access join using the current trunk code. (My dataset was just sample world countries)

I used the following filter on the layer: (Key is from the primary feature source) Key >= 'CA'

It only returned Macedonia and nothing else when I entered "AC" into the query.

Can you provide the filter you are using that causes this issue?

(follow-up: ↓ 8 ) 07/30/08 17:12:08 changed by brucedechant

I need to clarify that the query I specify for the search task is: Name LIKE '%$USER_VARIABLE%'

Which is a different attribute then what the layer filter uses.

(in reply to: ↑ 7 ) 07/30/08 21:41:00 changed by mgluobin

I used the filter: FeatId? < -99999

The return result: [{"displayValue":1,"centerX":536380.15323754,"centerY":4337727.8276862,"idList":{"FeatId?":1}}]

In fact, any filter can cause this issue using the task of query in the ajaxviewer.

07/30/08 22:19:04 changed by mgluobin

Only a joined feature sources can cause this issue.