ActiveTopics https://our.umbraco.org Tue, 19 Jun 2018 06:18:28 +00:00 umbraco Latests topics from the forum on our.umbraco.org en External authentication to render umbraco page in mvc website https://our.umbraco.org/forum/templates-partial-views-and-macros/92499-external-authentication-to-render-umbraco-page-in-mvc-website https://our.umbraco.org/forum/templates-partial-views-and-macros/92499-external-authentication-to-render-umbraco-page-in-mvc-website Hello Team, We have a requirement from the client. 1. We need a Umbraco page to be showed in mvc website based on the MVC site's user roles/permissions (users from mvc database)

  1. The content of this page can be edited by users
]]>
VICTORIA VILASINY Mon, 18 Jun 2018 16:27:46 +00:00
store html https://our.umbraco.org/forum/using-umbraco-and-getting-started/92498-store-html https://our.umbraco.org/forum/using-umbraco-and-getting-started/92498-store-html I have some global settings that I want to store (e.g. footer text, etc). This will differ from site to site, and will sometimes be html... e.g.:

     <div itemscope itemtype="http://schema.org/Organization">
                    <p>
                        <span itemprop="name">Company</span><br />
                        <!-- START POSTAL ADDRESS -->
                        <span itemscope itemprop="address" itemtype="http://schema.org/PostalAddress">
                            <span itemprop="streetAddress">123 Any Street</span><br />
etc...

I could, of course, hard code it into the template, but it will be far easier for the site admin to change it as content in the global settings node.

I am using a text area, but the output from model.content.footerArea01 has been automatically escaped (e.g. &gt; instead of <)...

Is a textarea the correct datatype for this content? If so, how do I prevent it from being automatically escaped? If not, what should I use?

]]>
Ault Nathanielsz Mon, 18 Jun 2018 14:58:21 +00:00
Exporting Site https://our.umbraco.org/forum/using-umbraco-and-getting-started/92497-exporting-site https://our.umbraco.org/forum/using-umbraco-and-getting-started/92497-exporting-site How do you export an entire site from the dashboard ?

]]>
ANTOINE LOUP Mon, 18 Jun 2018 14:33:45 +00:00
Select sibling from currentpage in a View https://our.umbraco.org/forum/using-umbraco-and-getting-started/92496-select-sibling-from-currentpage-in-a-view https://our.umbraco.org/forum/using-umbraco-and-getting-started/92496-select-sibling-from-currentpage-in-a-view Hi In a View I want to select sibling children and render on currentpage

When Im using var cPage = Umbraco.Content(1127); I t works but I want to use documenttype instead how can I do that

 @foreach (var item in cPage.children())
            {
                <li>
                    <a href="@item.Url">@item.Name</a>
                </li>
            }

Many Thanks Christina

]]>
Christina Mon, 18 Jun 2018 13:36:48 +00:00
showing PDFs in umbraco back office https://our.umbraco.org/forum/using-umbraco-and-getting-started/92495-showing-pdfs-in-umbraco-back-office https://our.umbraco.org/forum/using-umbraco-and-getting-started/92495-showing-pdfs-in-umbraco-back-office Hi Guys,

I have a pdf file currently in the media, problem is linking it will just cause the link to be media/id/filename.pdf

Our old folder structure is supposed to be website.com/docs/filename.pdf Now is there a way to replicate this on the umbraco? I was thinking of creating a docs node where i can put in my documents is this the right approach?

I'm currently using umbraco 7.11

]]>
John Hudiel Mon, 18 Jun 2018 11:52:41 +00:00
How to expand tree view item using angular navigation service - showTree(sectionAlias, syncArgs)? https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92494-how-to-expand-tree-view-item-using-angular-navigation-service-showtree-sectionalias-syncargs https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92494-how-to-expand-tree-view-item-using-angular-navigation-service-showtree-sectionalias-syncargs Hi i've a angular custom section where i'm using the navigation service to refresh the tree view item after making changes on my custom object.

But if i hope the node using the url the treeview does't expand to show the related node. i guess i need to use the showTree(sectionAlias, syncArgs) from the navigationService but i don't know what parametters should i send.

section alias i know it's my own alias for the custom section. but what params should i use to expand the node on the treeview?

]]>
Marco Teodoro Mon, 18 Jun 2018 10:46:35 +00:00
Is CDN mandatory when using Azure Blob FileSystem with ImageProcessor? https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92493-is-cdn-mandatory-when-using-azure-blob-filesystem-with-imageprocessor https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92493-is-cdn-mandatory-when-using-azure-blob-filesystem-with-imageprocessor I can't seem to get the image processor to work on a website I have setup.

From all the examples I see I can't seem to find one that doesn't use CDN but only uses the blob.

Is it mandatory? If not, why can't I make image processor work?

security.config

<?xml version="1.0" encoding="utf-8"?>
<security>
  <services>
    <!-- <service name="LocalFileImageService" type="ImageProcessor.Web.Services.LocalFileImageService, ImageProcessor.Web" /> -->
    <service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">
      <settings>
        <!-- <setting key="Container" value="website-staging"/> -->
        <setting key="MaxBytes" value="8194304"/>
        <setting key="Timeout" value="30000"/>
        <setting key="Host" value="https://livestorage.blob.core.windows.net/website-staging/"/>
      </settings>
    </service>
  </services>
</security>

cache.config

<?xml version="1.0" encoding="utf-8"?>
<caching currentCache="DiskCache">
  <caches>
    <cache name="DiskCache" type="ImageProcessor.Web.Caching.DiskCache, ImageProcessor.Web" maxDays="365" browserMaxDays="7" trimCache="false">
      <settings>
        <setting key="VirtualCachePath" value="~/app_data/cache"/>
      </settings>
    </cache>
  </caches>
</caching>

web.config

...
        <!--AzureBlobFileSystem-->
    <add key="AzureBlobFileSystem.ConnectionString:media" value="DefaultEndpointsProtocol=https;AccountName=livestorage;AccountKey=..." />
    <add key="AzureBlobFileSystem.ContainerName:media" value="website-staging" />
    <add key="AzureBlobFileSystem.RootUrl:media" value="https://livestorage.blob.core.windows.net/" />
    <add key="AzureBlobFileSystem.MaxDays:media" value="365" />
    <add key="AzureBlobFileSystem.UseDefaultRoute:media" value="true" />
...
]]>
Diogo Mon, 18 Jun 2018 10:32:05 +00:00
Problem with netstandard 2.0 https://our.umbraco.org/forum/umbraco-cloud/92492-problem-with-netstandard-20 https://our.umbraco.org/forum/umbraco-cloud/92492-problem-with-netstandard-20 Hello everyone, For some days we have had problems with our project on umbraco Cloud (https://dev-wkit-shop.s1.umbraco.io/).

The error that is returned to us is as follows: enter image description here

Our application uses the .Net Framework 4.7.1 which should automatically include the dependency on netstandard 2.0.

Given that a few days ago everything worked correctly, have any changes been made in the configuration of the umbraco cloud environment?

Do you have any suggestions on how to solve this error?

Thank you

]]>
Cesare Salerno Mon, 18 Jun 2018 10:04:39 +00:00
How do you replace a macro with another macro all over the website's content nodes? https://our.umbraco.org/forum/templates-partial-views-and-macros/92491-how-do-you-replace-a-macro-with-another-macro-all-over-the-websites-content-nodes https://our.umbraco.org/forum/templates-partial-views-and-macros/92491-how-do-you-replace-a-macro-with-another-macro-all-over-the-websites-content-nodes So I have a macro and let's call this 'X' and want to delete it. Deleting it will create dangling references (therefore errors) around the website on content nodes that uses that macro X.

Therefore, I'd like to replace macro X with macro Y.

There's a lot of content nodes using this macro.

What's the quickest way to do this changeover?

]]>
Imdad Ali Mon, 18 Jun 2018 09:58:51 +00:00
Using a template in a custom email workflow https://our.umbraco.org/forum/umbraco-forms/92490-using-a-template-in-a-custom-email-workflow https://our.umbraco.org/forum/umbraco-forms/92490-using-a-template-in-a-custom-email-workflow We've created a custom email workflow that attaches an image file generated from some base64 data we have within the form submission, building on the default send email source code provided by Tim here:

https://gist.github.com/TimGeyssens/6ff5392c4d9bbf89bdfc

However, we would like to use an email template for our submission, as per the existing 'Send email with template (Razor)' workflow approach. In the absence of any source code, does anyone know how this might be done?

Any advice would be very gratefully received :-)

]]>
Richard Inman Mon, 18 Jun 2018 09:29:05 +00:00
How can I have two pages of same id when I'm changing doctype https://our.umbraco.org/forum/using-umbraco-and-getting-started/92489-how-can-i-have-two-pages-of-same-id-when-im-changing-doctype https://our.umbraco.org/forum/using-umbraco-and-getting-started/92489-how-can-i-have-two-pages-of-same-id-when-im-changing-doctype Hi

I have change doctype and now i have two pages with the same name and id

How can i Get rid of one? Many thanks Christina

]]>
Christina Mon, 18 Jun 2018 08:42:59 +00:00
On page load https://our.umbraco.org/forum/using-umbraco-and-getting-started/92487-on-page-load https://our.umbraco.org/forum/using-umbraco-and-getting-started/92487-on-page-load Hi all,

I'm looking to hit a method on page load for certain document types. This will allow me to check if the page (retail page) has products before the page has loaded. If not I can update the page status which should help to rank the page with Google.

I know there is the ApplicationEventHandler which has ApplicationStarted, is there anything that I can override so it triggers on the start of page load so i can get in there to update the status before its too late?

Thanks, Lewis

]]>
Lewis Smith Mon, 18 Jun 2018 08:27:56 +00:00
Controller for TemplateView https://our.umbraco.org/forum/using-umbraco-and-getting-started/92485-controller-for-templateview https://our.umbraco.org/forum/using-umbraco-and-getting-started/92485-controller-for-templateview Hi,

I created a view and now I want to outsource some code statements / a function inside the view. I want to catch some parameters, update a data row and output a information message to the user.

Can you send me an example how can I achieve it in the umbraco structure?

Thank you,

Nadine

]]>
Nadine Fisch Mon, 18 Jun 2018 07:51:30 +00:00
Global Merchello Reference Sites? https://our.umbraco.org/projects/collaboration/merchello/merchello/92483-global-merchello-reference-sites https://our.umbraco.org/projects/collaboration/merchello/merchello/92483-global-merchello-reference-sites Hi everyone,

An unusual non-technical question for you...

We're pitching for a medium-large scale website for a global wine brand and have just been shortlisted to the final three. Yay!

We have proposed an Umbraco/Merchello implementation for the platform & are struggling to find any large scale global reference sites to support our recommendation.

We've obviously seen the Merchello in the Wild section of the website but this doesn't seem to have been updated recently.

Can anyone point us at any larger scale Merchello implementations or recognisable brands that have rolled out a Merchello solution that we could point to in order to give the client comfort they are in good company?

Any pointers greatly appreciated!

Matt

]]>
Matt Pickering Mon, 18 Jun 2018 00:58:07 +00:00
Internal Links and Gallery Categories not showing https://our.umbraco.org/projects/starter-kits/umazel-starter-kit-responsive-bootstrap-theme/umazel-starter-kit-general-discussion/92482-internal-links-and-gallery-categories-not-showing https://our.umbraco.org/projects/starter-kits/umazel-starter-kit-responsive-bootstrap-theme/umazel-starter-kit-general-discussion/92482-internal-links-and-gallery-categories-not-showing Hi guys,

I'm quite new to Umbraco and development and coding in general. I'm trying to build myself a website. Finally, after figuring out I've gone ahead and started working with it... However I've encountered a couple of issues such as Internal Links don't work at all. However, if you use external links those ones will work fine. The other thing I'm having issues with is Gallery Categories don't work at all. After creating the Category Items and linking the files to a category it doesn't seem to do anything... Any help is appreciated.

Thanks guys!

Cheers,

Vlad

]]>
Vlad Birgauanu Sun, 17 Jun 2018 21:09:59 +00:00
Configuring chat in Umbraco https://our.umbraco.org/forum/using-umbraco-and-getting-started/92481-configuring-chat-in-umbraco https://our.umbraco.org/forum/using-umbraco-and-getting-started/92481-configuring-chat-in-umbraco Hi,

I am newbie in Umbraco. We have a requirement wherein a chat functionality needs to be made configurable across multiple pages so that business team have the option to enable the chat functionality in any page per their interest. We are using Umbraco 6.1 version. Can you please let me know how this can be done in Umbraco? Thanks much for your assistance.

Regards, Raghu

]]>
Raghu Sun, 17 Jun 2018 14:59:03 +00:00
var page = Umbraco.TypedContent(nodeId); returning Object reference not set to an instance of an object. https://our.umbraco.org/forum/using-umbraco-and-getting-started/92480-var-page-umbracotypedcontent-nodeid-returning-object-reference-not-set-to-an-instance-of-an-object https://our.umbraco.org/forum/using-umbraco-and-getting-started/92480-var-page-umbracotypedcontent-nodeid-returning-object-reference-not-set-to-an-instance-of-an-object Hi Im using a contentpicker to choose a page I get the id but when i im converting to IPublished content
Object reference not set to an instance of an object. Many thanks Christina

    @inherits Umbraco.Web.Mvc.UmbracoViewPage<ContentModels.Activities>
    @using ContentModels = Umbraco.Web.PublishedContentModels;

    @using Umbraco.Web;

@{ var nodeId = Model.GetPropertyValue("nodeId"); }

    @if (nodeId != null)
    {

        var page = Umbraco.TypedContent(nodeId);

        foreach (var child in page.Children)
        {
            <a href="@child.Url">@child.Name</a>
        }
    }
}
]]>
Christina Sun, 17 Jun 2018 11:01:38 +00:00
Few questions about fluidity https://our.umbraco.org/forum/using-umbraco-and-getting-started/92479-few-questions-about-fluidity https://our.umbraco.org/forum/using-umbraco-and-getting-started/92479-few-questions-about-fluidity Hello all,

I've installed Fluidty and have been messing around with the different settings the past couple of days, I have a few questions which I hope someone will be able to help and point me in the right direction;

1) I know you can make the collection read only, which disables the CRUD settings, is it possible to only remove the create button, but keep the other edit,delete buttons?

2) How customisable is Fluidity?

3) Is there way I can display the list by date order?

Thanks in advance, Matt

]]>
Matt Sat, 16 Jun 2018 16:17:35 +00:00
Clean Umbraco doctypes and templates https://our.umbraco.org/forum/templates-partial-views-and-macros/92478-clean-umbraco-doctypes-and-templates https://our.umbraco.org/forum/templates-partial-views-and-macros/92478-clean-umbraco-doctypes-and-templates Hi Guys!

I've recently won a project where i need to clean an improve umbraco. It's the perfect representation of "how to make a wonderful cms look like shitt!"

the only think i may have is that they did't know umbraco, but still, decided to do it without knowing how to... anyways. i was wondering if anyone has already found a plugin or sql script to identify obsolete doctypes, templates and maybe macros. by the look of this project i think that most of the code here isn't used anymore. so before i start i would like to make some house keeping :)

Hope that someone has found something like this before.

Kr, Marco

]]>
Marco Teodoro Sat, 16 Jun 2018 12:18:33 +00:00
Display node only if its translation for that particular instance is published https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92477-display-node-only-if-its-translation-for-that-particular-instance-is-published https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92477-display-node-only-if-its-translation-for-that-particular-instance-is-published Hi

I am using version v6.2. The hierarchy of the site is as follows:

Node A

-Node B

   -Node C
   -Node D

B is child of A whereas C and D are of B.

I have 3 translations viz, English, Chinese and Portuguese. I have unpublished the Portuguese translation for the nodes Feed through, Disconnect & Test, Stud/Bolts yet their names are being displayed.

Can anyone help me out in this?enter image description here

]]>
dev2 Sat, 16 Jun 2018 10:46:11 +00:00
Upgrade from 7.2.4 to 7.10.4 https://our.umbraco.org/forum/using-umbraco-and-getting-started/92476-upgrade-from-724-to-7104 https://our.umbraco.org/forum/using-umbraco-and-getting-started/92476-upgrade-from-724-to-7104 In the process of an extremely painful upgrade from 7.2.4 to 7.10.4. Solution upgrade applied via NuGet. In launching site to perform database upgrade, received numerous errors about tables missing...because they did not exist in the previous version. Specifically...

[umbracoUserStartNode] [umbracoUserGroup2App] [umbracoUserGroup] [umbracoUser2UserGroup]

I happened to have another 7.10.4 instance running, so I generated DDL for those tables from that database to get past the errors. I entered the appropriate data into each table.

Now I run into what seems to be an extremely common issue of not being able to login. I receive no error messages in the log. I know the username/password as it was used to login to the site prior to the upgrade.

What I have tried...

1 - In the web.config, set the useLegacyEncoding attribute to true.

2 - In the umbracoSettings.config, set the EnablePropertyValueConverters element to false.

3 - Assuming the password was incorrect (not true), tried following numerous methods for resetting it. (a) In the web.config, set the passwordFormat to "Clear". Changed password in database to clear password. Receive an ASP.NET Identity error stating it cannot work with clear passwords. (b) Utilized hashed versions of the "default" password. (c) tried to reset password but send email not working using correct SMTP settings.

Any other thoughts?

]]>
Scott Thompson Fri, 15 Jun 2018 20:31:56 +00:00
How to call Member.SetValue of ContentPicker2 field (Id vs Udi vs Guid) https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92475-how-to-call-membersetvalue-of-contentpicker2-field-id-vs-udi-vs-guid https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92475-how-to-call-membersetvalue-of-contentpicker2-field-id-vs-udi-vs-guid Hello all,

Using Umbraco 7.7.13

I'm having trouble pinning down the recommended way to use the MemberService to save a member's ContentPicker2 field value.

Here's how I used to do it with Ids according to the documentation (myMember is an IMember, and food is an IPublishedContent):

myMember.SetValue("favoriteFood", food.Id);
ApplicationContext.Current.Services.MemberService.Save(myMember);

But I've read that won't work if favoriteFood is a ContentPicker2, and I should use a Udi. What is the recommended fool-proof way of doing the above via Udi from the IPublishedContent food (without hitting the database to find food's Udi)?

I've read some things about unwrapping the IPublishedContent--but I don't think it provides the full solution for the above.

Thank you!

]]>
Shola Fri, 15 Jun 2018 17:24:32 +00:00
URGENT: Umbraco not playing well with application in subdirectory https://our.umbraco.org/forum/using-umbraco-and-getting-started/92473-urgent-umbraco-not-playing-well-with-application-in-subdirectory https://our.umbraco.org/forum/using-umbraco-and-getting-started/92473-urgent-umbraco-not-playing-well-with-application-in-subdirectory I have an application in a subdirectory (I will call XXX) of my umbraco site, and umbraco isn't playing nice with it. No matter what I do to umbraco to try to fix the situation, either my XXX application doesn't work or all images from the /media folder stop working.

I've tried nearly every suggestion online, and nothing works.

  • Adding entries to umbracoReservedUrls doesn't work
  • Adding entries to umbracoReservedPaths doesn't work
  • Wrapping the system.web and system.webserver with <location path="." inheritInChildApplications="false"> doesn't work
  • Changing app pool settings from classic to integrated, or integrated to classic doesn't work

I'm at my wits end. This project is set to be released in less than two weeks, and this was an issue I never expected. All I need umbraco to do is to TOTALLY IGNORE my /XXX directory so it plays well with my app. I didn't think to test this earlier as I thought a professional CMS such as umbraco wouldn't have such a terrible bug.

I need to get this resolved ASAP. How can I force umbraco to ignore my /XXX directory so my app works?

Here are a few links with suggestions I've tried that did not work:

Please help!

]]>
Mike Larsen Fri, 15 Jun 2018 15:57:21 +00:00
Grid Layout https://our.umbraco.org/forum/using-umbraco-and-getting-started/92472-grid-layout https://our.umbraco.org/forum/using-umbraco-and-getting-started/92472-grid-layout Hi Guys,

I'm new to Umbraco and just playing around with the grid layout. I can get the content to render, however it's not rendering in the layouts I have set. For example I have a col-md-12, with Text, 2 col-md-6 with Article and 3 col-md-4 of images.

It just seems to render it all vertically rather than the pre-set cols, rows and cells.

Any help would be much appreciated.

Thanks

]]>
Newb18 Fri, 15 Jun 2018 15:06:58 +00:00
Umbraco courier seems to failed when deploying from root nodes https://our.umbraco.org/forum/umbraco-courier/92471-umbraco-courier-seems-to-failed-when-deploying-from-root-nodes https://our.umbraco.org/forum/umbraco-courier/92471-umbraco-courier-seems-to-failed-when-deploying-from-root-nodes Hi All,

We have upgraded to umbraco 7.8 and installed courier application. we are using macro container datatype which is deprecated in latest versions.

1.when i am deploying form source to destination some of the files related to macro container was failed. could you please suggest us how to use data revolvers for extended custom packages else do we have any alteranative solution for this.

Courier logging Source:

2018-06-12 11:44:13,059 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] Application is shutting down, waiting for tasks to complete

2018-06-12 11:44:13,073 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] AggregateException thrown with the following inner exceptions:

2018-06-12 11:44:13,074 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] .Net TaskCanceledException: .Net Task ID 4496

2018-06-12 11:44:13,074 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] Shutdown

2018-06-12 11:44:13,075 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] Application is shutting down, waiting for tasks to complete

2018-06-12 11:44:13,076 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] AggregateException thrown with the following inner exceptions:

2018-06-12 11:44:13,077 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] .Net TaskCanceledException: .Net Task ID 3317

2018-06-12 11:44:13,077 [40] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 40] Shutdown

2018-06-12 11:44:52,260 [14] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 14] Loading factory

2018-06-12 11:44:55,778 [14] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 14] Complete (took 3515ms)

2018-06-12 11:45:03,911 [9] INFO Umbraco.Courier.Core.TaskManager - [Thread 9] Added PackagingTask behind queue of : 0

2018-06-12 11:45:03,918 [9] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 9] Task added Umbraco.Courier.Core.Tasks.PackagingTask

2018-06-12 11:45:03,926 [9] INFO Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 9] Starting

2018-06-12 11:45:03,939 [21] INFO Umbraco.Courier.Core.TaskManager - [Thread 21] Starting PackagingTask with id: eb47dfbf-5eb9-427b-b316-12f6f4ad319b

2018-06-12 11:45:03,942 [21] INFO Umbraco.Courier.Core.Tasks.PackagingTask - [Thread 21] PackagingTask running by user Jelle.Tienstra@ezilly.nl

2018-06-12 11:45:03,976 [21] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 21] Loading factory

2018-06-12 11:45:04,458 [21] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 21] Complete (took 481ms)

2018-06-12 11:45:10,606 [21] INFO Umbraco.Courier.Core.Packaging.RevisionPackaging - [Thread 21] Documents: c2d4e0e2-f3ab-4df0-8481-9282ee0d4545 hash-mismatch (local/remote) 8c19042a7cd80c07b9f360ff115598d7e3fcc547 / 8dd8247690beb739666e75d24d6246df652a34f3

2018-06-12 11:45:12,897 [21] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateProvider - [Thread 21] Closing session, UseGlobalSession: False, key: f9d5c2ac-e54c-4fb5-9665-657e5586294d

2018-06-12 11:45:12,918 [21] ERROR Umbraco.Courier.Core.TaskManager - [Thread 21] Error PackagingTask with id: eb47dfbf-5eb9-427b-b316-12f6f4ad319b

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Error retrieving item [AGENT] from provider [4715aa16-fa35-426f-bb67-674043557875]. ---> Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)

at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.EndGetHashes(IAsyncResult asyncResult)

at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.GetHashes(ItemIdentifier[] itemIds)

at Umbraco.Courier.Core.Packaging.RevisionPackaging.GetTargetHashes(IPackagingTarget2 target, IEnumerable`1 ids)

at Umbraco.Courier.Core.Packaging.RevisionPackaging.PackageBatch()

at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package()

at Umbraco.Courier.Core.Tasks.PackagingTask.Run()

at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)

2018-06-12 11:45:12,919 [21] ERROR Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 21] An error occurred consuming task

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Error retrieving item [AGENT] from provider [4715aa16-fa35-426f-bb67-674043557875]. ---> Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)

at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.EndGetHashes(IAsyncResult asyncResult)

at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.GetHashes(ItemIdentifier[] itemIds)

at Umbraco.Courier.Core.Packaging.RevisionPackaging.GetTargetHashes(IPackagingTarget2 target, IEnumerable`1 ids)

at Umbraco.Courier.Core.Packaging.RevisionPackaging.PackageBatch()

at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package()

at Umbraco.Courier.Core.Tasks.PackagingTask.Run()

at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)

Courier log destination:

2018-06-12 11:44:57,591 [14] INFO Umbraco.Courier.RepositoryProviders.Webservices.Repository - [Thread 14] CloseSession :: Source Info: Source User - 0, Source IP - 10.3.11.144

2018-06-12 11:45:03,026 [12] INFO Umbraco.Courier.RepositoryProviders.Webservices.Repository - [Thread 12] CloseSession :: Source Info: Source User - 0, Source IP - 10.3.11.144

2018-06-12 11:45:04,302 [12] INFO Umbraco.Courier.RepositoryProviders.Webservices.Repository - [Thread 12] OpenSession :: Source Info: Source User - 0, Source IP - 10.3.11.144

2018-06-12 11:45:04,305 [12] INFO Umbraco.Courier.Core.GlobalExecutionContextManager - [Thread 12] A session Id has been set: f9d5c2ac-e54c-4fb5-9665-657e5586294d

2018-06-12 11:45:04,341 [12] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 12] Loading factory

2018-06-12 11:45:06,682 [12] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 12] Complete (took 2339ms)

2018-06-12 11:45:06,717 [12] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 12] Loading factory

2018-06-12 11:45:07,049 [12] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateSessionManager - [Thread 12] Complete (took 331ms)

2018-06-12 11:45:12,228 [14] ERROR Umbraco.Courier.Core.ItemCrudProvider - [Thread 14] An error occurred in RetrieveItem

System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)

at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)

at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)

at System.Guid..ctor(String g)

at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.MemberGroupItem.RetrieveItem(ItemIdentifier itemId)

at Umbraco.Courier.Core.ItemCrud`1.RetrieveItem[T1](ItemIdentifier itemId)

at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId)

2018-06-12 11:45:12,243 [14] INFO Umbraco.Courier.RepositoryProviders.Webservices.Repository - [Thread 14] CloseSession :: Source Info: Source User - 0, Source IP - 10.3.11.144

2018-06-12 11:45:12,246 [14] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateProvider - [Thread 14] Closing session, UseGlobalSession: True, key: f9d5c2ac-e54c-4fb5-9665-657e5586294d

2018-06-12 11:45:12,247 [14] INFO Umbraco.Courier.Persistence.V6.NHibernate.NHibernateGlobalSessionManager - [Thread 14] CloseSession f9d5c2ac-e54c-4fb5-9665-657e5586294d, implicit roll back? True

2018-06-12 11:45:12,268 [14] INFO Umbraco.Courier.Core.GlobalExecutionContextManager - [Thread 14] Ending session: f9d5c2ac-e54c-4fb5-9665-657e5586294d

2018-06-12 11:45:12,269 [14] DEBUG Umbraco.Courier.Persistence.V6.NHibernate.NHibernateProvider - [Thread 14] Closing session, UseGlobalSession: True, key: f9d5c2ac-e54c-4fb5-9665-657e5586294d

Any idea from your side?

]]>
Yajamanam Fri, 15 Jun 2018 14:44:16 +00:00
Getting parser error https://our.umbraco.org/forum/using-umbraco-and-getting-started/92470-getting-parser-error https://our.umbraco.org/forum/using-umbraco-and-getting-started/92470-getting-parser-error Hi

Could you please help me anyone , it is very urgent.

This is our website link : http://deo.dk/

Now it is getting error.

I dont know , how to fix it.

This is our error: enter image description here

]]>
malar Fri, 15 Jun 2018 13:58:24 +00:00
Unpublished node translation still being displayed https://our.umbraco.org/forum/templates-partial-views-and-macros/92469-unpublished-node-translation-still-being-displayed https://our.umbraco.org/forum/templates-partial-views-and-macros/92469-unpublished-node-translation-still-being-displayed Hi, I am using version v6.2. The hierarchy of the site is as follows:

Node A

   -Node B

       -Node C
       -Node D

B is child of A whereas C and D are of B.

I have 3 translations viz, English, Chinese and Portugese. I want the node B to be disabled for Portugese translation. So, I unpublished it. However, it still appears on my site.

kindly help.

]]>
dev2 Fri, 15 Jun 2018 12:02:59 +00:00
The requested resource does not support HTTP method 'GET' https://our.umbraco.org/forum/using-umbraco-and-getting-started/92468-the-requested-resource-does-not-support-http-method-get https://our.umbraco.org/forum/using-umbraco-and-getting-started/92468-the-requested-resource-does-not-support-http-method-get Hi,

my API-method is decorated with

 [System.Web.Http.AcceptVerbs("GET", "POST")]
 [System.Web.Http.HttpGet]

But I still get "The requested resource does not support HTTP method 'GET'" message, if i request the url in the browser?

Can someone please help me?

Thank you,

Nadine

]]>
Nadine Fisch Fri, 15 Jun 2018 11:37:42 +00:00
Models binding and doctypes (NewB) https://our.umbraco.org/forum/templates-partial-views-and-macros/92467-models-binding-and-doctypes-newb https://our.umbraco.org/forum/templates-partial-views-and-macros/92467-models-binding-and-doctypes-newb Hi All,

I am using the AppData version of ModelsBuilder in V7.10.4

I have two doctypes: webpage and globalsettings.

Using the webpage doctype I have a home page with several children - pretty much what you'd expect.

I also have a single globalsettings node at the root. One of its fields is a multinode-tree-picker called "topNav" which I have used to select the pages that will appear in the top navigation.

I use the following declaration at the beginning of my master view:

@inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.WebPage>
@using ContentModels = Umbraco.Web.PublishedContentModels;

This works fine, and allows me to get details from the current page thusly:

Model.Content.Description

I have added a partial to the view. I assume that to access the data in Globalsettings, I need to inherit from that model.

 inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.GlobalSettings>

However, when the partial is added to the view...

           @Html.Partial("header/headerTopNav")

I get the following error:

Cannot bind source content type Umbraco.Web.PublishedContentModels.WebPage to model content type Umbraco.Web.PublishedContentModels.GlobalSettings.

Any thoughts on where I am going wrong?

Thanks in advance.

]]>
Ault Nathanielsz Fri, 15 Jun 2018 09:54:15 +00:00
Umbraco Fluidity issue https://our.umbraco.org/forum/using-umbraco-and-getting-started/92465-umbraco-fluidity-issue https://our.umbraco.org/forum/using-umbraco-and-getting-started/92465-umbraco-fluidity-issue Hello all,

I'm following the umbraco fludity video from Paul here;

https://www.youtube.com/watch?v=bihFOjLfdTk

I've followed every step but when I go to build my solution it fails with the following error;

umbracoFluidityExample.Fluidity.dll could not be found.

Has anyone else had this issue?

Thanks in advance, Matt

]]>
Matt Fri, 15 Jun 2018 08:55:48 +00:00
Home Page Shows 404 https://our.umbraco.org/forum/using-umbraco-and-getting-started/92454-home-page-shows-404 https://our.umbraco.org/forum/using-umbraco-and-getting-started/92454-home-page-shows-404 I purchased an Umbraco template called Constro and I'm trying to get the home page to load. When I run on an IIS server, I get a 404 error. I can navigate to my site http://mysite.com/umbraco to login, and I can also go to http://mysite.com/home-v1/ and the page loads.

What I want is the root to go to the "Home v1" home page (same as http://mysite.com/home-v1). My understanding is that as long as the "Home v1" page is the first node under the main node, that this should be the home page.

I tried setting the hostname under "Cultures and Hostnames" on the root node - still no luck.

Any help someone can provide would be greatly appreciated. Thanks!

]]>
Art Ardolino Wed, 13 Jun 2018 22:57:37 +00:00
Hopes / Dreams / Feedback for Umbraco Core Pull Requests https://our.umbraco.org/forum/contributing-to-umbraco-cms/92451-hopes-dreams-feedback-for-umbraco-core-pull-requests https://our.umbraco.org/forum/contributing-to-umbraco-cms/92451-hopes-dreams-feedback-for-umbraco-core-pull-requests I was told that Twitter is not an appropriate avenue to give feedback for Umbraco. So here is how I see pull requests, with some suggestions sprinkled in there for good measure:

  • 200 Open PR's The number of open pull requests has hovered around 200 for years (plus or minus).
  • Prioritization I was told new pull requests have been prioritized over existing ones. If the list doesn't shrink, this implies existing pull requests will never be integrated into the Umbraco core.
  • Umbraco 8 Event Horizon With the Umbraco 8 event horizon approaching, this may mean all those old pull requests get abandoned: https://offroadcode.com/journal/dev-talk/the-umbraco-v8-event-horizon/
  • Abandon Lost Causes Maybe it's time to start accepting that, and actively closing older pull requests that you anticipate will never make it into the core.
  • Timeline If you do expect to get through all 200 pull requests (plus the new ones as they arrive), I would hope to see a timeline of progress so I know it's really happening.
  • Dedication If there is a timeline, will the core team stick to it, even if it means changing approach (e.g., dedicating more core team members to the PR team)?

I'm sorry if this seems pushy. I want what's best for Umbraco, and all these old PR's lingering doesn't seem like what's best for Umbraco.

Also, this isn't by any means a list of demands. This is a list of observations, thoughts, and suggestions. Maybe others would like to contribute their own observations, thoughts, and suggestions. I would welcome that.

BTW, I'm glad to see the CPR team: https://umbraco.com/blog/introducing-the-new-cpr-team/

However, I see that as only a first step. I see that as talk about improvement, with very little concrete numbers mentioned. That is, it's a qualitative improvement, but I would hope for quantitative improvement. Numbers are easier to trust. In my ideal world, this is what I'd like to see:

  • Transparent & Concrete Goals The Umbraco core team announces that they will reduce the number of open PR's by 15/week, with the ultimate goal of getting to fewer than 20 open PR's by the end of October 2018.
  • Transparent Strategy The Umbraco core team announces that they plan to split prioritization 50/50 between the oldest PR's and the newest PR's. And the include in this announcement the other aspects of their strategy that will ensure progress is made.
  • Transparent Progress The Umbraco core team releases weekly or monthly numbers, along with a blog post saying "all is well" or "we haven't met our goals and here's how we're going to adapt going forward".
  • Real Results Pull requests are in fact dropped down to fewer than 20 by the end of October 2018.
  • Celebration A huge celebration for the Umbraco core team once they've accomplished this monumental task.

Are these ideas too extreme? Should I simply trust that things will change? You tell me; I'm interested to hear what others think, especially the core team.

]]>
Nicholas Westby Wed, 13 Jun 2018 16:49:47 +00:00
ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "https://localhost/umbraco") https://our.umbraco.org/forum/using-umbraco-and-getting-started/92435-error-umbracowebschedulingkeepalive-failed-at-httpslocalhostumbraco https://our.umbraco.org/forum/using-umbraco-and-getting-started/92435-error-umbracowebschedulingkeepalive-failed-at-httpslocalhostumbraco Hello, I'm getting this issue too frequent on my Umbraco logs but I cannot find the real issue. This error repeats every 5 min (as you can see on the code). I'm working with Umbraco 7.6.3 hosted on a scaled out Azure Web App. I have custom UrlRewrites on my web.config

<rule name="Enforce https" enabled="true" stopProcessing="true">
      <match url="(.*)" />
      <conditions logicalGrouping="MatchAll">
        <add input="{HTTPS}" pattern="off" />
        <add input="{HTTP_HOST}" matchType="Pattern" pattern="^localhost*" negate="true" />
      </conditions>
      <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
    </rule>

Can this rewrites screw the schedule publish of umbraco? This are the errors:

2018-06-09 14:36:22,195 [P4232/D2/T108] ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "https://localhost/umbraco").
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 127.0.0.1:443
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Umbraco.Web.Scheduling.KeepAlive.<PerformRunAsync>d__4.MoveNext()
 2018-06-09 14:41:22,211 [P4232/D2/T40] ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "https://localhost/umbraco").
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 127.0.0.1:443
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Umbraco.Web.Scheduling.KeepAlive.<PerformRunAsync>d__4.MoveNext()
]]>
Arlan Galvez Mon, 11 Jun 2018 20:02:25 +00:00
NullReferenceException exception when restoring from 'Development Workspace' https://our.umbraco.org/forum/umbraco-cloud/92408-nullreferenceexception-exception-when-restoring-from-development-workspace https://our.umbraco.org/forum/umbraco-cloud/92408-nullreferenceexception-exception-when-restoring-from-development-workspace New to Umbraco Cloud, but when trying to "restore" to my local development machine from "dev" in the cloud I get the following Exception.

Umbraco version 7.5.14 assembly: 1.0.6345.13057

It might have been fixed in a newer version, but I can't find any information on this.

Error: Object reference not set to an instance of an object.

Details: System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.Core.ResourceExtensions.GetByteArray(Resource resource, String rootDirectory) at Umbraco.Courier.RepositoryProviders.Local.GetResourceContents(ItemIdentifier itemId, Type itemType, Resource resource, String revisionAlias) at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferItemResources(Item item, ResourceExtractionOrder order) at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferPreExtractResource() at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() at Concorde.CacheHandler.Tasks.InitialExtractionTask.Run() at Umbraco.Courier.Core.Tasks.SequentialRevisionTaskList.Run() at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)

This is not really helpful ...

I can't find anything in this forum about the error ... any hints on how to find the cause of the error?

For now I have manually exported the database as a bakpac file and restored it locally ... but ofcause I'm missing the Media items ...

Any help will be very appreciated ...

]]>
Mikael Syska Fri, 08 Jun 2018 21:55:25 +00:00
Custom dashboard and SqlCE https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92396-custom-dashboard-and-sqlce https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92396-custom-dashboard-and-sqlce Hi everyone

I'm following the Custom Dashboard tutorial, but having issues with the part that covers listing last weeks changes.

I keep getting the following error as soon as I add getUserLog:

An error occured
There was an error parsing the query. [ Token line number = 4,Token line offset = 39,Token in error = WHERE ]

Exception Details
System.Data.SqlServerCe.SqlCeException: There was an error parsing the query. [ Token line number = 4,Token line offset = 39,Token in error = WHERE ]
Stacktrace
at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
   at System.Data.SqlServerCe.SqlCeCommand.CompileQueryPlan()
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteScalar()
   at Umbraco.Core.Persistence.PetaPocoCommandExtensions.<>c__DisplayClass11_0.<ExecuteScalarWithRetry>b__0()
   at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
   at Umbraco.Core.Persistence.Database.ExecuteScalar[T](String sql, Object[] args)
   at Umbraco.Core.Persistence.Database.Page[T](Int64 page, Int64 itemsPerPage, String sql, Object[] args)
   at Umbraco.Core.Persistence.Repositories.AuditRepository.GetPagedResultsByQuery(IQuery`1 query, Int64 pageIndex, Int32 pageSize, Int64& totalRecords, Direction orderDirection, AuditType[] auditTypeFilter, IQuery`1 customFilter)
   at Umbraco.Core.Services.AuditService.GetPagedItemsByUser(Int32 userId, Int64 pageIndex, Int32 pageSize, Int64& totalRecords, Direction orderDirection, AuditType[] auditTypeFilter, IQuery`1 customFilter)
   at Umbraco.Web.Editors.LogController.GetCurrentUserLog(AuditType logType, Nullable`1 sinceDate)
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()

My code looks like this (copy from tutorial):

angular.module("umbraco").controller("WelcomeDashboardAdminController", function ($scope, userService, logResource, entityResource) {
    //Set View Model
    var vm = this;

    //Get Current User
    var user = userService.getCurrentUser().then(function (user) {
        console.log(user);
        vm.UserName = user.name;
    });

    logResource.getUserLog("save", new Date()).then(function (response) {
        console.log(response);
        var logEntries = [];
        // loop through the response, and filter out save log entries we are not interested in
        angular.forEach(response, function (item) {
            // if no entity exists -1 is returned for the nodeId (eg saving a macro would create a log entry without a nodeid)
            if (item.nodeId > 0) {
                //this is the only way to tell them apart - whether the comment includes the words Content or Media!!
                if (item.comment.match("(\\bContent\\b|\\bMedia\\b)")) {
                    if (item.comment.indexOf("Media") > -1) {
                        //log entry is a media item
                        item.entityType = "Media";
                        item.editUrl = "media/media/edit/" + item.nodeId;
                    }
                    if (item.comment.indexOf("Content") > -1) {
                        //log entry is a media item
                        item.entityType = "Document";
                        item.editUrl = "content/content/edit/" + item.nodeId;
                    }
                    //use entityResource to retrieve details of the content/media item
                    entityResource.getById(item.nodeId, item.entityType).then(function (ent) {
                        console.log(ent);
                        item.Content = ent;
                    });
                    logEntries.push(item);
                }
            }
            console.log(logEntries);
            vm.LogEntries = logEntries;
        });
   });

});

But the error occurs (status 500) as soon as I add getUserLog.

The error occurs in angular on line 3310:

w.send(j || "")

Is it possible using the logResource and entityResource with SqlCE at all?

Hope you guys can give me a push in the right direction

Best

Henrik

]]>
Henrik Vincent Fri, 08 Jun 2018 12:02:34 +00:00
Security Token https://our.umbraco.org/forum/using-umbraco-and-getting-started/92392-security-token https://our.umbraco.org/forum/using-umbraco-and-getting-started/92392-security-token Hi,

I want to secure my confirmationmails with a security Token. Is there already a Umbraco solution I can use for it?

Thanks in advance,

Nadine

]]>
Nadine Fisch Fri, 08 Jun 2018 08:51:03 +00:00
Member edit own details on secure page https://our.umbraco.org/forum/using-umbraco-and-getting-started/92328-member-edit-own-details-on-secure-page https://our.umbraco.org/forum/using-umbraco-and-getting-started/92328-member-edit-own-details-on-secure-page I am new to Umbraco and can someone give me a guide to the approach I need to use to achieve the following.

I have a page on the web site which lists the contact details of members.

I have created an Member Type "Active Members" with additional text boxes, Address, Phone etc.

I wish to display the Active members details on a secure page which they need to sign in to and change their password, password question and details that are published.

Is this the right approach?

]]>
Mark Watson Tue, 05 Jun 2018 01:30:29 +00:00
Getting GraphQL into Umbraco https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92236-getting-graphql-into-umbraco https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92236-getting-graphql-into-umbraco This is the forum post to discus the whys and hows about getting GraphQL up and running within Umbraco CMS (and ideally Headless).

There is an issue for this on the issue tracker http://issues.umbraco.org/issue/U4-11389 for any actually work that we might do and I envisage this thread on Our being used for any discussions and ideas while we flesh out actionable items that can be done/tried.

Feel free to chip in :)

]]>
Peter Duncanson Wed, 30 May 2018 12:02:49 +00:00
How to bind <umb-editor> date picker values inside an ng-repeat? https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92221-how-to-bind-umb-editor-date-picker-values-inside-an-ng-repeat https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/92221-how-to-bind-umb-editor-date-picker-values-inside-an-ng-repeat Hi there,

I'm creating a custom property editor that can store multiple prices for an item based on a date range.

The JSON for the value looks like this:

{
  "prices": [
  {
     "dateFrom": "2018-01-01T00:00:00Z",
     "dateTo": "2018-01-31T00:00:00Z",
     "price": 100
  },
  {
     "dateFrom": "2018-02-01T00:00:00Z",
     "dateTo": "2018-04-30T00:00:00Z",
     "price": 120
  },
  {
     "dateFrom": "2018-05-01T00:00:00Z",
     "dateTo": "2018-07-31T00:00:00Z",
     "price": 150
  }
  ]
}

Here's my dateprices.editor.html file:

<div ng-controller="MT.DatePricesController">

    <table class="date-prices">
    <thead>
        <tr>
            <th scope="col">From</th>
            <th scope="col">To</th>
            <th scope="col">Price</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="priceItem in model.value.prices">
            <td>{{ priceItem.dateFrom }}</td>
            <td>{{ priceItem.dateTo }}</td>
            <td><input ng-model="priceItem.price" type="number" class="clr-number"/></td>
        </tr>
    </tbody>
    </table>

</div>

I'd really like to use the Umbraco date picker for the dateFrom and dateTo fields, but I can't work out how to bind it up from inside an ng-repeater block like this.

For simple situations, it looks like it can be connected up like this:

<umb-editor model="datePickerSingle"></umb-editor>

With the "datePickerSingle" model defined in the controller:

$scope.datePickerSingle = {
        view: "datepicker",
        config: {
            pickDate: true,
            pickTime: false,
            pick12HourFormat: false,
            format: "D MMM YYYY"
        },
        value: $scope.model.value.myDate
    };

But for my example, I want to bind multiple date pickers to the values inside my ng-repeat block.

Anyone got any tips or examples of this being done?

Thanks,

Mike

]]>
Mike Taylor Tue, 29 May 2018 13:40:22 +00:00
Duplicate Data Types https://our.umbraco.org/forum/using-umbraco-and-getting-started/92161-duplicate-data-types https://our.umbraco.org/forum/using-umbraco-and-getting-started/92161-duplicate-data-types I am upgrading from version 7.4 to 7.10. So far I've ironed out a few package and documentation breaking changes. However, I appear to have duplicate datatypes causing issues.

I first noticed this when I tried to view an item in the back office:

Exception Details System.InvalidOperationException: Sequence contains more than one matching element

Then I traced this into the doc types:

AutoMapper.AutoMapperMappingException: Mapping types: ContentType -> IEnumerable`1 Umbraco.Core.Models.ContentType

I think I narrowed it down to errors being thrown in specific data types:

Exception Details AutoMapper.AutoMapperMappingException: Mapping types: DataTypeDefinition -> IEnumerable`1 Umbraco.Core.Models.DataTypeDefinitio

The two data types that are having issues also show up twice in the property editor dropdown (notice the duplicate Multi Url Picker):enter image description here

Unfortunately, I cant see anything in the database that is causing those duplications. Any intuitions on this?

]]>
Mike Donahue Thu, 24 May 2018 19:34:10 +00:00
OpenAM IIS Agent https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/91717-openam-iis-agent https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/91717-openam-iis-agent We have an IIS server that uses an OpenAM Agent for providing SSO. We have the agent configured to protect the /umbraco path of our Umbraco instance. What we aren't sure about is how to get Umbraco to bypass the login form and use the current User in the HttpRequest? How would one programmatically log the current user into their Umbraco user account?

]]>
Quentin Lindsey Mon, 23 Apr 2018 17:55:54 +00:00
Nested content https://our.umbraco.org/forum/using-umbraco-and-getting-started/91708-nested-content https://our.umbraco.org/forum/using-umbraco-and-getting-started/91708-nested-content Hello,

I am using nested content and it works fine when I use the below :

var items = Model.GetPropertyValue<IEnumerable<IPublishedContent>>("myPropertyAlias");

foreach(var item in items)
{
    // Render your content, e.g. item.GetPropertyValue<string>("heading")
}

However when I try to get the values of a child node as below :

  foreach(var cat in CurrentPage.Children.Where("Visible"))
        {
            var items = cat.Content.GetPropertyValue<IEnumerable<IPublishedContent>>("director");
            foreach(var item in items)
                {

                    <h3>@item.GetPropertyValue("test")</h3>

                }
        }

I get nothing from "cat"

Can someone please help me with the right syntax ? Please help me find what I am doing wrong.

Thanks,

Kusum

]]>
k Mon, 23 Apr 2018 11:51:33 +00:00
trying to fetch record data using form id https://our.umbraco.org/forum/umbraco-forms/91395-trying-to-fetch-record-data-using-form-id https://our.umbraco.org/forum/umbraco-forms/91395-trying-to-fetch-record-data-using-form-id Hello Everyone,

I am trying to fetch the record data/form entry values using form id, I am getting "System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first. " error.

below is my code

@foreach (dynamic record in Library.GetRecordsFromForm("52161654-5db5-4575-8e0c-1b52d50684f1")) {

 foreach (var field in record.RecordFields)
     {

                      <td>@field.Value.ValuesAsString()</td>


         }

}

![enter image description here][1]

]]>
Manasa Tue, 03 Apr 2018 05:39:07 +00:00
Pipeline https://our.umbraco.org/projects/backoffice-extensions/pipeline-crm/pipeline-crm/90402-pipeline https://our.umbraco.org/projects/backoffice-extensions/pipeline-crm/pipeline-crm/90402-pipeline Is Pipeline still being developed?

Can I send any item to Pipeline by SMS or email — so i can store items as they come to mind while I am on the road, and then login a a later time to work with the item?

]]>
Peter Cuttance Sat, 03 Feb 2018 07:04:00 +00:00
How to integrate Event calendar inside custom website https://our.umbraco.org/projects/backoffice-extensions/eventcalendar/support-v3plus/89082-how-to-integrate-event-calendar-inside-custom-website https://our.umbraco.org/projects/backoffice-extensions/eventcalendar/support-v3plus/89082-how-to-integrate-event-calendar-inside-custom-website How to integrate Event calendar inside own website template? At this moment it works for me as shown in demo video as separate page but I want to show calendar inside our website template. I copied existing contents of ecCalendar template to my template and passed calendar from Document type but it is not rendering my template and throwing following error: enter image description here

Following are my settings: DocType: enter image description here

Template: enter image description here

Can you please guide me how to accomplish this?

Many thanks

]]>
Gurmail Wed, 08 Nov 2017 04:16:47 +00:00
"Domain Name '4' Does not exists" umbraco crashing. https://our.umbraco.org/forum/using-umbraco-and-getting-started/87816-domain-name-4-does-not-exists-umbraco-crashing https://our.umbraco.org/forum/using-umbraco-and-getting-started/87816-domain-name-4-does-not-exists-umbraco-crashing Umbraco 7.3.4

Server unpredictivly crashes and needs reboot to function again. Crash can not be forced. Solution consists of Umcraco and Ucommerce, hosted in an Azure enviroment.

Anyone with an idea?

Screen dumb after server crash

]]>
Jesper Buus Thomsen Wed, 30 Aug 2017 20:13:44 +00:00
Access LeBlender programatically https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/87117-access-leblender-programatically https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/87117-access-leblender-programatically Is it possible to access and loop through LeBlender items when not on a template page? i.e. I am writing code to perform a custom action on ContentService.Saving. I have the iContent item for the page but can't seem to get it to work with LeBlender.

]]>
Dan Evans Wed, 26 Jul 2017 12:48:52 +00:00
DB error when upgrading from 7.5.3 to 7.5.11 https://our.umbraco.org/forum/using-umbraco-and-getting-started/84662-db-error-when-upgrading-from-753-to-7511 https://our.umbraco.org/forum/using-umbraco-and-getting-started/84662-db-error-when-upgrading-from-753-to-7511 I'm getting this error when upgrading from 7.5.3 to 7.5.11:

The database failed to upgrade. ERROR: The database configuration failed with the following message: An explicit DROP INDEX is not allowed on index 'umbracoNode.IXumbracoNodeUniqueID'. It is being used for FOREIGN KEY constraint enforcement. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')

Here is the log file:

2017-03-18 16:04:36,116 [P384/D5/T28] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Executing sql statement 1: CREATE CLUSTERED INDEX [IX_umbracoUserLogins_Index] ON [umbracoUserLogins] ([contextID])

 2017-03-18 16:04:36,163 [P384/D5/T28] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Executing sql statement 2: ALTER TABLE [umbracoUser] ALTER COLUMN [userPassword] NVARCHAR(500) NOT NULL

 2017-03-18 16:04:36,303 [P384/D5/T28] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Executing sql statement 5: ALTER TABLE [cmsContent] ADD CONSTRAINT [FK_cmsContent_cmsContentType_nodeId] FOREIGN KEY ([contentType]) REFERENCES [cmsContentType] ([nodeId])

 2017-03-18 16:04:36,334 [P384/D5/T28] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Executing sql statement 6: DROP INDEX [IX_umbracoNodeUniqueID] ON [umbracoNode]

 2017-03-18 16:04:36,381 [P384/D5/T28] ERROR Umbraco.Core.Persistence.UmbracoDatabase - Database exception occurred
System.Data.SqlClient.SqlException (0x80131904): An explicit DROP INDEX is not allowed on index 'umbracoNode.IX_umbracoNodeUniqueID'. It is being used for FOREIGN KEY constraint enforcement.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteNonQuery()
   at Umbraco.Core.Persistence.PetaPocoCommandExtensions.<>c__DisplayClass1.<ExecuteNonQueryWithRetry>b__0()
   at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
   at Umbraco.Core.Persistence.Database.Execute(String sql, Object[] args)
ClientConnectionId:ce6937a4-b031-4cc1-9c86-f5bdf4810912

any ideas on how to solve this?

Best regards, Vlad.

]]>
Vlad Sat, 18 Mar 2017 21:16:12 +00:00
Assigning images, description, etc to a Product Collection https://our.umbraco.org/projects/collaboration/merchello/merchello/81257-assigning-images-description-etc-to-a-product-collection https://our.umbraco.org/projects/collaboration/merchello/merchello/81257-assigning-images-description-etc-to-a-product-collection Hello again Rusty!

In v2.1.0, is it possible to add custom fields to a Product Collection by using a doc type or similar method?

The goal is to use the Merchello tree structure as the category navigation, however there doesn't seem to be any way to give the collection a description, image, etc.

How would you recommend we do this? As of right now, the only way I can think to do this would be to have a structure within the Umbraco Content tree that matches the product collection tree in Merchello, and it doesn't seem very DRY, as we will need to maintain two separate category trees and make sure they are in sync.

Any ideas?

]]>
Keith Donnell Fri, 11 Nov 2016 22:33:07 +00:00
Source available? https://our.umbraco.org/projects/website-utilities/footprint/getting-started/76276-source-available https://our.umbraco.org/projects/website-utilities/footprint/getting-started/76276-source-available I see the Github repo just has documentation. Any chance of opening the source for Footprint?

]]>
Alex Lindgren Thu, 31 Mar 2016 17:23:55 +00:00