You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by je...@jakarta.apache.org on 2004/09/20 17:07:37 UTC

[jira] Created: (JS1-519) Exception when used 'Enhanced ...' controllers

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-519

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-519
    Summary: Exception when used 'Enhanced ...' controllers
       Type: Bug

     Status: Unassigned
   Priority: Trivial

    Project: Jetspeed
 Components: 
             Distribution
   Versions:
             1.5

   Assignee: 
   Reporter: Jose M Gutiérrez

    Created: Mon, 20 Sep 2004 8:07 AM
    Updated: Mon, 20 Sep 2004 8:07 AM
Environment: Windows 2000, Tomcat 4.0.4

Description:
Method applyModelChanges in class org.apache.jetspeed.modules.actions.controllers.XMultiColumnControllerAction: it is not checked that the variable 'moves' might be null.

When no portlet is moved in the pane customize (in case controller are 'Enhanced ...') the parameter 'modelChangeList' contains an array with 1 element that contains an array with 0 elements.


        String[] modelChangeList = request.getParameterValues("modelChangeList");
        if (modelChangeList != null)
        {
            String[] moves = StringUtils.stringToArray(modelChangeList[0], ";"); // 'moves' is equals to null

            SessionState customizationState = ((JetspeedRunData) data).getPageSessionState();
            List[] columns = (List[]) customizationState.getAttribute("customize-columns");

            for (int i = 0; i < moves.length; i++) // launching a NullPointerException
            {



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


[jira] Resolved: (JS1-519) Exception when used 'Enhanced ...' controllers

Posted by je...@jakarta.apache.org.
Message:

   The following issue has been resolved as FIXED.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-519

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-519
    Summary: Exception when used 'Enhanced ...' controllers
       Type: Bug

     Status: Resolved
   Priority: Trivial
 Resolution: FIXED

    Project: Jetspeed
 Components: 
             Distribution
   Fix Fors:
             1.6-dev
   Versions:
             1.5

   Assignee: 
   Reporter: Jose M Gutiérrez

    Created: Mon, 20 Sep 2004 8:07 AM
    Updated: Tue, 12 Oct 2004 8:14 AM
Environment: Windows 2000, Tomcat 4.0.4

Description:
Method applyModelChanges in class org.apache.jetspeed.modules.actions.controllers.XMultiColumnControllerAction: it is not checked that the variable 'moves' might be null.

When no portlet is moved in the pane customize (in case controller are 'Enhanced ...') the parameter 'modelChangeList' contains an array with 1 element that contains an array with 0 elements.


        String[] modelChangeList = request.getParameterValues("modelChangeList");
        if (modelChangeList != null)
        {
            String[] moves = StringUtils.stringToArray(modelChangeList[0], ";"); // 'moves' is equals to null

            SessionState customizationState = ((JetspeedRunData) data).getPageSessionState();
            List[] columns = (List[]) customizationState.getAttribute("customize-columns");

            for (int i = 0; i < moves.length; i++) // launching a NullPointerException
            {



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


[jira] Commented: (JS1-519) Exception when used 'Enhanced ...' controllers

Posted by je...@jakarta.apache.org.
The following comment has been added to this issue:

     Author: Robin Antony
    Created: Mon, 27 Sep 2004 5:34 AM
       Body:
Just checkout the latest source code from CVS. It already has the resolved patch in it.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JS1-519?page=comments#action_53438

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-519

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-519
    Summary: Exception when used 'Enhanced ...' controllers
       Type: Bug

     Status: Unassigned
   Priority: Trivial

    Project: Jetspeed
 Components: 
             Distribution
   Versions:
             1.5

   Assignee: 
   Reporter: Jose M Gutiérrez

    Created: Mon, 20 Sep 2004 8:07 AM
    Updated: Mon, 27 Sep 2004 5:34 AM
Environment: Windows 2000, Tomcat 4.0.4

Description:
Method applyModelChanges in class org.apache.jetspeed.modules.actions.controllers.XMultiColumnControllerAction: it is not checked that the variable 'moves' might be null.

When no portlet is moved in the pane customize (in case controller are 'Enhanced ...') the parameter 'modelChangeList' contains an array with 1 element that contains an array with 0 elements.


        String[] modelChangeList = request.getParameterValues("modelChangeList");
        if (modelChangeList != null)
        {
            String[] moves = StringUtils.stringToArray(modelChangeList[0], ";"); // 'moves' is equals to null

            SessionState customizationState = ((JetspeedRunData) data).getPageSessionState();
            List[] columns = (List[]) customizationState.getAttribute("customize-columns");

            for (int i = 0; i < moves.length; i++) // launching a NullPointerException
            {



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


[jira] Updated: (JS1-519) [FIX] Exception when used 'Enhanced ...' controllers

Posted by "Jeremy Ford (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS1-519?page=all ]

Jeremy Ford updated JS1-519:
----------------------------

    Summary: [FIX] Exception when used 'Enhanced ...' controllers  (was: Exception when used 'Enhanced ...' controllers)

> [FIX] Exception when used 'Enhanced ...' controllers
> ----------------------------------------------------
>
>          Key: JS1-519
>          URL: http://issues.apache.org/jira/browse/JS1-519
>      Project: Jetspeed
>         Type: Bug
>   Components: Distribution
>     Versions: 1.5
>  Environment: Windows 2000, Tomcat 4.0.4
>     Reporter: Jose M Gutiérrez
>     Priority: Trivial
>      Fix For: 1.6-dev

>
> Method applyModelChanges in class org.apache.jetspeed.modules.actions.controllers.XMultiColumnControllerAction: it is not checked that the variable 'moves' might be null.
> When no portlet is moved in the pane customize (in case controller are 'Enhanced ...') the parameter 'modelChangeList' contains an array with 1 element that contains an array with 0 elements.
>         String[] modelChangeList = request.getParameterValues("modelChangeList");
>         if (modelChangeList != null)
>         {
>             String[] moves = StringUtils.stringToArray(modelChangeList[0], ";"); // 'moves' is equals to null
>             SessionState customizationState = ((JetspeedRunData) data).getPageSessionState();
>             List[] columns = (List[]) customizationState.getAttribute("customize-columns");
>             for (int i = 0; i < moves.length; i++) // launching a NullPointerException
>             {

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS1-519) Exception when used 'Enhanced ...' controllers

Posted by je...@jakarta.apache.org.
The following comment has been added to this issue:

     Author: Jaq Marit
    Created: Mon, 20 Sep 2004 11:16 PM
       Body:
This has been fixed in JS1.6-dev
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JS1-519?page=comments#action_53272

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-519

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-519
    Summary: Exception when used 'Enhanced ...' controllers
       Type: Bug

     Status: Unassigned
   Priority: Trivial

    Project: Jetspeed
 Components: 
             Distribution
   Versions:
             1.5

   Assignee: 
   Reporter: Jose M Gutiérrez

    Created: Mon, 20 Sep 2004 8:07 AM
    Updated: Mon, 20 Sep 2004 11:16 PM
Environment: Windows 2000, Tomcat 4.0.4

Description:
Method applyModelChanges in class org.apache.jetspeed.modules.actions.controllers.XMultiColumnControllerAction: it is not checked that the variable 'moves' might be null.

When no portlet is moved in the pane customize (in case controller are 'Enhanced ...') the parameter 'modelChangeList' contains an array with 1 element that contains an array with 0 elements.


        String[] modelChangeList = request.getParameterValues("modelChangeList");
        if (modelChangeList != null)
        {
            String[] moves = StringUtils.stringToArray(modelChangeList[0], ";"); // 'moves' is equals to null

            SessionState customizationState = ((JetspeedRunData) data).getPageSessionState();
            List[] columns = (List[]) customizationState.getAttribute("customize-columns");

            for (int i = 0; i < moves.length; i++) // launching a NullPointerException
            {



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org