When you create a package, named say Package0, there will be a subfolder named Resources. Inside of this folder should be the resources that are being transferred. I am missing the resources when I perform the packaging. This occurs for both css files and image files and I assue other file types as well.
When you go to install this package on a different umbraco instance the operation will indicate success but will not successfully alter any file.
This seems to occur only in our production/staging environments and isn't something I can reproduce local to my workstation.
I don't believe I am ever on a codepath that traverses the following code found in Umbraco.Courier.Core.Extraction as I don't see these entries in the courier log.
else
{
ResourceTransfer resourceTransfer = new ResourceTransfer();
resourceTransfer.Resource = resource;
resourceTransfer.OverWrite = true;
resourceTransfer.SetItemType(item.GetType());
resourceTransfer.ItemID = item.ItemId;
string[] name = new string[5];
name[0] = "Adding ";
name[1] = resource.Name;
name[2] = " (";
int length = (int)resource.ResourceContents.Length;
Missing Resources in Package
Environment Information :
OS : Windows Server 2008 R2
IIS : 7.5
Umbraco : 4.7.2
Courier : Courier_2.7_2.7.0.37.zip obtained from http://nightly.umbraco.org/UmbracoCourier/2.7/nightly%20builds/
Clustered : Yes
OverWrite : Always
Issue :
When you create a package, named say Package0, there will be a subfolder named Resources. Inside of this folder should be the resources that are being transferred. I am missing the resources when I perform the packaging. This occurs for both css files and image files and I assue other file types as well.
When you go to install this package on a different umbraco instance the operation will indicate success but will not successfully alter any file.
This seems to occur only in our production/staging environments and isn't something I can reproduce local to my workstation.
A bit more information
I don't believe I am ever on a codepath that traverses the following code found in Umbraco.Courier.Core.Extraction as I don't see these entries in the courier log.
else
{
ResourceTransfer resourceTransfer = new ResourceTransfer();
resourceTransfer.Resource = resource;
resourceTransfer.OverWrite = true;
resourceTransfer.SetItemType(item.GetType());
resourceTransfer.ItemID = item.ItemId;
string[] name = new string[5];
name[0] = "Adding ";
name[1] = resource.Name;
name[2] = " (";
int length = (int)resource.ResourceContents.Length;
name[3] = length.ToString();
name[4] = " bytes) to resource transfer list";
RevisionLog.Instance.AddItemEntry(item, base.GetType(), "resources", string.Concat(name), LogItemEntryType.Information);
resourceTransfers.Add(resourceTransfer);
this..Add(str);
}
is working on a reply...