KeyError: batch_size on search with no parameter

Bug #1014766 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Carlos de la Guardia

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'

Tags: r3.89 ux2
Changed in karl3:
status: New → Fix Committed
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

JimPGlenn (jpglenn09)
tags: added: r3.89
JimPGlenn (jpglenn09)
Changed in karl3:
status: Fix Committed → Fix Released
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.