We just upgraded to 6.7 and our custom cgi deployment script is no longer working. We get the error message that the DCR that we're tying to deploy is not a valid file.
The error message appears in the CGI file:
sub showerrors {
my $errordcr;
foreach $errordcr (@errordcrs) {
print "
$errordcr is a directory or unkown data type, only plain dcrs and files in files directory can be immediately deployed.";
}
}and here's where the value for $errodcr is defined in the cgi file:
foreach $dcr (@dcrs) {
if (!(($dcr =~ /\/templatedata\// || $dcr =~ /\/files\// || $dcr =~ /\/subs\//) && (-e $dcr) && (-f $dcr))) {
$filetest=0;
push @errordcrs, $dcr;So anything in the templatedata, files or subs directory should be a valid file. Does anyone know if something changed in Teamsite 6.7 that would break this script? Thanks.