jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Community Mapbuilder
  • MAP-499

Adding a layer to an OWS Context fails in certain cases

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: In Progress In Progress
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: trunk
  • Fix Version/s: trunk
  • Component/s: mapbuilder-lib
  • Labels:
    None

Description

When adding a layer to an OWS Context it fails if the following condition has been met:

  • the layer must have a NS in the nodeName (like: <wmc:Layer..>...</wmc:Layer>

The failure is due to the fact that the new layer is added in addLayer() to the parentNode before that method checks if that layer already exists. If found, the layer gets removed instantly.

Fixing this bug will show another bug: the testing whether the layer already exists in the context does not work properly: it will always add the new layer. I will fix this early next week unless someone beats me to it.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Roald de Wit added a comment - 21/Feb/08 12:03 AM

Fixed in r3864. Will leave it open to have more eyes look at this bug.
Can be closed when layer duplication bug (mentioned above) is fixed as well.

Show
Roald de Wit added a comment - 21/Feb/08 12:03 AM Fixed in r3864. Will leave it open to have more eyes look at this bug. Can be closed when layer duplication bug (mentioned above) is fixed as well.

People

  • Assignee:
    markus innerebner
    Reporter:
    Roald de Wit
Vote (0)
Watch (1)

Dates

  • Created:
    21/Feb/08 12:00 AM
    Updated:
    30/Jul/08 6:11 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.