Fórum

Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

thumbnail
MANOVINAYAK AYYAPPAN, modificado 12 Anos atrás.

Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Regular Member Postagens: 131 Data de Entrada: 13/06/11 Postagens Recentes
Hi All,

We had developed a custom theme for our Project in 6.0.6 Community Edition. All is well with 6.0.6.

Right now we have plans for moving the Project to 6.1, so I am working on moving the existing theme which was developed in 6.0.6 to 6.1.

The build was Successful, but during Deployment, I get the following message:

"Themes in this WAR are not compatible with Liferay Portal Community Edition / 6.1.0"

Does that mean that the Theme developed in 6.0.6 is quite different from 6.1.0, or am I missing something. Please let me know.
Below is the end part of the Stack Trace from my Local Tomcat 7 server.

  Copying 1073 files to D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\tomcat-7.0.22\webapps\oneplaz-theme
  Copying 1 file to D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\tomcat-7.0.22\webapps\oneplaz-theme
  Deleting directory D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\tomcat-7.0.22\temp\20111221070953092
07:10:43,188 INFO  [ThemeAutoDeployListener:50] Themes for D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\deploy\oneplaz-theme-6.1.0.1.war copied successfully. Deployment will start in a few seconds.
07:10:48,355 INFO  [PluginPackageUtil:1101] Reading plugin package for oneplaz-theme
Dec 21, 2011 7:10:48 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/oneplaz-theme]
07:10:58,908 WARN  [PluginPackageUtil:1367] Unable to reindex unistalled package oneplaz-theme: Unable to communicate with repository http://plugins.liferay.com/official
07:10:58,908 INFO  [ThemeHotDeployListener:211] Unregistering themes for oneplaz-theme
07:10:58,908 INFO  [ThemeHotDeployListener:247] 0 themes for oneplaz-theme was unregistered
07:10:59,720 INFO  [PluginPackageUtil:1101] Reading plugin package for oneplaz-theme
07:10:59,829 INFO  [ThemeHotDeployListener:256] Registering themes for oneplaz-theme
07:10:59,845 ERROR [ThemeLocalServiceImpl:489] Themes in this WAR are not compatible with Liferay Portal Community Edition / 6.1.0
07:10:59,845 INFO  [ThemeHotDeployListener:189] 0 themes for oneplaz-theme are available for use



I know that is very early to move to 6.1.0, but we are currently executing a POC, as we felt that this is the right time.

Please help in this regard.

Thanks and Regards,
Mano
thumbnail
Maarten van Heiningen, modificado 12 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Regular Member Postagens: 174 Data de Entrada: 05/02/09 Postagens Recentes
Hi,

Did you check the liferay-look-and-feel.xml in the WEB-INF folder?

here you will need to make sure the server version is supported.

<!--?xml version="1.0"?-->


<look-and-feel>
	<compatibility>
		<version>6.1.0+</version>
	</compatibility>
	<theme id="YOUR-THEME-ID" name="YOUR-THEME-NAME" />
</look-and-feel>
thumbnail
MANOVINAYAK AYYAPPAN, modificado 12 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Regular Member Postagens: 131 Data de Entrada: 13/06/11 Postagens Recentes
Hi Maarten van Heiningen,

Bingo !!! Thanks a lot emoticon !!!! You are a genius emoticon.

I changed the <version>6.1.0+</version> and it worked perfectly well.

Now I am able to get the theme deployed and even apply it to my pages.

Thanks a lot once again emoticon !!!

Thanks and Regards,
Mano
thumbnail
Maarten van Heiningen, modificado 12 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Regular Member Postagens: 174 Data de Entrada: 05/02/09 Postagens Recentes
Thanks emoticon I hope you get the POC working well.

Best Maarten
thumbnail
Geeta Raghu Vamsi Kotipalli, modificado 12 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Junior Member Postagens: 58 Data de Entrada: 10/11/11 Postagens Recentes
MANOVINAYAK AYYAPPAN:
Hi Maarten van Heiningen,

Bingo !!! Thanks a lot emoticon !!!! You are a genius emoticon.

I changed the <version>6.1.0+</version> and it worked perfectly well.

Now I am able to get the theme deployed and even apply it to my pages.

Thanks a lot once again emoticon !!!

Thanks and Regards,
Mano



So theme Migration From a Lower Version to Higher Version Matters Only just with the Change of the Version Name in the Xml???

If So Can i Try making that Work A migration from 5.1.2 to 6.0.6????
thumbnail
MANOVINAYAK AYYAPPAN, modificado 12 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Regular Member Postagens: 131 Data de Entrada: 13/06/11 Postagens Recentes
Hi Vamsi,

I dont think so. I had a challenge in deploying the Theme.

But after deploying and applying to pages, I have lot of inconsistencies, for which I need to make changes to the VM templates based on 6.1 standard VM templates.
I need to do many more changes, so this is proving to be more like a mini development.

Regards,
Mano
Michele Giacobazzi, modificado 11 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Junior Member Postagens: 40 Data de Entrada: 09/09/11 Postagens Recentes
In my "old theme" i got:


	<compatibility>
		<version>6.0.6+</version>
	</compatibility>


what is that (+) supposed to mean? I thought it could be "from version 6.0.6 on".
Is there a way to produce a war compatible with both 6.0.6 and 6.1.0?
Michele Giacobazzi, modificado 11 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Junior Member Postagens: 40 Data de Entrada: 09/09/11 Postagens Recentes
I discovered that you can add more than one version tag.


    <compatibility>
        <version>6.0.6+</version>
        <version>6.1.0+</version>
    </compatibility>


I'm still wondering what does the + sign stands for. The dtd does no mention of it.
thumbnail
MANOVINAYAK AYYAPPAN, modificado 11 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Regular Member Postagens: 131 Data de Entrada: 13/06/11 Postagens Recentes
I believe (+) should refer to the last digit of the version.
.6 + should be for .7 and so onemoticon

Regards,
Mano
mehdi sunasara, modificado 11 Anos atrás.

RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta

Junior Member Postagens: 26 Data de Entrada: 12/09/12 Postagens Recentes
Still it is not able to work........
It shows error like

"No theme found for specified theme ID .Returning to default theme"