Opened 17 years ago
Last modified 16 years ago
#2312 closed defect
WMS GetCapabilities w/Nested Groups — at Version 1
Reported by: | jimk | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 5.0.1 release |
Component: | WMS Server | Version: | 5.0 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
It looks like the previous seg-fault has been fixed but it looks like the fix introduced another bug. The problem is the </layer> tags are closing late in the getCapabilities request. The following patch against r6849 fixes it for me.
Index: mapwms.c =================================================================== --- mapwms.c (revision 6849) +++ mapwms.c (working copy) @@ -1423,7 +1423,7 @@ return MS_FALSE; } /* compare all groups below the current level */ - for (i = 0; i < currentLevel; i++) + for (i = 0; i <= currentLevel; i++) { if (strncmp(currentGroups[i], otherGroups[i], strlen(currentGroups[i])) != 0) {
Note:
See TracTickets
for help on using tickets.
Checking...