Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-26496

Cannot retrieve vote for poll using poll-vote Entity Provider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.7.1, 2.8.0
    • Component/s: Polls
    • Labels:
      None
    • Previous Issue Keys:
      SAK-18871, POLL-76

      Description

      Performing a GET on /direct/poll-vote/99999.json throws a HibernateException:

      HTTP Status 500 - Direct request failure: HibernateQueryException:could not resolve property: voteId of: org.sakaiproject.poll.model.Vote; nested exception is org.hibernate.QueryException: could not resolve property: voteId of: org.sakaiproject.poll.model.Vote:

      There is a mismatch between the Vote id property name and the one given to Hibernate to retrieve the Vote.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    dhorwitz David Horwitz
                    Reporter:
                    steve.swinsburg Steve Swinsburg
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration