FLUID-1888: ModuleLayout is not properly responsive to calls to refresh()

Metadata

Source
FLUID-1888
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2008-12-02T12:58:37.000-0500
Updated
2008-12-12T13:25:02.000-0500
Versions
  1. 0.6beta1
Fixed Versions
  1. 0.6
Component
  1. Reorderer

Description

Report from the IRC channels (athena7 from uPortal) - when using the ModuleLayout, a call to "refresh" does not allow a new column to be recognised. Setup was as follows:

var options = {
selectors: {
columns: ".portal-page-column-inner",
modules: ".portlet-container",
lockedModules: ".locked",
dropWarning: "#portalDropWarning",
grabHandle: "[id*=toolbar_]"
},
listeners: {
afterMove: movePortlet
},
styles: {
mouseDrag: "orderable-dragging-mouse"
}
};

The base issue is that the ModuleLayout "constructor" does not "automate-ahead" the construction of its private "layout" object from the raw materials, and does not even expose it as public to allow these alterations to be effected manually.

Comments

  • Justin Obara commented 2008-12-03T12:06:26.000-0500

    Bug Parade 0.6 release

  • Antranig Basman commented 2008-12-10T13:55:04.000-0500

    Fixed at revision 6183

    "layout" property is now exposed via layoutHandler reference (also tested)
    new Reorderer event "onRefresh"

  • Michelle D'Souza commented 2008-12-12T12:34:10.000-0500

    I reviewed the code and athena7 reviewed the functionality. Both look fine.