Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(91)

Issue 11715043: Add some checks for the optional fields of ModifyForm (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by spy
Modified:
10 years, 9 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Add some checks for the optional fields of ModifyForm

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add more explicit checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M MoinMoin/items/__init__.py View 1 3 chunks +4 lines, -2 lines 0 comments Download
M MoinMoin/items/content.py View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
Thomas.J.Waldmann
https://codereview.appspot.com/11715043/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): https://codereview.appspot.com/11715043/diff/1/MoinMoin/items/__init__.py#newcode446 MoinMoin/items/__init__.py:446: meta.update(item.meta_text_to_dict(self['extra_meta_text'].value)) what happens without that check? what values have ...
10 years, 10 months ago (2013-07-23 15:18:59 UTC) #1
spy
Replied https://codereview.appspot.com/11715043/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): https://codereview.appspot.com/11715043/diff/1/MoinMoin/items/__init__.py#newcode446 MoinMoin/items/__init__.py:446: meta.update(item.meta_text_to_dict(self['extra_meta_text'].value)) On 2013/07/23 15:18:59, Thomas.J.Waldmann wrote: > what ...
10 years, 10 months ago (2013-07-24 21:11:43 UTC) #2
Thomas.J.Waldmann
10 years, 9 months ago (2013-07-26 12:02:17 UTC) #3
looks ok

https://codereview.appspot.com/11715043/diff/1/MoinMoin/items/__init__.py
File MoinMoin/items/__init__.py (right):

https://codereview.appspot.com/11715043/diff/1/MoinMoin/items/__init__.py#new...
MoinMoin/items/__init__.py:446:
meta.update(item.meta_text_to_dict(self['extra_meta_text'].value))
ok.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b