[mapguide-internals] Re: Plus sign (+) in the middle of the ID
jason at jasonbirch.com
Fri Aug 6 18:17:08 EDT 2010
It would be incredibly useful if you could create an MGP that includes an
SDF with just enough features to display the problem, a layer, and a map
displaying the features, along with the code snippet which exercises the
problem, and attach these all to a new defect report:
Ideally, you'd be able to test against the 2.2 beta first, since 2.0.2 is
getting long in the tooth and it's quite possible that this problem has been
addressed in the meantime, either explicitly or incidentally.
On 6 August 2010 14:31, teymeny <teymeny at gmail.com> wrote:
> Thanks for the reply.
> Well, I'm using the MapGuide Opensource 220.127.116.1111, with the Ajax viewer.
> I believe the space is not the problem, becouse the selection XML has the
> "plus sign" on the server side (I'm using the Java API to develop the
> application). When I do run this code:
> MgMap map = new MgMap();
> map.Open(resourceSrvc, MAP_NAME);
> MgSelection selection = new MgSelection(map, selectionXML);
> the selection returns nothing. It does generate any errors. Just doesn't
> return anything! If I have more elements at the selection, like:
> <?xml version="1.0" encoding="UTF-8"?>
> <Layer id="a7a48890-ffff-ffff-8000-0023aeb7984e">
> <Class id="KingOra:SICAF_PROJETO~INSTALACAO~GEO_LOCALIZACAO">
> <Layer id="a7a6ab70-ffff-ffff-8000-0023aeb7984e">
> <Class id="KingOra:SICAF_PROJETO~SEGMENTO~GEO_GEOMETRIA">
> <Layer id="a7a83210-ffff-ffff-8000-0023aeb7984e">
> <Class id="KingOra:SICAF_PROJETO~POSTE_CEMIG~GEO_LOCALIZACAO">
> All others features returns with no problem. Only the feature with the plus
> sign in the ID is missing from the result selection.
> I don't know if I can give you more details about the situation that lead
> this error, but I was able to find out that if I change the primary key
> value for the feature with the plus sign the generated ID is changed, and
> the new ID doesn't have the +, thus this problem doesn't happen. But if I
> change back the value, it happens again.
> If there's any more information that I can give you, let me know.
> Thanks again.
> View this message in context:
> Sent from the MapGuide Internals mailing list archive at Nabble.com.
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
More information about the mapguide-internals