There is a small bug in the SDK version of the DataViewer
in the file google_appengine/google/appengine/ext/admin/__init__.py
in class DatastoreQueryHandler(DatastoreRequestHandler): the get()
handler around line 665 (SDK 1.2.3).
The page_start variable can be a float, the range() call a few line
later can't handle this
The fix is to cast it to int, resulting in the following line

    page_start = int(max(math.floor(current_page - max_pager_links / 2), 0))

I don't know if this code is also used in the production DataViewer.

2009/8/20 Nick Johnson (Google) <[email protected]>:
> Hi Sylvain,
> Can you please provide a sample Admin Console URL that demonstrates this
> bug?
> -Nick Johnson
>
> On Wed, Aug 19, 2009 at 9:58 AM, Sylvain <[email protected]> wrote:
>>
>> Hi,
>>
>> I've seen this issue many times : in the DataViewer (Logs), if I do
>> many "NEXT", then the DataViewer is broken (no more CSS, js,... )
>> etc,... I've produced this bug with many browsers (FF, IE, Chrome,...)
>>
>> Have you ever seen this issue ? then I will fill a bug ?
>>
>> Regards
>>
>
>
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to