Hi guys. Thought I'd post a heads-up really about something I'd noticed. I'm running a site in umbraco 4.0.4.2 which I needed to search, so I downloaded the umbsearch2 zip file and installed the package. I needed to filter on certain node types so I set up the relevant properties when I called the macro and it all worked perfectly.
Following this, I needed to amend the source code in order to tweak the result template (among other things) so I downloaded the latest source (v55578) and built it. However, when I copied the DLL over to my website and performed a search, it bought back all node types, not just the ones I'd specified. Note that I'd changed no code at this point. Copying back the dll from the original zip file resolved the issue and it behaved as expected. Looking at the dll in the package, I noticed the date of the file was Nov 30 2009 so I decided to fetch an older version of the source to see if this resolved the issue. Pulling back v40781 still didn't fix it but when I used v40666 the search filtered correctly again.
So in summary, I think a bug has possibly been introduced between v40666 and now which means that search results aren't getting filtered correctly. Unfortunately, I'm not able to attach a debugger to my remote server and so I can't really provide much information in that respect. I'm happy to elaborate on anything else if anyone wants though.
Issue with latest source
Hi guys. Thought I'd post a heads-up really about something I'd noticed. I'm running a site in umbraco 4.0.4.2 which I needed to search, so I downloaded the umbsearch2 zip file and installed the package. I needed to filter on certain node types so I set up the relevant properties when I called the macro and it all worked perfectly.
Following this, I needed to amend the source code in order to tweak the result template (among other things) so I downloaded the latest source (v55578) and built it. However, when I copied the DLL over to my website and performed a search, it bought back all node types, not just the ones I'd specified. Note that I'd changed no code at this point. Copying back the dll from the original zip file resolved the issue and it behaved as expected. Looking at the dll in the package, I noticed the date of the file was Nov 30 2009 so I decided to fetch an older version of the source to see if this resolved the issue. Pulling back v40781 still didn't fix it but when I used v40666 the search filtered correctly again.
So in summary, I think a bug has possibly been introduced between v40666 and now which means that search results aren't getting filtered correctly. Unfortunately, I'm not able to attach a debugger to my remote server and so I can't really provide much information in that respect. I'm happy to elaborate on anything else if anyone wants though.
Cheers
Jon
is working on a reply...