[mapguide][MG458][New] MgDeleteFeatures hangs server with invalid field in filterTe...

Paul Spencer pspencer at dmsolutions.ca
Mon Nov 27 22:09:59 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG458

Type
 Defect

Artifact ID
 MG458 (MgDeleteFeatures hangs server with invalid field in filterText)

Reported by
 Paul Spencer
 pagameba (pspencer at dmsolutions.ca)

New artifact details:
---------------------------------------------------------

- Target milestone set to new value
  1.1.0
- Steps to Reproduce set to new value
  I ran across this when copying the ClearDataSource function from Buffer.php ... the MgDeleteFeatures uses "ID > 0".

In my generated SDF, I only have a KEY (no ID) but I didn't change the code in ClearDataSource.

I would imagine that you can reproduce this by changing ClearDataSource in Buffer.php to reference some invalid field (say "FOO > 0") but I haven't tested that locally.
- Version set to new value
  1.0.2
- Subcomponent set to new value
  Feature Service
- Priority set to new value
  P1
- Submission Reviewed set to new value
  No
- OS Distribution and Version set to new value
  windows xp
- Status Explanation set to new value
  new bug report
- Artifact Status set to new value
  Unconfirmed
- Operating system set to new value
  All
- Platform set to new value
  All
- Summary set to new value
  MgDeleteFeatures hangs server with invalid field in filterText
- Description set to new value
  When executing an MgDeleteFeatures command with filterText that references a field that doesn't exist, the web server hangs.

I would expect it to generate an exception :)

Changing the filterText to use a valid field works as expected.
- Artifact created
- Component set to new value
  Web Server Extensions
- Defect Severity set to new value
  High

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list