Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • PleaseWork 5 posts 25 karma points
    Aug 27, 2012 @ 16:07
    PleaseWork
    0

    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.

     

     

     

  • PleaseWork 5 posts 25 karma points
    Aug 27, 2012 @ 17:32
    PleaseWork
    0

    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);

                }

     

Please Sign in or register to post replies

Write your reply to:

Draft