You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Yuriy Yarovoy (JIRA)" <ji...@apache.org> on 2012/10/16 19:03:03 UTC
[jira] [Created] (FLEX-33219) Code error: assigning value to a
local constant
Yuriy Yarovoy created FLEX-33219:
------------------------------------
Summary: Code error: assigning value to a local constant
Key: FLEX-33219
URL: https://issues.apache.org/jira/browse/FLEX-33219
Project: Apache Flex
Issue Type: Bug
Components: Spark: Grid
Affects Versions: Apache Flex Next
Reporter: Yuriy Yarovoy
Priority: Minor
There are two code errors in the GridSelection (https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as) class:
1) at line 1378 new value is assigning to the the constant newRowIndex by using postfix decrement
2) the same problem is at 1638 line with the constant newColumnIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FLEX-33219) Code error: assigning value to a
local constant
Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carol Frampton resolved FLEX-33219.
-----------------------------------
Resolution: Fixed
Fix Version/s: Adobe Flex SDK Next
Author: cframpton
Date: Tue Oct 16 19:14:21 2012
New Revision: 1398932
URL: http://svn.apache.org/viewvc?rev=1398932&view=rev
Log:
FLEX-33219. Fix incorrect use of constants although constants really aren't constants and the code did work as expected.
Modified:
incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
> Code error: assigning value to a local constant
> -----------------------------------------------
>
> Key: FLEX-33219
> URL: https://issues.apache.org/jira/browse/FLEX-33219
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Grid
> Affects Versions: Apache Flex Next
> Reporter: Yuriy Yarovoy
> Assignee: Carol Frampton
> Priority: Minor
> Labels: patch
> Fix For: Adobe Flex SDK Next
>
> Attachments: GridSelection.patch
>
>
> There are two code errors in the GridSelection (https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as) class:
> 1) at line 1378 new value is assigning to the the constant newRowIndex by using postfix decrement
> 2) the same problem is at 1638 line with the constant newColumnIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (FLEX-33219) Code error: assigning value to a
local constant
Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carol Frampton reassigned FLEX-33219:
-------------------------------------
Assignee: Carol Frampton
> Code error: assigning value to a local constant
> -----------------------------------------------
>
> Key: FLEX-33219
> URL: https://issues.apache.org/jira/browse/FLEX-33219
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Grid
> Affects Versions: Apache Flex Next
> Reporter: Yuriy Yarovoy
> Assignee: Carol Frampton
> Priority: Minor
> Labels: patch
> Attachments: GridSelection.patch
>
>
> There are two code errors in the GridSelection (https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as) class:
> 1) at line 1378 new value is assigning to the the constant newRowIndex by using postfix decrement
> 2) the same problem is at 1638 line with the constant newColumnIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLEX-33219) Code error: assigning value to a
local constant
Posted by "Yuriy Yarovoy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477356#comment-13477356 ]
Yuriy Yarovoy commented on FLEX-33219:
--------------------------------------
Thank you, Carol!
> Code error: assigning value to a local constant
> -----------------------------------------------
>
> Key: FLEX-33219
> URL: https://issues.apache.org/jira/browse/FLEX-33219
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Grid
> Affects Versions: Apache Flex Next
> Reporter: Yuriy Yarovoy
> Assignee: Carol Frampton
> Priority: Minor
> Labels: patch
> Fix For: Adobe Flex SDK Next
>
> Attachments: GridSelection.patch
>
>
> There are two code errors in the GridSelection (https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as) class:
> 1) at line 1378 new value is assigning to the the constant newRowIndex by using postfix decrement
> 2) the same problem is at 1638 line with the constant newColumnIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLEX-33219) Code error: assigning value to a
local constant
Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477272#comment-13477272 ]
Carol Frampton commented on FLEX-33219:
---------------------------------------
Sorry I just realized I forgot to attribute the fix to you in the commit message so I went back and edited it to add your name.
> Code error: assigning value to a local constant
> -----------------------------------------------
>
> Key: FLEX-33219
> URL: https://issues.apache.org/jira/browse/FLEX-33219
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Grid
> Affects Versions: Apache Flex Next
> Reporter: Yuriy Yarovoy
> Assignee: Carol Frampton
> Priority: Minor
> Labels: patch
> Fix For: Adobe Flex SDK Next
>
> Attachments: GridSelection.patch
>
>
> There are two code errors in the GridSelection (https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as) class:
> 1) at line 1378 new value is assigning to the the constant newRowIndex by using postfix decrement
> 2) the same problem is at 1638 line with the constant newColumnIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FLEX-33219) Code error: assigning value to a
local constant
Posted by "Yuriy Yarovoy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuriy Yarovoy updated FLEX-33219:
---------------------------------
Attachment: GridSelection.patch
I've attached a little patch for fixing this error.
> Code error: assigning value to a local constant
> -----------------------------------------------
>
> Key: FLEX-33219
> URL: https://issues.apache.org/jira/browse/FLEX-33219
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Grid
> Affects Versions: Apache Flex Next
> Reporter: Yuriy Yarovoy
> Priority: Minor
> Labels: patch
> Attachments: GridSelection.patch
>
>
> There are two code errors in the GridSelection (https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as) class:
> 1) at line 1378 new value is assigning to the the constant newRowIndex by using postfix decrement
> 2) the same problem is at 1638 line with the constant newColumnIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira