Page 1 of 1

Switching to version 4.0.0 GA

Posted: Thu Apr 16, 2015 7:26 am
by praj123
Hi

I am new to broadleaf commerce framework. I have been working on the demo site for quite a long now and trying out the tutorials on the site. However, I am facing problems in the admin section and getting errors while deleting any product. Some thymeleaf errors and also some foreign key referencing issues. In case the product for eg Sudden Death Sauce gets deleted successfully then on the site the /hot-sauces link throws exceptions. However, after some time the /hot-sauces link works fine.
This was the error i see:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "media['primary']" (catalog/partials/productListItem:5)
I researched on the problem and found that the version needs to be updated. I was using 3.1.10 GA so i followed the steps to migrate to 4.0.0 GA here http://www.broadleafcommerce.com/docs/core/4.0/migration-notes/3.1.10-to-4.0-migration

But it says the artifact is missing for 4.0.0 GA.
Missing artifact org.broadleafcommerce:broadleaf-framework:jar:4.0.0-GA
and 17 more errors. :cry:
Looks like the jars are not available for this version. Can you please tell me how do I migrate to the latest version as I am keen on trying out all the features this framework provides.

Currently I have updated the version to 3.1.13 GA. I am using tomcat server and mysql db. I have set in development properties blPU.hibernate.hbm2ddl.auto=update

Thanks in advance. :)

Re: Switching to version 4.0.0 GA

Posted: Thu Apr 16, 2015 10:17 am
by phillipuniverse
Hey Praj, we are working on an RC1 release of 4.0.0 with a GA release to follow shortly. As soon as we have that out then I will create a blog post of how to get it.

For the time being if you want to use 4.0.0 the latest beta build is 4.0.0-BETA13 that we have on our nexus. You should already have this nexus location in your root pom but if you don't this is it:

Code: Select all

<repository>
    <id>public releases</id>
    <name>public releases</name>
    <url>http://nexus.broadleafcommerce.org/nexus/content/repositories/releases/</url>
</repository>

Re: Switching to version 4.0.0 GA

Posted: Fri Apr 17, 2015 1:54 am
by praj123
Hi Philip

Thanks for your reply.

I have reverted back to 3.1.13 GA after trying to migrate to 4.0.0 GA.
So to use 4.0.0 BETA13 do I need to follow the same steps as mentioned here? http://www.broadleafcommerce.com/docs/core/4.0/migration-notes/3.1.10-to-4.0-migration
Any more changes apart from changing the version in pom.xml file?

Re: Switching to version 4.0.0 GA

Posted: Thu Apr 23, 2015 11:00 am
by phillipuniverse
Yes @praj123, we will be updating those docs over the coming days.

We have also released RC1 of the framework, check out the blog post at http://www.broadleafcommerce.com/blog/b ... -available.