can you give us a test case that reproduce the bug ? what version of JBoss Portal are you using ?
I'm using JBoss Portal 2.0 (final release). Do you want the test case in the form of a portlet war file (that I'll mail to you) or should I just post a Portlet class (and portlet.xml) in the forum that demonstrates the issue ?
the best you can provide is a sources + bin : i.e the sources + the war file so it can be tested and traced to see what's going on.
you can even go in jira and create a bug fix and attach the war file with the sources to the bug.
It has been fixed in 2.0 branch.
I have also added a test case for it.