You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I show a rating, before anybody renders the voting page, no one can rate anymore.
In technically:
On the front page, I have thumbnails to videos and other meta infos (duration, number of views and rating). This videos appears in the database as the image shows:
The important part is the null permalink and null security_role columns.
My users can vote in the video's dedicated subpage. If I open a dedicated subpage, which is not in the database (so the rating never before shown), the default row created as the image shows (last row):
If I open the dedicated subpage, which has this magic null row, I can't vote.
====================/
My solution is to modify Controller/RatingController.php in function showRateAction($id) to not create the empty database rows.
I have a problem with your really coolbundle:
If I show a rating, before anybody renders the voting page, no one can rate anymore.
In technically:
On the front page, I have thumbnails to videos and other meta infos (duration, number of views and rating). This videos appears in the database as the image shows:
The important part is the null permalink and null security_role columns.
My users can vote in the video's dedicated subpage. If I open a dedicated subpage, which is not in the database (so the rating never before shown), the default row created as the image shows (last row):
If I open the dedicated subpage, which has this magic null row, I can't vote.
====================/
My solution is to modify Controller/RatingController.php in function showRateAction($id) to not create the empty database rows.
The text was updated successfully, but these errors were encountered: