RDN-1210
1

Poll Closed when trying to vote

Scott on 9/28/2015 1:48 PM

Scott on 1/11/2016 6:13 AM

%
(hrs)
Logged

0 (hrs)


 Description

Someone tried to vote while the poll was closed.  This means they received the error below.  We need to fix this.

  1. If a person tries to vote and during the vote, the poll gets closed, we need to redirect the person to the Polls Page.
  2. Show them the Message "Poll has since closed.  No more voting allowed."
  3. There are already messages on this page, so just add another and redirect if this happens again.

 

 

 

 

HTTP_HOST league.rdnation.com
PATH_INFO /Vote/VoteOnPollV2
REQUEST_METHOD POST
QUERY_STRING  
REMOTE_ADDR 68.1.105.65
ALL_RAW Cache-Control: max-age=0 Connection: keep-alive Content-Length: 52 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8 Cookie: .ASPXAUTH=0D48679F83C0FAD2B31B2BEAA038FDC4C5FE03F77419919D87A28F3D18570AC03EEB1AE7C05E7D150B5BC3BF4AA84A637FFA6E377C9D89F2E5360FA238F2F044828647187940266265BD3A2FFACEF90F9AD38091BA11B1B89D95F25DB1611FDF9D6F04C0DE08AA6DBE76AC1430B8E539FE439C7C95683A7097DC6B83ED8909DAAF3FB514E085ED3F1C9BE7EF75F31D8444B2AE92D854812F4774355FA6BF893D9A666114; ASP.NET_SessionId=fm5ij13eowvecdv3ouhnctvp; __utmt=1; __utma=167125117.711873231.1434646799.1440263030.1443406436.11; __utmb=167125117.1.10.1443406436; __utmc=167125117; __utmz=167125117.1434655562.2.2.utmcsr=league.rdnation.com|utmccn=(referral)|utmcmd=referral|utmcct=/ Host: league.rdnation.com Referer: https://league.rdnation.com/poll/votev2/4c82fbad4a02499b8896f607056e809d/51169 User-Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36 Origin: https://league.rdnation.com Upgrade-Insecure-Requests: 1
URL https://league.rdnation.com/Vote/VoteOnPollV2
URL_REFFERER https://league.rdnation.com/poll/votev2/4c82fbad4a02499b8896f607056e809d/51169
 

Method: 
Object reference not set to an instance of an object.

at RDN.Library.Classes.Controls.Voting.VotingFactory.AddVoteV2(Guid leagueId, Int64 pollId, List`1 questions, Guid memberId) in c:\Personal\RDNation\RDN.Library\Classes\Controls\Voting\VotingFactory.cs:line 702  

Additional Information:
 

Powered by BugNET 1.6.339.0