Comment 1 for bug 1014766

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 1014766] KeyError: batch_size on search with no parameter

Confirmed as fixed.

On Jun 24, 2012, at 3:07 PM, Carlos de la Guardia wrote:

> ** Changed in: karl3
> Status: New => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1014766
>
> Title:
> KeyError: batch_size on search with no parameter
>
> Status in KARL3:
> Fix Committed
>
> Bug description:
> I went to the searchbox and did not provide a parameter, just clicked
> on the search icon:
>
> https://karldev.gocept.com/ux2/osf/searchresults.html?body=&kind=&scopePath=&scopeLabel=all+KARL
>
> This produced:
>
> File "searchresults_faa5fdb30652d292135fe762320ff6250986a1e2.py", line 2303, in __fill_content
> File "/srv/karldev/dev/builds/ux2/eggs/pyramid_bottlecap-0.3-py2.7.egg/bottlecap/layout.py", line 32, in render_panel
> return Structure(panel(context, request, *args, **kw))
> File "/srv/karldev/dev/builds/ux2/eggs/pyramid_bottlecap-0.3-py2.7.egg/bottlecap/config.py", line 187, in derived
> result = wrapped(context, request, *args, **kw)
> File "/srv/karldev/dev/builds/ux2/eggs/pyramid_bottlecap-0.3-py2.7.egg/bottlecap/config.py", line 172, in derived
> result = wrapped(context, request, *args, **kw)
> File "/srv/karldev/dev/builds/ux2/src/karl/karl/ux2/panels.py", line 468, in grid_footer
> batch_size = batch['batch_size']
> KeyError: 'batch_size'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/1014766/+subscriptions