if (votes != null && votes.size() > 0 ) {
m_log.debug("Poll has " + votes.size() + " votes");
UIBranchContainer errorRow = UIBranchContainer.make(tofill,"error-row:", "0");
UIMessage.make(errorRow,"error", "warn_poll_has_votes");
}
<BUG>List options = poll.getPollOptions();
</BUG>
for (int i = 0; i < options.size(); i++){
Option o = (Option)options.get(i);
UIBranchContainer oRow = UIBranchContainer.make(actionBlock,"options-row:",o.getOptionId().toString());

if (votes != null && votes.size() > 0 ) {
m_log.debug("Poll has " + votes.size() + " votes");
UIBranchContainer errorRow = UIBranchContainer.make(tofill,"error-row:", "0");
UIMessage.make(errorRow,"error", "warn_poll_has_votes");
}
List<Option> options = poll.getPollOptions();
for (int i = 0; i < options.size(); i++){
Option o = (Option)options.get(i);
UIBranchContainer oRow = UIBranchContainer.make(actionBlock,"options-row:",o.getOptionId().toString());
