Check and enforce max length for Review text and summary

Bug #682707 reported by Anthony Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ratings and Reviews server
Fix Released
Medium
Anthony Lenton

Bug Description

Per https://wiki.ubuntu.com/SoftwareCenter/RatingsAndReviews review text should have at most 5000 characters, and summaries should have at most 80 characters.

The server should enforce this when a new review is submitted and raise an exception if not.

Changed in rnr-server:
assignee: nobody → Anthony Lenton (elachuni)
status: Confirmed → In Progress
Changed in rnr-server:
status: In Progress → Fix Committed
tags: added: kb-defect
Revision history for this message
Michael Vogt (mvo) wrote :

Note to QA, this is not testable with software-center currently because it enfoces those limits too.

Revision history for this message
Dave Morley (davmor2) wrote :

Tested. Counter kicks in with -1.... on both the review and the summary.

Revision history for this message
Dave Morley (davmor2) wrote :

This is working on reviews.staging and the colour issue from before is resolved too

Changed in rnr-server:
status: Fix Committed → Fix Released
Changed in rnr-server:
milestone: none → 10.12
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.