few more bug fixes and preparing for 7.0.3 release
This commit is contained in:
parent
ebc3db0725
commit
07301c12bd
8 changed files with 57 additions and 27 deletions
|
|
@ -57,6 +57,11 @@
|
|||
workflow is unwanted.
|
||||
- fix: WebGUI::International::get can't handle spaces
|
||||
- fix: makePagePrintable macro uses style name instead of styleId
|
||||
- fix: Tell A Friend
|
||||
- Fixed a crash problem with Spectre run once cron jobs.
|
||||
- Fixed a formatting problem and a data collision problem with the Create
|
||||
Cron Job workflow activity.
|
||||
- fix: HTML tags in subject
|
||||
|
||||
|
||||
7.0.2
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@ save you many hours of grief.
|
|||
If you're using this macro, you might need to increment the max
|
||||
parameter.
|
||||
|
||||
* We've made a number of improvements and bug fixes to the search
|
||||
indexing system in this release. You may want to use the search.pl
|
||||
utiltity in sbin to reindex your site to get better search results.
|
||||
|
||||
|
||||
7.0.2
|
||||
--------------------------------------------------------------------
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -12,7 +12,8 @@ use lib "../../lib";
|
|||
use strict;
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
|
||||
use WebGUI::Asset;
|
||||
use WebGUI::HTML;
|
||||
|
||||
my $toVersion = "7.0.3"; # make this match what version you're going to
|
||||
my $quiet; # this line required
|
||||
|
|
@ -23,10 +24,22 @@ my $session = start(); # this line required
|
|||
|
||||
deleteTemplate();
|
||||
addConfigOption();
|
||||
fixPostSubjects();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub fixPostSubjects {
|
||||
print "\tRemoving HTML from CS Post subjects.\n" unless ($quiet);
|
||||
my $write = $session->db->prepare("update assetData set title=? where assetId=? and revisionDate=?");
|
||||
my $sth = $session->db->read("select title, asset.assetId, assetData.revisionDate from assetData left join asset on assetData.assetId=asset.assetId where asset.className like 'WebGUI::Asset::Post%'");
|
||||
while (my $row = $sth->arrayRef) {
|
||||
$row->[0] = WebGUI::HTML::filter($row->[0], "all");
|
||||
$write->execute($row);
|
||||
}
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addConfigOption {
|
||||
print "\tAdding save and commit option.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue