Creating view lines not working in Smart Browser

Description

1.- Log in as as SystemAdministrator. Create a View entry and create view columns.
2.- Create a Smart Browser entry, select the view and save.
3.- In the SB, execute "Create Fields"
4.- The fields are not created.

Reason; in method MView.getViewColumns(), an array is created and asked if not null. This will always return an empty m_ViewColumn.

m_ViewColumn = new ArrayList<MViewColumn>();
if(m_ViewColumn != null)
return m_ViewColumn;

The code should be as follows:
if(m_ViewColumn!=null && !m_ViewColumn.isEmpty())
return m_ViewColumn;

m_ViewColumn = new ArrayList<MViewColumn>();

See attachment.

Best regards,
Mario Calderon

Environment

DEVELOPMENT Branch, Changeset 7172:48b362f390dd of MView.java

Status

Assignee

Unassigned

Reporter

Mario Calderon

Labels

None

Time tracking

12m

Components

Affects versions

Priority

Major
Configure