Added Purchase Order provider to Merchello.Providers.
Exposes Entity Collection Queries through the MerchelloHelper.
Added non-redirecting "starting point" implementation for change password and forgot password.
Breaking Changes
ProductCollection has been made internal which now implements a public IProductCollection.
PagedCollection has been moved from Merchello.Web.Models to Merchello.Core.Models in preparation for later releases.
Lambda tree methods for the collection trees such as Sibilings, Ancestor, AncestorOrSelf, Descendant, DescendantOrSelf ...
Updates
Obsoletes MerchelloContext.Current.Cache with recommendation to use Umbraco's ApplicationContext.Current.ApplicationCache
Moved the section language key (for the Merchello section) into the plugin language file.
Obsoletes the ProductVariantService. Operations should be done directly through the ProductService. ProductVariantService will eventually be removed in V3 (for Umbraco V8).
Changed the label on Notification message dialog from "Attached Event" to "Attached Trigger" to reduce confusion.
Updated manage collection dialog changing label for "Cancel" to "Close" to reduce confusion.
Refactors Core models to Lazy load property info.
Bug fixes
Fixes issue where Sales Listing icons disappear on mouseover.
Fixes sorting issue of collection in back office tree.
Fixes exception thrown in ShipmentRateQuoteStrategyBase when region has been changed.
Umbraco Version
Merchello tested against Umbraco 7.5.3
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).
Upgrade your Umbraco installation to Umbraco 7.5.3 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).
Well done Rusty! You've been busy. Couple things which you are probably aware of, but prevented me from trying your new build.
1) I installed a fresh 7.5.3 Umbraco from Nuget to try your new build.. Ran, installed etc. Then with nothing else (no doc types, no nodes, barebones install):
Ran Install-Package Merchello.Core
See screen shot errors. DB tables are not created either. Binaries are copied, however.
2) I just assumed there are some NuGet issues.. So I tried the old-fashioned way of downloading package from here https://our.umbraco.org/projects/collaboration/merchello/ it reports 2.3 but when you download you'll actually get Merchello_2.2.1.zip
Hope that helps. Looking forward to trying. Let me know happy to try / test fresh scenario again for you!
Hi,
I would like to know how I have to do to update Merchello to version 2.3.0 from 2.2.1. I downloaded the zip file of the latest version, but does not contain any new dll to replace the old ones as mentioned in the release notes.
You could try what Rusty suggested above and use Nuget to grab the binaries. Didn't work for me, but maybe you'll have more luck.
If you download Package here https://our.umbraco.org/projects/collaboration/merchello/ using the green button in the top right that says 2.3 . It will download the 2.2.1 zip file.. Which I installed. It is the same from the Umbraco backoffice package manager. It will say 2.3 but when you install it is actually 2.2.1.
Then down below all the notes in Package Files tab, is the actual 2.3 zip file package. I downloaded this and installed.. Now I'm getting
Totally my bad. I did not mark click the "Current Version" for the package when I uploaded the package file in the our.umbraco.org package manager so if you clicked the green button you were still downloading the 2.2.1 version.
I always install a fresh Umbraco, Fresh Merchello (and FastTrack if you are using that) and then copy/merge the dlls/files from that site into my existing site.
Hi Rusty,
I got some break in my current Merchello project. I think this is in relation to braking change of the version 2.3.
On my custom store, I get products in categories like that:
store.GetPropertyValue
ProductContentListView is a property on the store page of type "Merchello Product ListView". After updating to 2.3.2 the properties return always Null.
Any suggestion?
var VedetteCol = Merchello.Collections.Product.GetAll().Where(c => c.Name == "Test");
var produits = Merchello.ProductContentQuery().ConstrainBy(VedetteCol).Execute();
it is?
Because I got a error: "Can't load type 'Merchello.FastTrack.Configuration.FastTrackCOnfiguration' from the 'Merchello.FastTrack' assembly Version 2.1.60003.17067
I just start the update over. I copy all DLL, and app_configs/fastTrack, Merchello and MerchelloProviders on my project.
I change the way I get the products too:
ProductCollection Cat = store.GetPropertyValue<ProductCollection>("enVedette");
var produits = Cat.GetProducts();
But i got the same problem when calling Cat.GetProduts().
I see the update 2.3.2 add a fasttrack.config file in the app_configs/fasttrack/config. I do not use fasttrack starting template, I just use some partial view inside a custom store template. So I change all the ContentTypeAlias in the fasttrack.config file to the one that we use. But nothing changes. I am lost. ;-)
EDIT:
I think I found something. Before the 2.3.2 we got to change the file FastTrackUIHelper.ca. Now this file is gone.
When I trace the error in source code: I found that the problem is located in FastTrackConfiguration.ca (Merchello.FastTrack\Configuration) at the line 57
public string ContentTypeAliasStore
{
get { return Section.Settings["ContentTypeAliasStore"].Value; }
}
Because the Section is Null
This code return null:
/// <summary>
/// Gets the <see cref="FastTrackSection"/> Configuration Element
/// </summary>
public FastTrackSection Section
{
get { return (FastTrackSection)ConfigurationManager.GetSection(ConfigurationName); }
}
But I do not found why for now...
EDIT2:
I found it! 2 line missing on the web.config file:
Rusty, with the 2.3.2 version can I remove the oldfile UIHelper and just change the UmbracoModel directly in the fasttrack.config? How Can I get the StoreRoot or thing like that on the 2.3.2 version. (on the 2.2.0 we doing UIHelper.Content.GetStoreRoot();
If I understand you're final question, all of the FastTrack view models are generated through Models builder (without any modification). It's pretty straight forward to swap them with whatever model you need.
One of the main uses of the UIHelper in the fast track was simply to provide URL for the stages in the checkout workflow - this also can easily be refactored - even directly in the view.
Merchello 2.3.0 Release
New Features
MerchelloHelper
.Breaking Changes
ProductCollection
has been made internal which now implements a publicIProductCollection
.PagedCollection
has been moved fromMerchello.Web.Models
toMerchello.Core.Models
in preparation for later releases.Updates
MerchelloContext.Current.Cache
with recommendation to use Umbraco'sApplicationContext.Current.ApplicationCache
ProductVariantService
. Operations should be done directly through theProductService
.ProductVariantService
will eventually be removed in V3 (for Umbraco V8).Bug fixes
ShipmentRateQuoteStrategyBase
when region has been changed.Umbraco Version
Merchello tested against Umbraco 7.5.3
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).
Upgrade your Umbraco installation to Umbraco 7.5.3 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/agiles/76-1/77-71
Well done Rusty! You've been busy. Couple things which you are probably aware of, but prevented me from trying your new build.
1) I installed a fresh 7.5.3 Umbraco from Nuget to try your new build.. Ran, installed etc. Then with nothing else (no doc types, no nodes, barebones install):
Ran
Install-Package Merchello.Core
See screen shot errors. DB tables are not created either. Binaries are copied, however.
2) I just assumed there are some NuGet issues.. So I tried the old-fashioned way of downloading package from here https://our.umbraco.org/projects/collaboration/merchello/ it reports 2.3 but when you download you'll actually get Merchello_2.2.1.zip
Hope that helps. Looking forward to trying. Let me know happy to try / test fresh scenario again for you!
-Marc
Hey M N
The NuGet package does not do an install - you have to install Merchello through the package manager. NuGet is intended for your supporting libraries.
Our aim is to offer a Merchello NuGet package (in addition to the Merchello.Core package in V3)
Thanks for the info Rusty! Still fail, but i'm going to try a fresh install later today. Cheers
Awesome Job Rusty! Thanks for all the efforts.
Hi, I would like to know how I have to do to update Merchello to version 2.3.0 from 2.2.1. I downloaded the zip file of the latest version, but does not contain any new dll to replace the old ones as mentioned in the release notes.
You could try what Rusty suggested above and use Nuget to grab the binaries. Didn't work for me, but maybe you'll have more luck.
If you download Package here https://our.umbraco.org/projects/collaboration/merchello/ using the green button in the top right that says 2.3 . It will download the 2.2.1 zip file.. Which I installed. It is the same from the Umbraco backoffice package manager. It will say 2.3 but when you install it is actually 2.2.1.
Then down below all the notes in Package Files tab, is the actual 2.3 zip file package. I downloaded this and installed.. Now I'm getting
"NetworkError: 500 Internal Server Error - http://localhost:7369/umbraco/backoffice/Merchello/SettingsApi/GetAllCountries"
Kind of gave up, but if you figure anything out would be happy to hear how :)
Totally my bad. I did not mark click the "Current Version" for the package when I uploaded the package file in the our.umbraco.org package manager so if you clicked the green button you were still downloading the 2.2.1 version.
Whoops - sorry about that - but fixed now.
I would like to know too how the UPDATE process is handled best.
In the release notes it says copy over the DLL but in the latest 2.3.0 package it only contains guid-filenames.
So can I just install that package in the Backoffice? Or is there another way?
Help Appreciated.
I always install a fresh Umbraco, Fresh Merchello (and FastTrack if you are using that) and then copy/merge the dlls/files from that site into my existing site.
Thanks for your reply Trevor. That is basically the same approach I took too. Good to know :)
Hi Rusty, I got some break in my current Merchello project. I think this is in relation to braking change of the version 2.3.
On my custom store, I get products in categories like that:
store.GetPropertyValue
ProductContentListView is a property on the store page of type "Merchello Product ListView". After updating to 2.3.2 the properties return always Null. Any suggestion?
I think I found that the new way is more:
it is?
Because I got a error: "Can't load type 'Merchello.FastTrack.Configuration.FastTrackCOnfiguration' from the 'Merchello.FastTrack' assembly Version 2.1.60003.17067
Any suggestion? I think thaht doing a GetPropertyValue of a ProductContentListView always return null now with this new update.
I have not been able to replicate this. What is the "raw" value - GUID?
I just start the update over. I copy all DLL, and app_configs/fastTrack, Merchello and MerchelloProviders on my project.
I change the way I get the products too:
But i got the same problem when calling Cat.GetProduts().
I see the update 2.3.2 add a fasttrack.config file in the app_configs/fasttrack/config. I do not use fasttrack starting template, I just use some partial view inside a custom store template. So I change all the ContentTypeAlias in the fasttrack.config file to the one that we use. But nothing changes. I am lost. ;-)
EDIT: I think I found something. Before the 2.3.2 we got to change the file FastTrackUIHelper.ca. Now this file is gone. When I trace the error in source code: I found that the problem is located in FastTrackConfiguration.ca (Merchello.FastTrack\Configuration) at the line 57
Because the Section is Null This code return null:
But I do not found why for now...
EDIT2:
I found it! 2 line missing on the web.config file:
Under Configuration/Configurations
Then
Rusty, with the 2.3.2 version can I remove the oldfile UIHelper and just change the UmbracoModel directly in the fasttrack.config? How Can I get the StoreRoot or thing like that on the 2.3.2 version. (on the 2.2.0 we doing UIHelper.Content.GetStoreRoot();
If I understand you're final question, all of the FastTrack view models are generated through Models builder (without any modification). It's pretty straight forward to swap them with whatever model you need.
One of the main uses of the UIHelper in the fast track was simply to provide URL for the stages in the checkout workflow - this also can easily be refactored - even directly in the view.
is working on a reply...