Today I found a nasty bug with the AdvancedSearchWebpart:
I put the wepart on a standard web part page:
Then I went into edit mode and deselected the other search text box fields so that I only have the first one "All of these words":
Then I entered a search string "test" to see what's happening:
The result was this:
I turned on the debugger to find the place where the error appeared:
It crashed in the method "ComposeTextSectionQuery" because the hidden fields won't be rendered and therefore the attempt to access "elements.PhraseQueryTextBox.value" will result in the error mentioned above.
I thought this was fixed with MOSS2007 already. Is Microsoft going steps backward with SP2010?
I hope this will get fixed soon!
Comments
Post a Comment