You are here: Foswiki>Tasks Web>Item541 (08 Jan 2009, KwangErnLiew)Edit Attach

Item541: calling search bin with no empty search string results in white screen instead of response

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: Foswiki:Main.KennethLavrsen
Waiting For:
Last Change By: KwangErnLiew
Jump to non-existing topic results in blank page

Try and put a WikiWord in the Jump field of a topic that does not exist.

Result is a blank page instead of the page that allows to create the new topic or search for similar.

Release blocker

This is why we should not break the feature freeze! Dammit.

-- KennethLavrsen - 22 Dec 2008

Erm, no it isn't. I get the "Create New Topic" page.

Can you be more specific about what you did? And what, if any, errors are reported in your Apache error log? And whether you have asserts on? And your locale, since that was causing problems?

-- CrawfordCurrie - 22 Dec 2008

It was a red herring.

In my Myweb WebHome I had for some time ago edited in the standard text at the bottom and by accident deleted a /form.

This resulted in this form to extend to include the Jump form. The result was that when you hit Jump you submit the wrong data.

Still wonder why the result is a blank page and not an error screen.

So there is a bug.

Here is a test URL http://merlin.lavrsen.dk/trunk/bin/search/Myweb/?search=

This ends in blank screen

http://merlin.lavrsen.dk/trunk/bin/search/Myweb/?search=Rasmussen

ends in correct search results.

I guess somewhere in the code a little || '' is missing.

Lowering to normal. Changing the title

And so noone feels bad about last days work, this bug is also in TWiki 4.2.4

nice. I've found where this problem happens, and will set SEARCH{} back to returning an empty result set - both query and normal search currently die.

ItemTemplate edit

Summary calling search bin with no empty search string results in white screen instead of response
ReportedBy Foswiki:Main.KennethLavrsen
Codebase trunk
SVN Range SVN 1508: Foswiki-1.0.0-beta1, Sun, 21 Dec 2008, build 1495
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:9d513348c695
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r7 - 08 Jan 2009, KwangErnLiew
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy