Opened 11 years ago

Closed 11 years ago

#2299 closed defect (fixed)

Map Definition Editor: Layers under groups can auto-associate to a newly created group as you're typing the name whose prefix matches an existing group

Reported by: jng Owned by: jng
Priority: low Milestone: Maestro-4.0-maintenance
Component: Maestro Version: 2.5.0
Severity: trivial Keywords:
Cc: External ID:

Description

If you drag and drop layers into a group of a Map Definition editor, if there are layers of the same name, for reasons currently unknown, they are also moved into this group.

Consider this layer/group structure

  • Foo
    • Layer 1
    • Layer 2
    • Layer 3
  • Bar

If you drag/drop in [Layer 1/Layer 2/Layer 3] into the "Bar" folder, the existing [Layer 1/Layer 2/Layer 3] are moved into this folder as well. The result currently looks like this:

  • Foo
  • Bar
    • Layer 1
    • Layer 2
    • Layer 3
    • Layer 10
    • Layer 20
    • Layer 30

It should be like this:

  • Foo
    • Layer 1
    • Layer 2
    • Layer 3
  • Bar
    • Layer 10
    • Layer 20
    • Layer 30

Change History (6)

comment:1 by jng, 11 years ago

Component: GeneralMaestro
Milestone: Maestro-5.0
Owner: set to jng

comment:2 by jng, 11 years ago

Resolution: worksforme
Status: newclosed

Hmm strange. Can't reproduce this.

comment:3 by jng, 11 years ago

Resolution: worksforme
Status: closedreopened

I can reproduce this now.

The problem is that if you have a group "Foo" and then you try to create another empty group "Foo1", the moment you type "Foo", all of the layers under "Foo" will then auto-associate themselves with whatever name you continue to type, thus ending up under the group "Foo1"

comment:4 by jng, 11 years ago

Summary: Drag/Drop layers into Map Definition editor improperly handledMap Definition Editor: Layers under groups can auto-associate to a newly created group as you're typing the name whose prefix matches an existing group

comment:5 by jng, 11 years ago

Milestone: Maestro-5.0Maestro-4.0-maintenance

comment:6 by jng, 11 years ago

Resolution: fixed
Status: reopenedclosed

Fixed trunk (r7647) and 4.0.x (r7679)

Note: See TracTickets for help on using tickets.