Ticket #2032 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

Removal of main content element if main content is empty

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.1
Component: CPSDesignerThemes Version: TRUNK
Severity: normal Keywords:


The main content of the page is seldom empty - unless on purpose (folder_view) to delegate the whole rendering to portlets. In general, an empty <div> is not wished in that case.

I count this as a consistency bug, hence suited for 0.3, because empty portlets slots are already removed.

Change History

comment:1 Changed 10 years ago by gracinet

Done [53853]. No test goes through renderMainContent(). Can't write it right now, but this is mandatory for 0.3 (keeping open)

comment:2 Changed 10 years ago by gracinet

  • Milestone changed from CPS 3.5.0 to CPS 3.5.1

CPS 3.5.0 will be on a 0.2.x version, that's ok.

comment:3 Changed 9 years ago by gracinet

unit test still needed here

comment:4 Changed 9 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed

Unit test done and pushed

Note: See TracTickets for help on using tickets.