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.

Reply via email to