Ticket #13286 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

reordering objects broken

Reported by: tonim Owned by:
Priority: minor Milestone: 4.x
Component: General Version: 4.2
Keywords: Cc:

Description

I can reorder objects:

>>> site.moveObjectsByDelta('events', 3)
1
>>> transaction.commit()
>>> site.getObjectPosition('events')
3
>>> transaction.commit()
>>> site.moveObjectsByDelta('events', 4)
1
>>> transaction.commit()
>>> site.getObjectPosition('events')
7
>>> 

But nothing of that is reflected in the UI. If I grab the object by hand in the UI, moving works. However, this works:

>>> site.moveObjectsToTop('events')
1
>>> transaction.commit()

Further investigation reveals that the re-ordering appears to take the number of sub-objects into account (but not completely - I have ~280 objects, but len(site.getChildNodes()) == 77.

Feels wrong...

Change History

comment:1 Changed 3 years ago by kleist

  • Status changed from new to confirmed
  • Component changed from Unknown to General
Note: See TracTickets for help on using tickets.