You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Mark Lundquist (JIRA)" <ji...@apache.org> on 2008/03/01 02:53:51 UTC

[jira] Created: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

ImageOp resize effect has broken/useless default dimensions
-----------------------------------------------------------

                 Key: COCOON-2169
                 URL: https://issues.apache.org/jira/browse/COCOON-2169
             Project: Cocoon
          Issue Type: Bug
          Components: Blocks: (Undefined)
    Affects Versions: 2.1.11, 2.1.10, 2.1.9, 2.1.8, 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
            Reporter: Mark Lundquist
            Priority: Minor


Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.

I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Alfred Nathaniel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alfred Nathaniel reassigned COCOON-2169:
----------------------------------------

    Assignee: Alfred Nathaniel

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2
>            Reporter: Mark Lundquist
>            Assignee: Alfred Nathaniel
>            Priority: Minor
>         Attachments: smime.p7s
>
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Alfred Nathaniel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alfred Nathaniel updated COCOON-2169:
-------------------------------------

    Status: Continued  (was: On Hold)

OK, got it now.

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2
>            Reporter: Mark Lundquist
>            Assignee: Alfred Nathaniel
>            Priority: Minor
>         Attachments: smime.p7s
>
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Alfred Nathaniel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alfred Nathaniel updated COCOON-2169:
-------------------------------------

    Status: On Hold  (was: Continued)

Fix for 2.1: http://svn.apache.org/viewvc?rev=674973&view=rev
Fix for 2.2: http://svn.apache.org/viewvc?rev=674971&view=rev

Please check and close issue.

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2
>            Reporter: Mark Lundquist
>            Assignee: Alfred Nathaniel
>            Priority: Minor
>         Attachments: smime.p7s
>
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Alfred Nathaniel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alfred Nathaniel updated COCOON-2169:
-------------------------------------

    Status: On Hold  (was: Open)

I can't quite follow you.  What is the special behaviour of zero values you would like to inherit by leaving out the parameters?

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2
>            Reporter: Mark Lundquist
>            Priority: Minor
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Mark Lundquist (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Lundquist updated COCOON-2169:
-----------------------------------

                    Component/s:     (was: Blocks: (Undefined))
                                 Blocks: ImageOp
    Affects version (Component): Parent values: Blocks: ImageOp(10334). 
        Fix version (Component): Parent values: Blocks: ImageOp(10336). 

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
>            Reporter: Mark Lundquist
>            Priority: Minor
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Mark Lundquist (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Lundquist updated COCOON-2169:
-----------------------------------

    Attachment: smime.p7s

height = 0, width > 0 :: set width as given and scale uniformly
height > 0, width = 0 :: set height as given and scale uniformly
height = 0, width = 0 :: pass image through without change






> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2
>            Reporter: Mark Lundquist
>            Priority: Minor
>         Attachments: smime.p7s
>
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

Posted by "Mark Lundquist (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610665#action_12610665 ] 

Mark Lundquist commented on COCOON-2169:
----------------------------------------

Slight correction/clarification: the behavior described for height and width both zero is only obtained if COCOON-2177 is fixed :-)

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2
>            Reporter: Mark Lundquist
>            Priority: Minor
>         Attachments: smime.p7s
>
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.