Hi Ronak,

We will be limiting the lengths of these fields in a future version. We're
aware of the problem and have encountered this with some users too. Expect a
field restriction in 1.0.6.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Nov 20, 2009 at 12:26 PM, Ronak <ronakdotpa...@gmail.com> wrote:

> Hi,
>
> I get a trackback that looks something like this
>
> Traceback (most recent call last):
>
>  File "/usr/local/lib/python2.5/site-packages/Django-1.0.2_final-
> py2.5.egg/django/core/handlers/base.py", line 86, in get_response
>    response = callback(request, *callback_args, **callback_kwargs)
>  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
> py2.5.egg/reviewboard/accounts/decorators.py", line 27, in _check
>    return view_func(*args, **kwargs)
>  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
> py2.5.egg/reviewboard/reviews/views.py", line 174, in review_detail
>    for changedesc in changedescs:
>  File "/usr/local/lib/python2.5/site-packages/Django-1.0.2_final-
> py2.5.egg/django/db/models/query.py", line 185, in _result_iter
>    self._fill_cache()
>  File "/usr/local/lib/python2.5/site-packages/Django-1.0.2_final-
> py2.5.egg/django/db/models/query.py", line 618, in _fill_cache
>    self._result_cache.append(self._iter.next())
>  File "/usr/local/lib/python2.5/site-packages/Django-1.0.2_final-
> py2.5.egg/django/db/models/query.py", line 280, in iterator
>    obj = self.model(*row[index_start:])
>  File "/usr/local/lib/python2.5/site-packages/Django-1.0.2_final-
> py2.5.egg/django/db/models/base.py", line 266, in __init__
>    signals.post_init.send(sender=self.__class__, instance=self)
>  File "/usr/local/lib/python2.5/site-packages/Django-1.0.2_final-
> py2.5.egg/django/dispatch/dispatcher.py", line 148, in send
>    response = receiver(signal=self, sender=sender, **named)
>  File "/usr/local/lib/python2.5/site-packages/Djblets-0.5-py2.5.egg/
> djblets/util/fields.py", line 174, in post_init
>    value = self.loads(value)
>  File "/usr/local/lib/python2.5/site-packages/Djblets-0.5-py2.5.egg/
> djblets/util/fields.py", line 206, in loads
>    val = eval(val)
>  File "<string>", line 1
>
>    {"testing_done": ....
> ....
> 09   11.17.09 !F
> ^
> SyntaxError: EOL while scanning single-quoted string
>
> After little bit of debugging I found out that if a user puts in a
> long very long description in the "Testing Done" field and again goes
> and changes that field the old and new comments are stored in
> fields_changed columns of changedescs_changedescription but the text
> is incomplete.  Is there a way to disable the delta tracking for
> "Testing Done" and "Description" fields or is there a way to inform
> the user that his/her input is too long.
>
> Thanks,
> Ronak
>
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to