Fixed the search function that broke in 7.0.7.

also fixed a user profile problemm
This commit is contained in:
JT Smith 2006-09-26 20:34:59 +00:00
parent 41bd19736c
commit 58b3128a3a
6 changed files with 51 additions and 37 deletions

View file

@ -27,6 +27,10 @@
- fix: File Upload - documented HTTP file upload size limitations in File
Pile Assets Hover help as well as the WebGUI settings documentation for Max
Upload size.
- Eliminated several hundred queries to the database during certain user
profile field options.
- Fixed the search function that broke in 7.0.7.
7.0.7
- rfe: Image Management (funded by Formation Design Systems)

View file

@ -7,6 +7,14 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
7.0.8
--------------------------------------------------------------------
* 7.0.7 was released with a critical bug that broke the search engine
for many sites, but not all. This bug has been corrected and tests
have been written to help ensure it doesn't happen again. However,
as a result you must rerun the search indexer program (sbin/search.pl)
on all your sites.
7.0.4
--------------------------------------------------------------------

View file

@ -20,19 +20,21 @@ my $quiet; # this line required
my $session = start(); # this line required
fixRobotsTxtMimeType($session);
fixSearch();
# upgrade functions go here
finish($session); # this line required
##-------------------------------------------------
#sub exampleFunction {
# my $session = shift;
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
# # and here's our code
#}
#-------------------------------------------------
sub fixSearch {
print "\tFixing search.\n" unless ($quiet);
$session->db->write("alter table assetIndex add column lineage varchar(255)");
}
#-------------------------------------------------
sub fixRobotsTxtMimeType {
my $session = shift;
print "\tFixing MIME type of robots.txt snippet.\n" unless $quiet;