ActiveTopics https://our.umbraco.org Thu, 01 Sep 2016 05:28:32 +00:00 umbraco Latests topics from the forum on our.umbraco.org en why Umbraco dont have any inbuilt module for bulk url redirection? https://our.umbraco.org/forum/using-umbraco-and-getting-started/79696-why-umbraco-dont-have-any-inbuilt-module-for-bulk-url-redirection https://our.umbraco.org/forum/using-umbraco-and-getting-started/79696-why-umbraco-dont-have-any-inbuilt-module-for-bulk-url-redirection Hi, Why Umbraco don't have any inbuilt module for bulk URL redirection? why we have to depend on 301 url tracker which is buggy and not consistent for multi site setup ?

]]>
yogesh pathak Thu, 01 Sep 2016 05:15:42 +00:00
Upgrading from v6.0.5 to v7.5.2 https://our.umbraco.org/forum/using-umbraco-and-getting-started/79695-upgrading-from-v605-to-v752 https://our.umbraco.org/forum/using-umbraco-and-getting-started/79695-upgrading-from-v605-to-v752 We have a site that we need to upgrade from v6.0.5 to v7.5.2. I've tried following the general upgrade guide plus the specific upgrading to v7 guide but can't work out what I need to do with the config files.

When doing the upgrade using NuGet package manager console do I overwrite the config files? If so, what is the best way to figure out how to merge with the original files? I tried following the configuration changes section of the Upgrading to v7 documentation, but it wasn't easy to follow, and it mentions a new macroScripts web.config file - where do I get that from?

Also, the config files in App_Data\NuGetBackup are NOT backups of my original config files, should they be? I made a backup of my config files before doing the upgrade and when I compare by backup folder to the NuGetBackup folder the files are different...

]]>
Lesley Wed, 31 Aug 2016 22:32:00 +00:00
uSky Conflict with 7.5.2 https://our.umbraco.org/projects/backoffice-extensions/uskyslider/bug-reports/79694-usky-conflict-with-752 https://our.umbraco.org/projects/backoffice-extensions/uskyslider/bug-reports/79694-usky-conflict-with-752 Hi,

After installing uSky on 7.5.2 I could not see images when was selecting media. I just get the transparent thumbnails. I browsed through a few of the other posts in the previous Umbraco version and tried the following:

I tried to comment '~/App_Plugins/Lecoati.uSky.Slider/lib/draggable.js' at manifest file but the images are still not working

-- Also did this https://github.com/Lecoati/usky.slider/pull/5

Any help would be greatly appreciated :)

]]>
Kim Vo Wed, 31 Aug 2016 22:30:14 +00:00
umbracoSettings.config file missing https://our.umbraco.org/forum/using-umbraco-and-getting-started/79693-umbracosettingsconfig-file-missing https://our.umbraco.org/forum/using-umbraco-and-getting-started/79693-umbracosettingsconfig-file-missing Hi I am using umbraco version 4.11.3 and tried to run mvc application in visual studio 2012, it is throwing error.enter image description here

I have downloaded all files from TFS because i joined the project recently. I have observed that there is no umbracoSettings.config file. Is that the reason behind the problem can any one please help me.

Thanks. Lasya

]]>
Lasya Wed, 31 Aug 2016 20:35:15 +00:00
Custom Order Properties https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79692-custom-order-properties https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79692-custom-order-properties How do I add custom properties to the order such as AddressLine2 and Title? I've looked through old posts but couldn't figure it out - they were all very old posts, so not sure if it's a different process now.

Thanks

]]>
Richard B Wed, 31 Aug 2016 18:16:04 +00:00
Stop deleting media https://our.umbraco.org/forum/using-umbraco-and-getting-started/79691-stop-deleting-media https://our.umbraco.org/forum/using-umbraco-and-getting-started/79691-stop-deleting-media Anyone know if there is a config setting or way to not delete physical media files from the media folder when deleting from the cms? We use blob storage across multiple enviros and when we delete the images from our dev site (we don't want hundreds of items to sync locally) it ends up deleting the blob data and then in effect killing the production posts.

]]>
Mac McDell Wed, 31 Aug 2016 17:22:10 +00:00
Not able to configure Paypal using Merchello. https://our.umbraco.org/projects/collaboration/merchello/merchello/79690-not-able-to-configure-paypal-using-merchello https://our.umbraco.org/projects/collaboration/merchello/merchello/79690-not-able-to-configure-paypal-using-merchello Hi,

I am struggling to get the paypal Express provider working. As following is my configuration .

enter image description here

So on the public site when user click on PayPal Pay now button , it redirects user to the following screen.

enter image description here I am using Umbraco 7.5.2 , And have installed following two packages

1) Merchello 2.2.0

2) Merchello FastTrack 2.2.0

Do I need to take care of any more PayPal configuration or so.? ,

Thanks

BJ.

]]>
BJ Patel Wed, 31 Aug 2016 16:50:44 +00:00
Problem with GetBigThumbnail in upgrade umbraco 7.2.x to 7.4.x https://our.umbraco.org/forum/using-umbraco-and-getting-started/79689-problem-with-getbigthumbnail-in-upgrade-umbraco-72x-to-74x https://our.umbraco.org/forum/using-umbraco-and-getting-started/79689-problem-with-getbigthumbnail-in-upgrade-umbraco-72x-to-74x I update succesfully umbraco from 7.2.1 to 7.4.3 but i have one problem with the thumbnail images in the media section.

If i entered media section the thumbnail images show but if i go to edit the selected image i do not see the thumbnail.

let's see that:

enter image description here

enter image description here

I update from visual studio 2015 community vianuget package manager.

I update to this version (7.4.3) because i have a site with the same configuration and the image preview was shown.

Maybe the whole entire files does not update?

Thanks!

*UPDATE

I detect that the UI is different in the sites

In updated site is:

enter image description here

And the clean site:

enter image description here

The order of properties is different and the source code too.

Thanks

]]>
Gaston Tcet Wed, 31 Aug 2016 16:04:31 +00:00
Umbraco HASH class for passwords https://our.umbraco.org/forum/using-umbraco-and-getting-started/79688-umbraco-hash-class-for-passwords https://our.umbraco.org/forum/using-umbraco-and-getting-started/79688-umbraco-hash-class-for-passwords Hi, Which Hash class does the latest Umbraco use to Hash paswords?

Jon

]]>
Jonathan Roberts Wed, 31 Aug 2016 14:50:31 +00:00
How to render RTE content to a JSON object in macro? https://our.umbraco.org/forum/templates-partial-views-and-macros/79687-how-to-render-rte-content-to-a-json-object-in-macro https://our.umbraco.org/forum/templates-partial-views-and-macros/79687-how-to-render-rte-content-to-a-json-object-in-macro I have created a few macros now that create json objects with their data (I use JS to render that data to the page). Those have been lists of things using simple text fields. But now I have to retrieve data from a RTE field - and I'm experiencing problems doing that.

@inherits Umbraco.Web.Macros.PartialViewMacroPage
@using System.Globalization

<script>

@{
    var latestArticlesNodeID = Model.MacroParameters["ArticlesFolder"];
    var latestArticlesNode = Umbraco.Content(latestArticlesNodeID);

    var latestArticles = new List<dynamic>();

    foreach (var article in latestArticlesNode.Children)
    {
        latestArticles.Add(new
        {
            title = article.title,
            date = article.date.ToString("dd.MM.yyyy"),
            content = article.content
        });
    }
    var o = new {
        latestArticles = latestArticles
    };
    string json = Json.Encode(o);
}

window.latestArticlesObj = @Html.Raw(json);

console.log(window.latestArticlesObj);

</script>

The console.log gives me an object, but the "content" field doesn't give me what I want... any suggestions? Date and title fields are just like they should be.

This is what the console.log gives me

]]>
Leopold Kristjansson Wed, 31 Aug 2016 14:50:06 +00:00
Azure AD authentication for members https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/79686-azure-ad-authentication-for-members https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/79686-azure-ad-authentication-for-members This is not about backoffice.

I have an App with embedded Umbraco site. It's like an IFrame within the App.

The idea is that from a link in its App opens embedded Umbraco site. Now here is the problem:

I have to use Azure active directory, so I need a custom log-in page and it is having to start Log-in process without having to click on something first. I have already implemented it for the BackOffice, but I will not use for anything, just to show that it is not like that, absolutely no link button, just start the process.

enter image description here

Have I understood correctly, that to the authentication on Umbraco Still only frontend, on the root node sets rights to a member group and force login or are there better way when using Azure AD.

Another question, if I want to use Azure AD as a member provider or user provider, is it possible and how?

]]>
Christian Lyck Wed, 31 Aug 2016 13:49:09 +00:00
Translator company's reply to language XML file exported from Umbraco https://our.umbraco.org/forum/using-umbraco-and-getting-started/79685-translator-companys-reply-to-language-xml-file-exported-from-umbraco https://our.umbraco.org/forum/using-umbraco-and-getting-started/79685-translator-companys-reply-to-language-xml-file-exported-from-umbraco Hi

I have been using the export feature in Umbraco and exported an entire language node with subpages. I have sent it to a translation company, but they reply that the XML needs some prepping work before they can use it (see their message below)

Has anyone experienced something like it? The Umbraco version is 7.2.8.

Reply from translator:

**I tried quickly importing this into memoQ with the default XML filter, just to see how it looks, and you can see in the attached RTF what that picked up it does seem that the file needs some further work in prepping (for example improving segmentation, making all those

etc into proper tags so theyre not accidentally edited or deleted, excluding some segments with garble entirely). But then, in some parts, the file and segmentation actually looks quite alright, so its by far not the messiest XML file weve seen.

So in short, if needed, we could have our techies do some prepping work on this file, but it would likely take at least 2 hours or so, which we would need to add in the quote, to make this particular file suitable for translation.**

Kind regards

]]>
Thomsen Wed, 31 Aug 2016 13:16:41 +00:00
Working in 7.5? https://our.umbraco.org/projects/backoffice-extensions/tag-manager/tag-manager/79684-working-in-75 https://our.umbraco.org/projects/backoffice-extensions/tag-manager/tag-manager/79684-working-in-75 Hi there,

Used Tag Manager successfully in 7.4, but it doesn't seem to be working since upgrading to 7.5. Anybody else have any luck? Any obvious reason why it might fail?

Cheers Andy

]]>
Andy Westley Wed, 31 Aug 2016 11:20:28 +00:00
Merchello , Item Stock not validating https://our.umbraco.org/projects/collaboration/merchello/merchello/79683-merchello-item-stock-not-validating https://our.umbraco.org/projects/collaboration/merchello/merchello/79683-merchello-item-stock-not-validating Hi,

I am unable to limit user to purchase more product then current stock set. As I have set Inventory -> Stock to 10 , but when user enter 30 Quantity then also he is allow to place order.

Following is my Merchello configuration ,

enter image description here

Allowing me to make purchase .

enter image description here

1) Kindly guide me how can I configure, not allowing to purchase Item more than the stock set.

2) My inventory is also not getting updated after any purchase.

Kindly guide me Is it a bug or I am missing any configuration

I am using Umbraco 7.5.2 , And have installed following two packages

1) Merchello 2.2.0

2) Merchello FastTrack 2.2.0

Thanks BJ.

]]>
BJ Patel Wed, 31 Aug 2016 10:35:38 +00:00
Scheduled Tasks and Azure Load Balancer https://our.umbraco.org/forum/using-umbraco-and-getting-started/79682-scheduled-tasks-and-azure-load-balancer https://our.umbraco.org/forum/using-umbraco-and-getting-started/79682-scheduled-tasks-and-azure-load-balancer Hi I am using Umbraco behind an Azure Load Balancer. The backend comprises 2 VMs. The database is an Azure SQL Database with Geo-Replication.

The site uses https and I am using MS URL Rewriter to ensure that visitors to the http url are redirected to the https url.

All appears to work well. However I do have one issue and wondered if anyone has a solution.

I use the Umbraco Scheduled Tasks feature to call a controller action to update exchange rates every 4 hours. The problem is of course that both websites do this but the actual update is performed on whichever server is receiving traffic from the Load Balancer.

It does not seem to be causing a problem except for the exchange rate update happening a bit too frequently. I suppose that I could change the frequency to every 8 hours or perhaps only run the task on one of the servers but this does seems like a fudge and not a proper solution.

Many thanks for any input.

John

]]>
John Botibol Wed, 31 Aug 2016 10:06:44 +00:00
YSOD installing package in 7.4.3 https://our.umbraco.org/projects/backoffice-extensions/nested-content/nested-content-feedback/79680-ysod-installing-package-in-743 https://our.umbraco.org/projects/backoffice-extensions/nested-content/nested-content-feedback/79680-ysod-installing-package-in-743 Just tried to install the package on a fairly clean install of 7.4.3 (with Fanoe starter kit / SQL db / hosted on dedicated win2012 server and no other packages installed ) via the Browse Repository in the Developer section, and got a YSOD error. Failed gracefully and doesn't seem to have caused any other problems with the site, but it didn't add the Property Editor for Nested Content.

]]>
John C Scott Wed, 31 Aug 2016 08:55:36 +00:00
Get raw value instead of the converted value https://our.umbraco.org/projects/developer-tools/umbraco-core-property-value-converters/feedback/79679-get-raw-value-instead-of-the-converted-value https://our.umbraco.org/projects/developer-tools/umbraco-core-property-value-converters/feedback/79679-get-raw-value-instead-of-the-converted-value Hello,

I'm using the Umbraco Core Property Value Converters. So for MNTP I always get the IEnumerable with IPublishedContent. I would like to only get the ids. I can't do the following: this.GetPropertyValue<IEnumerable<IPublishedContent>>("elements").Select(x => x.Id)

Because this will go through the converter which means they've already been converted to IPublishedContent and I don't want that because it's bad for performance.

Can I get the raw value for a specific property while not going through the converter?

Jeroen

]]>
Jeroen Breuer Wed, 31 Aug 2016 07:57:40 +00:00
Should the Umbraco database (schema and data) be regenerated for every deployment? https://our.umbraco.org/forum/using-umbraco-and-getting-started/79676-should-the-umbraco-database-be-regenerated-for-every-deployment https://our.umbraco.org/forum/using-umbraco-and-getting-started/79676-should-the-umbraco-database-be-regenerated-for-every-deployment I have 3 environments (local, stage, and prod). My environments are never in sync, so I was curious when I deploy my local code changes to stage, should I include the local Umbraco db changes as well. I use courier to transfer between environments, so I am not sure if I need to do this. Seems like Umbraco writes to a lot of tables and it would not be a good idea.

Thoughts?

Thanks, Saied

]]>
Saied Wed, 31 Aug 2016 03:56:43 +00:00
Why sync the index in the context of a request? https://our.umbraco.org/forum/using-umbraco-and-getting-started/79673-why-sync-the-index-in-the-context-of-a-request https://our.umbraco.org/forum/using-umbraco-and-getting-started/79673-why-sync-the-index-in-the-context-of-a-request Hi,

I have a website built on Umbraco that is using a huge database of nodes, images, and members. (around 190K right now and growing)

Because of this the queries used by load balanced instances to catch up with changes in the database are taking longer and longer. So much so that we are getting timeouts.

These timeouts are not in the database connection or queries, but for some reason they are request timeouts because the sync operation happens during a request. Why is this? Why not run the sync operations in the background? Why wait for a request and why perform the sync during the request, causing it to run slower than other requests?

And finally, is there a way to change this behavior or do I have to change Umbraco code?

Thanks,

Paul.

]]>
Paul Dermody Tue, 30 Aug 2016 21:05:11 +00:00
Export Data as CSV from C# Code https://our.umbraco.org/forum/umbraco-forms/79672-export-data-as-csv-from-c-code https://our.umbraco.org/forum/umbraco-forms/79672-export-data-as-csv-from-c-code I'd like to be able to export data from Umbraco Forms (Entries) in the same format you get when you download from the backoffice. I've looked at the Forms APIs RecordStorage, FormsStorage, and things like ExportToExcel but can't seem to assemble them together to get what I need. The biggest problem I'm facing is the disconnect between the field labels and the data; the JSON+SQL storage makes brute forcing the whole thing messy.

In short, I just want to know if there is a public API in Umbraco Forms to export the exact data I'd get by clicking the "Export" button on the Entries page.

Thank you! Travis

]]>
Travis Nelson Tue, 30 Aug 2016 20:35:06 +00:00
Instillation https://our.umbraco.org/projects/website-utilities/ubooking/ubooking-support/79669-instillation https://our.umbraco.org/projects/website-utilities/ubooking/ubooking-support/79669-instillation Installed Ubooking in umbraco 7.5 and it looks like the ubooking menu item doesnt appear in the left menu

]]>
Parthiban Tue, 30 Aug 2016 15:44:53 +00:00
Changing a page templates not displaying appropriate template types https://our.umbraco.org/forum/using-umbraco-and-getting-started/79662-changing-a-page-templates-not-displaying-appropriate-template-types https://our.umbraco.org/forum/using-umbraco-and-getting-started/79662-changing-a-page-templates-not-displaying-appropriate-template-types Hi, Sorry for the confusing title, however I recently wanted to create a new master page, separate to the current one I've set up. What I've got is a 2 page set in the root. They both have the default "master" page - and document type - "Home".

So when i created a new master page - "test" and created a document type - "test home". I changed one of the root pages too "test home". This worked perfectly, however now I'm getting the issue that the document types set up for "test home" in the permissions are not displaying but the ones for "Home" are.

Is there a way to correct this?

]]>
jag Tue, 30 Aug 2016 13:48:26 +00:00
Don't show footer other page, only Homepage https://our.umbraco.org/forum/using-umbraco-and-getting-started/79655-dont-show-footer-other-page-only-homepage https://our.umbraco.org/forum/using-umbraco-and-getting-started/79655-dont-show-footer-other-page-only-homepage After update for Footer , just only Homepage show right ! Other page miss some function enter image description here

Homepage : enter image description here

]]>
DIDU Tue, 30 Aug 2016 11:38:34 +00:00
404 on media images, but works through ImageProcessor https://our.umbraco.org/forum/using-umbraco-and-getting-started/79652-404-on-media-images-but-works-through-imageprocessor https://our.umbraco.org/forum/using-umbraco-and-getting-started/79652-404-on-media-images-but-works-through-imageprocessor I did upgrade Umbraco to 7.5.2 from 7.4.1 and got problems with browsing media images.

All media files are stored in an Azure blob container.

When accessing an image with url /media/1015/image.png I do get a 404. But if I access the image with /media/1015/image.png?rnd=23213 or /media/1015/image.png?width=400 it works. It looks like its working when the request is going through ImageProcessor but otherwise not.

Does anyone know how to solve this problem?

]]>
Erik Engstrand Tue, 30 Aug 2016 11:12:19 +00:00
Attempt by security transparent method Error https://our.umbraco.org/forum/using-umbraco-and-getting-started/79645-attempt-by-security-transparent-method-error https://our.umbraco.org/forum/using-umbraco-and-getting-started/79645-attempt-by-security-transparent-method-error I created an umbraco website that runs very well on my development machine/local computer. But after I hosted it on hostgator by uploading the files, it crashed and gave the following error;

Website Error

I have been trying to resolve it with solutions I found online but to no AVAIL. Please I need help on this. The client is already wondering what is taking so long for his site to be up.

I'm desperate. Please help!!!

]]>
Kacey Tue, 30 Aug 2016 09:26:04 +00:00
[Merchello 2.2] Checkbox product options and limits https://our.umbraco.org/projects/collaboration/merchello/merchello/79630-merchello-22-checkbox-product-option-and-limits https://our.umbraco.org/projects/collaboration/merchello/merchello/79630-merchello-22-checkbox-product-option-and-limits I see Merchello 2.2 has brought some very nice advances in the Product Options area. I'm doing a website for a catering company, and I need to limit the amount of product option selections that the customer can pick from, i.e. in relation to the main course or the dessert. I'd also like them to be able to select multiple dishes by checkboxes.

Is that doable, or do I need to look at the source?

Thanks,
Simon

]]>
Simon Justesen Mon, 29 Aug 2016 14:36:03 +00:00
Tea Commerce Setup problem https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79616-tea-commerce-setup-problem https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79616-tea-commerce-setup-problem Hello Guys, Is there any Guide how to setup Tea Commerce in umbraco and create basic stuff like orders, checkout, etc? I know that it is kind of "stupid question" but the best thing that I found in web id "starter kit" and figure out how it work by looking into this project. I've also found a tutorial how to set up everything on author blog but it was for 1 version. Umbraco 7 runs third..

Best Regards Kamil

]]>
Kamil Hadas Mon, 29 Aug 2016 07:32:20 +00:00
Memory cache refresh https://our.umbraco.org/forum/using-umbraco-and-getting-started/79614-memory-cache-refresh https://our.umbraco.org/forum/using-umbraco-and-getting-started/79614-memory-cache-refresh Hi all,

Umbraco 7.5.1 with flexible or traditional lb (2 Virtual machines) update only xml file but page load show old page.

How can I update in-memory cache on my front-end servers?

True

not working for me

Thanks, Mike

]]>
Michael Mon, 29 Aug 2016 07:16:54 +00:00
Angular JS and Umbraco dashboard https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/79610-angular-js-and-umbraco-dashboard https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/79610-angular-js-and-umbraco-dashboard Hi

I'm just refreshing my Umbraco knowledge after 10 months away from it. Can anyone give me a clue on how to add the value of a checkbox (attribute on a page in the website) to the dashboard. And make it possible to edit the value of the checkbox - I need to be able to turn on/off the checkbox value from the dashboard.

I've so far added a new section to the dashboard's content area, and have created a plugin for the checkbox view.

Any clues?

]]>
Marianne Larsen Sun, 28 Aug 2016 09:43:21 +00:00
Dropdown navigation https://our.umbraco.org/forum/templates-partial-views-and-macros/79607-dropdown-navigation https://our.umbraco.org/forum/templates-partial-views-and-macros/79607-dropdown-navigation Mjellow,

I've been searching the entire internet for guides how to make a proper dropdown menu in Razor/Umbraco 7 with parent and child classes and more but, without much success.

I can render a menu fine as a "navigation" or "site map" macro but it doesn't cover my need. My experience with Umbraco doesn't allow me to make what I wish so, I hope you guru's can help me out :o)

  • My content has a page entitled "produkter/products"
  • I'd like to render out the subpages (the blue lines) in the menu
  • I'd like to display the purple lines (categories) underneath
  • And inside the categories I'd like to show the brand names (red lines)
  • All the steps should have each their classes like "category, brand" which I can't get to work using the prebuild macros in Umbraco.

I know this is a huge task but I hope you guys can help me out :) If you have any tips, tricks about this navigation OR how I arrange my product menu, please tell me :o)

enter image description here Full size image

]]>
Mike Bertelsen Sat, 27 Aug 2016 22:19:46 +00:00
Some comments on SurfaceController/RenderMvcController https://our.umbraco.org/forum/using-umbraco-and-getting-started/79604-some-comments-on-surfacecontrollerrendermvccontroller https://our.umbraco.org/forum/using-umbraco-and-getting-started/79604-some-comments-on-surfacecontrollerrendermvccontroller I am a traditional MVC developer for a couple of years. Just started to learn Umbraco.

After spending a bit time to go through whole framework, I would like to share some of my thoughts: 1. Back office concept is great and makes editor/creator life a lot easier. Whole idea is "Data first", "Data driven". Leave data formatting to the UI expert which I consider this is not a "programmer/developer" job.

  1. Regarding controller, I cannot see big advantage over traditional MVC. Maybe I just started Umbraco... Why need to separate "SurfaceController/RenderMvcController" , why need to inherit RenderModel to bind customer model to the view? In traditional MVC binding model to the view and sending data from view to the controller is so easy and straightforward. The introducing of SurfaceController/RenderMvcController looks like "drawing snakes with legs". Maybe the idea behind these controllers are to communicate with Umbraco objects. If this is the case, maybe it could be called "UmbracoController", and leave "standard" MVC job to the traditional controller.

Thanks.

]]>
Robert Sat, 27 Aug 2016 13:24:03 +00:00
Error Accessing Document Types After upgrade from 7.2.8 - 7.4.3 - 7.5.2 https://our.umbraco.org/forum/using-umbraco-and-getting-started/79602-error-accessing-document-types-after-upgrade-from-728-743-752 https://our.umbraco.org/forum/using-umbraco-and-getting-started/79602-error-accessing-document-types-after-upgrade-from-728-743-752 Hi all, I went from 7.2.8 to 7.4.3 - had issues with media types, then upgraded to 7.5.2 and get an error while attempting to access a few of my document types. I have seen similar posts regarding the same nature of error when they (Deepak) tried to access content, so it seems this error is replicate-able and possible a continuing bug during upgrades.

Here is the INNER EXCEPTION:

at Umbraco.Web.Models.Mapping.PropertyTypeGroupResolver1.MapProperties(IEnumerable1 properties, IContentTypeBase contentType, Int32 groupId, Boolean inherited) at Umbraco.Web.Models.Mapping.PropertyTypeGroupResolver1.ResolveCore(IContentTypeComposition source) at AutoMapper.ValueResolver2.Resolve(ResolutionResult source) at AutoMapper.PropertyMap.b__6(ResolutionResult current, IValueResolver resolver) at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func) at AutoMapper.PropertyMap.ResolveValue(ResolutionContext context) at AutoMapper.Mappers.TypeMapObjectMapperRegistry.PropertyMapMappingStrategy.MapPropertyValue(ResolutionContext context, IMappingEngineRunner mapper, Object mappedObject, PropertyMap propertyMap)

How to resolve?

Also, nuget is not installing the assemblies correctly. I had to physically add the dlls and update the config files. I have spent well over 2 weeks in total (not concurrently) trying to upgrade past 7.2.8 with an Enterprise sized website using Multiple languages. I'm starting to get a bit nervous...

08/29/2016: I looked into possibly rebuilding the document types and re-importing them from the .udt file. The import doesn't work and I can't change and delete document types because that will knock out every single page in all my websites.

]]>
Brett Spencer Fri, 26 Aug 2016 23:15:55 +00:00
NullReferenceException for OrderShipped notification https://our.umbraco.org/projects/collaboration/merchello/merchello/79599-nullreferenceexception-for-ordershipped-notification https://our.umbraco.org/projects/collaboration/merchello/merchello/79599-nullreferenceexception-for-ordershipped-notification Hi,

I'm getting a NullReferenceException for the OrderShipped notification. The error occurs in RazorMonitorBase in the OnNext() method:

public override void OnNext(TModel value)
{
    if (!Messages.Any()) return;

    var formatter = new RazorFormatter(value);

    foreach (var message in Messages)
    {
        // --> Error occurs here because value.Contacts is null
        if (value.Contacts.Any() && message.SendToCustomer)
        {
            // add the additional contacts to the recipients list
            if (!message.Recipients.EndsWith(";"))
                message.Recipients += ";";

            if (message.Recipients[0] == ';')
                message.Recipients = message.Recipients.TrimStart(';');

            message.Recipients = string.Format("{0}{1}", message.Recipients, string.Join(";", value.Contacts));
        }

        // send the message
        NotificationContext.Send(message, formatter);
    }
}

I'm not really sure how to prevent this error, since it seems that the Contacts property is never set in the OrderShippedTrigger class:

protected override void Notify(IShipment model, IEnumerable<string> contacts)
{
    if (model == null || !model.Items.Any()) return;
    // The contacts parameter is never passed into the factory?
    var notifyModel = _factory.Value.Build(model);

    NotifyMonitors(notifyModel);
}

So even if I provide an empty list of contacts to the Notification.Trigger() method it still doesn't fix the issue...

]]>
William Zhang Fri, 26 Aug 2016 18:03:21 +00:00
MembershipHelper, Custom Calculator and Ajax Issue https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79594-membershiphelper-custom-calculator-and-ajax-issue https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79594-membershiphelper-custom-calculator-and-ajax-issue Hello,

I am currently experiencing a strange problem I was hoping you might be able to shed some light on.

Firstly I am running Umbraco v7.4.3 and Teacommerce 3.1.1 as well as utilising the shoppingCart.js and teaCommerceEvents.js files from the example site. I have added some CustomPrice and CustomOrderLine calculators which sit in the AppCode/TeaCommerce folder as well.

The issue I am having is that everything works fine when browsing the site as normal, such as viewing products, variants, basket, etc. but then randomly I start getting problems with the AddToBasket, increase quantity buttons, etc. in that I receive 500 errors from the form post.

I have analysed using the developer tools to see what is happening on the Ajax posts and the errors are occuring in the custom calculators.

Basically I create a membershiphelper based on the current UmbracoContext and normally this is picking up the user I am logged in as when browsing the site normally. However when I click the AddToBasket, Increase Qty buttons which have the Ajax calls, the user being returned is 'admin' which errors admin is an Umbraco user and not a member and the referenced properties do not exist.

The crux of it is, do you have any idea why the 'admin' user is being returned rather than the current logged in member when creating a membershiphelper in a custom calculator from an Ajax call??

Example code is shown below:

        MembershipHelper mHelper = new MembershipHelper(UmbracoContext.Current);
        var helper = new UmbracoHelper(UmbracoContext.Current);
        var countries = TeaCommerce.Umbraco.Web.TC.GetCountries(1);
        decimal basePrice = Convert.ToDecimal(helper.TypedContent(productIdentifier).GetPropertyValue("price"));
        decimal discountLevel = 0;
        if (mHelper.IsLoggedIn())
        {
            discountLevel = Convert.ToDecimal(mHelper.GetCurrentMember().GetPropertyValue("discount"));
        }
]]>
Graham Carr Fri, 26 Aug 2016 14:07:54 +00:00
Multi Step Approval Workflow https://our.umbraco.org/forum/using-umbraco-and-getting-started/79569-multi-step-approval-workflow https://our.umbraco.org/forum/using-umbraco-and-getting-started/79569-multi-step-approval-workflow Hi guys,

I'm aware that Umbraco 7 has a form of approval system however are there any packages that help with multi-step approval workflow?

I.E. Getting a peice of content reviewed by multiple people before it goes live.

Thanks

]]>
Mohammad Adnan Thu, 25 Aug 2016 23:23:47 +00:00
WHERE operation with a DynamicNodeList https://our.umbraco.org/forum/templates-partial-views-and-macros/79527-linq-where-clause-to-dynamicnodelist https://our.umbraco.org/forum/templates-partial-views-and-macros/79527-linq-where-clause-to-dynamicnodelist I got this problem where I want to do this:

filtered = yearFolder.Children.Where(x=> (x.placement.First().Id) ==  source);

But yearFolder is dynamic and therefore I get the following error:

"Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type"

Full Code is below:

@inherits umbraco.MacroEngines.DynamicNodeContext
@using System.Globalization;
@{ 
    int source = Convert.ToInt32(@Parameter.source); 

    dynamic yearFolders = Model.NodeById(6207).Children.Where("NodeTypeAlias == \"IndholdMappeYear\"").OrderBy("createDate").Take(2);

    string caption = "";

    foreach (var yearFolder in yearFolders) {

        dynamic filtered;

        if (source == 0) {
            filtered = yearFolder;
        }else {
            filtered = yearFolder.Children.Where(x=> (x.placement.First().Id) ==  source);
        }

        foreach (var debat in filtered.Children) {      

        }
    }
}

Does anyone know a work-around ?

Im using Umbraco 4.11.10

]]>
Nicolai Wed, 24 Aug 2016 20:03:59 +00:00
Merchello 2.2.0 Release https://our.umbraco.org/projects/collaboration/merchello/merchello/79494-merchello-220-release https://our.umbraco.org/projects/collaboration/merchello/merchello/79494-merchello-220-release Merchello 2.2.0

New Features

Shared Product Options

Back office users may now create product options that can be shared with multiple products.

When associating a shared product option with a product:

  • A subset of choices can be selected
  • A default selected choice can now be set
  • An option can be "tagged" with an "UI Option" which allows for changing the element used in front end implementations for choice selection. Default UI Options are "select" and "radio". These are configurable from in the merchello.config file.
  • Product option can be extended with a detached content type. This allows individual option choices to have custom extended published property values associated with the for more feature rich front end implementations.

Performance Tweaks

  • Back office now uses bulk insert operations (SQL Server only) when generating / saving variants on product save.
  • IProductContent is now cached in Umbraco's Runtime cache.
  • Collection paged query key results are now cached in Umbraco's Request cache to help deter execution of SQL calls more than once in a single request.

Updates

  • Non Shippable items are automatically fulfilled when purchased.
  • Unobtrusive JavaScript - FastTrack now sets unobtrusive javascript settings on install
  • Regions FastTrack checkout address forms now allow for text entry of Region / Province if regions are not configured in the merchello.config. Drop down list is still provided in cases where regions are configured.

Bug Fixes

  • Fixes issue with PayPal provider not sending order confirmation email correctly in FastTrack build.
  • Fixes issue with Braintree provider refund payment back office dialog reference
  • Fixes shipping rate quote caching issue adding additional dependencies on country code and region name.

SQL Database Schema Changes and data updates

In order to verify that your current implementation has upgraded successfully, the Merchello upgrade migration should have:

  • Added a new record in the merchTypeField table with pk value of 'AF98E419-8B4A-44C8-AFDE-A7FFB2B9AF7F' for the ProductOption type.
  • A new column named 'shared' of type bit was added to the merchProductOption table. Default is 0
  • A new column named 'uiOption' of type nvarchar(50) was added to the merchProductOption table. Default is NULL.
  • A new column named 'detachedContentTypeKey' was added to the merchProductOption table of type UNIQUEIDENTIFIER with default value of NULL.
  • A new column named 'detachedContentValues' was added to merchProductAttribute of type NTEXT with default value of NULL.
  • A new column named 'isDefaultChoice' was added to the merchProductAttribute table with type BIT with default value of 0
  • A new table named merchProductOptionAttributeShare was added to the database.
  • A new column was added to the merchProduct2ProductOption table named 'useName' of type NVARCHAR(255) with default value NULL

Umbraco Version

Merchello tested against Umbraco 7.4.3, 7.5.0 and 7.5.2

It is recommended that you upgrade your Umbraco installation to Umbraco 7.5.x before upgrading Merchello.

Copy over Merchello binaries (dlls) in the bin directory. Copy over the AppPlugins/Merchello and AppPlugins/MerchelloProviders directory (note if you have made any configuration changes in the merchello.config make sure to retain those).

Change log http://issues.merchello.com/youtrack/rest/agile/Merchello-1/sprint/2.2.0

]]>
Rusty Swayne Tue, 23 Aug 2016 18:58:59 +00:00
ClaimsIdentity error after updating to 7.5 https://our.umbraco.org/forum/using-umbraco-and-getting-started/79464-claimsidentity-error-after-updating-to-75 https://our.umbraco.org/forum/using-umbraco-and-getting-started/79464-claimsidentity-error-after-updating-to-75 Trying out Umbraco 7.5 after upgrading from 7.2.8.

I'm able to login to the backend and do things just fine. Also no problems viewing the actual site.

Another user gets the following error when they trying to do pretty much anything (though they can log in) and when they try to view an actual page on the site:

Cannot create a Umbraco.Core.Security.UmbracoBackOfficeIdentity from System.Security.Claims.ClaimsIdentity since the required claim http://umbraco.org/2015/02/identity/claims/backoffice/sessionid is missing

I'm not really sure what this means and searching Google hasn't really brought up anything.

I do also see the following error in the log, but it possibly only shows up when a user first tries to login after application startup (I'm not totally sure):

Umbraco.Core.Security.AuthenticationExtensions - The current identity cannot be converted to Umbraco.Core.Security.UmbracoBackOfficeIdentity

]]>
Kurt Mon, 22 Aug 2016 20:02:06 +00:00
Get List Of Products from Collections - Merchello https://our.umbraco.org/projects/collaboration/merchello/merchello/79449-get-list-of-products-from-collections-merchello https://our.umbraco.org/projects/collaboration/merchello/merchello/79449-get-list-of-products-from-collections-merchello Hi Guys,

I would like to achive something similiar to TypedProductContentFromCollection but I want to get products from multiple collections.

I have a category search where users can select multiple categories and one they click on the filter button, the system will get all products in those categories.

Now I want something where it keeps also track of the pagination, like passing the page and itemsperpage.

Any help would be much appreciated.

Thank you

Kind Regards

]]>
Simon Mon, 22 Aug 2016 13:12:54 +00:00
7.4.3 to 7.5 upgrade blank login screen https://our.umbraco.org/forum/using-umbraco-and-getting-started/79424-743-to-75-upgrade-blank-login-screen https://our.umbraco.org/forum/using-umbraco-and-getting-started/79424-743-to-75-upgrade-blank-login-screen Just completed a NuGet upgrade of a 7.4.3 site to 7.5. On startup for the first time I just get the login screen with no username and password fields. All I see is the Umbraco logo and "Happy funky friday" on a black screen.

Using W10 Chrome Version 52.0.2743.116 m (64-bit), removed all cookies and have done several Empty Cache and Hard Reloads but to no avail. I can see the username and password fields HTML in the source, but they aren't accessible to a user so can't log in and get to work.

Anyone else getting this?

]]>
Craig100 Fri, 19 Aug 2016 15:52:30 +00:00
SEOChecker: Error in PageNotFound Module https://our.umbraco.org/projects/website-utilities/seo-checker/bugs/79399-seochecker-error-in-pagenotfound-module https://our.umbraco.org/projects/website-utilities/seo-checker/bugs/79399-seochecker-error-in-pagenotfound-module Has anyone come up with a solution for this error yet?

2016-08-18 00:06:48,566 [P18936/D2/T333] ERROR SEOChecker.HttpModules.UrlModule - SEOChecker: Error in PageNotFound Module
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at SEOChecker.Core.Repository.UrlHistory.UrlHistoryRepository.GetNodeIdByUrl(Uri uri)
   at SEOChecker.Core.Providers.NotFoundProviders.SEOCheckerContentNotFoundurlHistoryProvider.GetResultByUrl(Uri uri)
   at SEOChecker.Core.Providers.NotFoundProviders.SEONotFoundProviders.GetResultByUri(Uri uri)
   at SEOChecker.HttpModules.UrlModule.(Object , EventArgs )

I've seen plenty of people ask about it but seems like it doesn't ever get answered.

I hate to be negative about what is on the surface of it a great product but this is hammering the performance on my server and making me think I really shouldn't be using this in a production environment.

Any moments of genius or inspiration greatly appreciated!

Thanks

]]>
Michael Sims Thu, 18 Aug 2016 22:31:40 +00:00
fresh install of Umbraco 7.2...over 100 erros on compilation! https://our.umbraco.org/forum/using-umbraco-and-getting-started/79379-fresh-install-of-umbraco-72over-100-erros-on-compilation https://our.umbraco.org/forum/using-umbraco-and-getting-started/79379-fresh-install-of-umbraco-72over-100-erros-on-compilation WIndows 10 + VS2015 Community...ran on first compilation but when I included all of the files in the project there are over 100 errors. What did I do wrong?

]]>
hugh Thu, 18 Aug 2016 09:57:14 +00:00
Can't access one specific variant property https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79320-cant-access-one-specific-variant-property https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/79320-cant-access-one-specific-variant-property I added a few fields to the variant (text boxes and media picker) and all seem to work fine. I've since added a new field (check box) which appears to save fine in the back office - but when trying to get the value in my view it is always 'false' regardless of what it is in the back office.

Is there anything you know of that would cause this? I am getting bool/checkbox values ok from fields at the product level just not this one on the variant.

Another thing (though I can't be sure this was the cause) - I tried deleting the property from the document type and recreating it with a different name. Doing that seems to have caused some products to loose the variants that were set up for them - is this possible? I'm now reluctant to change anything in the variant doc type in case this happens.

]]>
Richard B Tue, 16 Aug 2016 10:59:14 +00:00
{localLink:xxx} isn't encoding properly https://our.umbraco.org/forum/using-umbraco-and-getting-started/77781-locallinkxxx-isnt-encoding-properly https://our.umbraco.org/forum/using-umbraco-and-getting-started/77781-locallinkxxx-isnt-encoding-properly Hi.

We've noticed a problem with local links on two of our 7.4.3 sites. Basically we've found the "{" and "}" are rendering out as %7B and %7D when you go to click on the link so the link fails with a

A potentially dangerous Request.Path value was detected from the client (:).

error when the user clicks it.

The html in the browser's view source and the Umbraco RTE shows

<a data-id="12132" href="#" title="Staff support">For a full list of other sessions click here.</a>

however, in Chrome and IE when you mouse over or click on the link it renders http://intranet.local/%7BlocalLink:12132%7D

This has happened on 2 separate 7.4.3 sites which have been built in isolation although they do share a few common packages and a custom AD login for the back office we've built in-house.

We've only noticed this as an issue in the last week or so and these packages have been installed since the sites were first set up a couple of months ago so I don't think they're the cause.

Any suggestions on what might be causing this would be greatly appreciated.

Cheers

Chris

]]>
Chris Smith Mon, 06 Jun 2016 15:48:06 +00:00
Multiple user https://our.umbraco.org/forum/using-umbraco-and-getting-started/77151-multiple-user https://our.umbraco.org/forum/using-umbraco-and-getting-started/77151-multiple-user Hi,

it is possible in Umbraco Admin with multiple user access?

]]>
Alex Tue, 10 May 2016 09:11:37 +00:00
USky Slider Conflicts with Umbraco 7.4.3 https://our.umbraco.org/projects/backoffice-extensions/uskyslider/bug-reports/76805-usky-slider-conflicts-with-umbraco-743 https://our.umbraco.org/projects/backoffice-extensions/uskyslider/bug-reports/76805-usky-slider-conflicts-with-umbraco-743 Hi, I have had a problem recently with the latest upgrades of Umbraco 7.4.1 - 7.4.3 where images are not working correctly in the Image picker control.

In debug the error says TypeError: Cannot read property 'dataY' of undefined in the DependencyHandler.axd. It took me a long time to work out that it was this control - I had to do a brand new install and work my way up by adding in existing controls until I found the cause. If I remove this control I no longer have this issue. Is there a fix or do I need to look at a different control?

enter image description here

]]>
Jonathan Roberts Fri, 22 Apr 2016 10:14:11 +00:00
LeBlender and Umbraco as a Service https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/75159-leblender-and-umbraco-as-a-service https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/75159-leblender-and-umbraco-as-a-service Hi! :-)

Have any of you tried using LeBlender on Umbraco as a Service?..

Because it edit's the grid.editors.config.js file, but as i understand when Umbraco as a Service upgrades, i will overwrite the file :-(

Looking forward to your answers :-)

]]>
Anders Brohus Wed, 17 Feb 2016 10:32:51 +00:00
Adding font awesome icons to 'previous' and 'next' buttons in Umbraco Forms https://our.umbraco.org/forum/umbraco-pro/contour/73489-adding-font-awesome-icons-to-previous-and-next-buttons-in-umbraco-forms https://our.umbraco.org/forum/umbraco-pro/contour/73489-adding-font-awesome-icons-to-previous-and-next-buttons-in-umbraco-forms I'm trying to add some font-awesome icons to the 'previous' and 'next' buttons of Umbraco forms. I've tried to replace the input button tags with a button tag. While this allows me to insert an icon next to the text, the form stops to function properly. The 'next' button still seems to function, but the 'previous' button now acts as the 'submit' button. See code below.

<button type="submit" class="btn prev cancel btn-upper " name="__prev">
    <i class="fa fa-caret-left"></i> @Model.PreviousCaption
</button>

Does anyone have a working solution for this?

]]>
Peter Sinke Mon, 07 Dec 2015 09:31:10 +00:00
Umbraco Forms v4.01 - Multi-page form losing record data https://our.umbraco.org/forum/umbraco-pro/contour/64146-Umbraco-Forms-v401-Multi-page-form-losing-record-data https://our.umbraco.org/forum/umbraco-pro/contour/64146-Umbraco-Forms-v401-Multi-page-form-losing-record-data We have a number of users who have created multi-page forms with the new Umbraco Forms (usually in the forms of surveys).  We recently received word from one user that they are occasionally losing mandatory data on form entries in these forms.  The data loss is always on a page boundary so on the 3-page form, generally only the last page will be recorded to the database.

Poking through, it looks like by the time the submission comes around, somehow the TempData dictionary was cleared of previous page values.  The form still validates (as it only validates on the current page) but a significant amount of information is missing.  The UFRecordData... tables appear not to have rows for these entries and the UFRecords RecordData column has empty single quotes in its JSON.

I've been able to recreate this by disabling cookies but I don't suspect that that is the only culprit here (10% of form submissions in one case!)

Has anyone come across this behavior and/or know any good way of troubleshooting or logging this?  I don't see any log messages coming from Umbraco Forms, which is unfortunate.

]]>
Lucas Chasteen Tue, 21 Apr 2015 00:02:36 +00:00
Back Office Login password reset https://our.umbraco.org/forum/developers/extending-umbraco/48493-Back-Office-Login-password-reset https://our.umbraco.org/forum/developers/extending-umbraco/48493-Back-Office-Login-password-reset Hello,

I'm working with Umbraco 6.1.6, and I have some requirements around the back office login:

1)  I need to enforce a password change every X number of days

2) I need a "Forgot your password?" link on the login page (which will present a form to enter username and have a new password emailed out.  Possibly a secret question/answer component to this as well)

3) Lock out a user after X number of retries. (and display "Locked Out" when they try to log in)

4) A specific password strength/rules.

I know there are options on the "UsersMembershipProvider" membership provider for this, which is great.  Here is what I have for the provider in my web.config:

 

<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" 
     enablePasswordRetrieval="false" 
     enablePasswordReset="true" 
     requiresQuestionAndAnswer="true" 
     passwordFormat="Hashed" 
     requiresUniqueEmail="true" 
     maxInvalidPasswordAttempts="3" 
     passwordAttemptWindow="10" 
     minRequiredPasswordLength="5" 
     passwordStrengthRegularExpression=".*" /><!-- allow any strength password for now -->

 

However...

This only solves (4) and partially (3).  None of this alters the login page in any way, so there is no forgot password link, if a user is locked out the form will just shake red like normal and not display a locked out message (so how do they know they're locked out?), and no way to enforce a change every X days.

I understand if I implement my own provider, I can enforce that a user must change their password.  However I don't understand how I am to convey that to the user and present them with a form to do so.  

I've found some articles on how to do some of this for a member login, but I need to do this for the back office login.  I also considered creating my own login page, but I am not sure how to authenticate into the back office with it.  

Any help on solving any of these 4 requirements would be greatly appreciated.

Thanks!

]]>
Terry Wed, 19 Feb 2014 18:41:43 +00:00