PDA

View Full Version : This parameter value is of an invalid value



pitoniakm
03-08-2012, 02:05 PM
greetings,

i am using pentaho to access a mysql database, and am using a drop down display type parameter to present the values of a table column.
it works, yet the UI displays the This parameter value is of an invalid value when the report is run, and the use first value as default choice is ignore.
once a selection is made all is well. why does the form come up with an error, yet it works there after. i have played with all value types to no avail.

i am using 3.8.3 GA release

many thanks,

mike

pitoniakm
03-08-2012, 03:13 PM
upon further analysis what appears to be happening is that the "use first value as default"
is being ignored, and the validation error is from the drop down default selection being empty...
how do i get the drop down to select the first element by default?

thx

Taqua
03-09-2012, 07:42 AM
If your first selection is empty, then that is your first value. First value does not say: First value that is not empty, it just says: Take the first entry of the list of available options.

Btw: If you have a empty selection as valid option, then why did you mark the parameter as "mandatory"?

slawomir.chodnicki
03-09-2012, 10:33 AM
Hey there,

maybe that case is related to the problem?

http://jira.pentaho.com/browse/PRD-3662

Cheers
Slawo