Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Rotterdam CS
Portlet installed version and Portlet available version
April 16, 2012 12:15 PM
Answer

Rotterdam CS

Rank: New Member

Posts: 17

Join Date: December 15, 2011

Recent Posts

Hi
I have two problems related to this:

1) In the Update Manger section the Available Version column is not filled. (just a "-" is displayed even I know there are newer versions)
2) In the Plugin Installer section the Installed Version column is not filled. (just a "-" is displayed even i know i have the portlet installed)

This is happening with all custom portlets we(our company) has published in the community plugins section.

What should I do to get this working?

Is something related with the Trusted column saying "No"? if so, how a community portlet can be Trusted ?

Note: this is happening to me in Liferay 6.0.6 and 6.1.0
TIA,
Hitoshi Ozawa
RE: Portlet installed version and Portlet available version
April 16, 2012 3:27 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Is your Liferay server connected to the Internet? If you're behind a proxy, you'll need to set it up.
When you startup Liferay, an error message should display when it can't connect to the Liferay.com site.
David H Nebinger
RE: Portlet installed version and Portlet available version
April 16, 2012 4:20 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6680

Join Date: September 1, 2006

Recent Posts

Since he said custom portlets, I don't think he's talking about the Liferay community site.

I think he's under the impression that there is some kind of local repository that differentiates what's installed w/ possible version upgrades.
Rotterdam CS
RE: Portlet installed version and Portlet available version
April 17, 2012 11:17 AM
Answer

Rotterdam CS

Rank: New Member

Posts: 17

Join Date: December 15, 2011

Recent Posts

Hi All,

Apparently i didn't explain very well my problem, i will try again:

1) From a running Liferay I go to the Update Manager section (Control Panel -> , Update Manager). In this case, i see the list of my installed portlets. From the portlet i have developed myself, i see the "Installed Version" column filled (i.e. 2.1.2) but the available version column is only showing "-" even I know that i have newer versions for a specific portlet.

2) From a running Liferay i go to the "Plugin Installer" section (Control Panel -> Plugin Installation -> Install More Portlets). In this case, i can see a list with all the available portlet to install, including the ones developed by me with all its versions. So I am able to see Available version perfectly but the Installed version column shows "-". Here it is not detecting that i have already installed a portlet.

Is it clearer this time? Any idea?

This is an example of one of the portlet i am talking about:
http://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/11816131

TIA,
Hitoshi Ozawa
RE: Portlet installed version and Portlet available version
April 17, 2012 2:41 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

So, you're able to connect to the liferay.com site. Seems like a bug in looking up new versions at community portlet site.
David H Nebinger
RE: Portlet installed version and Portlet available version
April 17, 2012 3:13 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6680

Join Date: September 1, 2006

Recent Posts

Hitoshi, these are their own custom portlets, not community portlets.
David H Nebinger
RE: Portlet installed version and Portlet available version
April 17, 2012 3:18 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6680

Join Date: September 1, 2006

Recent Posts

Plugins Admin:
Is it clearer this time? Any idea?


Your custom portlets are not the same as community portlets. If you deploy a portlet plugin, say "sample-portlet.war" into the deploy directory, it gets deployed. There are no multiple versions as you drop new sample-portlet.war files into the deploy directory, it always gets replaced with the previous version. There is no 'local portlet repository' that you can choose to upgrade from.

Now, in the case of community portlets, there is a difference because there is a remote portlet repository, such as the community repository. In this case Liferay knows the local version and also knows the remote version, and can show you the difference between the two and allow you to update to another version.

Again, your local portlets are not in a repository and therefore are not available to do updates to.

The differences you're seeing in the interface are a reflection of the fact that they are local portlets and not remote portlets.
Hitoshi Ozawa
RE: Portlet installed version and Portlet available version
April 17, 2012 5:22 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

They are contributing to Liferay.com so it's available from Liferay.com's community plugin download page. Check the url that was given. It's www.liferay.com/downloads. They're upgrading the portlets. They probably wants every users who are using their portlets they have contributed to Liferay.com be notified of the latest version. It probably not about their own setup not getting the notice, but about other users who are using their portlets not getting the notice.

He's probably just testing at his site if every user is getting notified.

http://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/11816131
Rotterdam CS
RE: Portlet installed version and Portlet available version
April 18, 2012 5:54 AM
Answer

Rotterdam CS

Rank: New Member

Posts: 17

Join Date: December 15, 2011

Recent Posts

HI David,

I am sorry if i confused you the first time, but i am talking about community portlets. The company i work for has developed a couple of portlets and shared them with the Liferay community and you can check them searching for RCS (Rotterdam CS) plugins into the community section of www.liferay.com.

Just to make it clearer, i am installing them by the "Install more plugins" section of a running Liferay. I am not manually coping a war file to the deploy folder.

Regards,
David H Nebinger
RE: Portlet installed version and Portlet available version
April 18, 2012 5:58 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6680

Join Date: September 1, 2006

Recent Posts

Snap, I did get hung up on that initial post...
Rotterdam CS
RE: Portlet installed version and Portlet available version
April 18, 2012 6:32 AM
Answer

Rotterdam CS

Rank: New Member

Posts: 17

Join Date: December 15, 2011

Recent Posts

Hi All,

My guessing is that i have something missing somewhere. This is what i am setting in the liferay-plugin-package.properties:

name=RCS Newsletter
module-group-id=RotterdamCS
module-incremental-version=1
tags=newsletter, newsletters, news, letter, letters, email, mail, subscriptions, mailing, lists, liferay newsletter, newsletter portlet, liferay mailing, liferay newsletter portlet, liferay mail list, rotterdam
short-description=The aim of this project is to fulfill with all the features of a Newsletter.
change-log=Adding template support
page-url=http://lplugins.download.rotterdam-cs.com/
author=Rotterdam CS
licenses=APACHE

1) Are you able to see any problem there?
2) After installing a portlet , is the version information stored anywhere in the database? if so, do you know where?

TIA,
Rotterdam CS
RE: Portlet installed version and Portlet available version
April 23, 2012 1:54 PM
Answer

Rotterdam CS

Rank: New Member

Posts: 17

Join Date: December 15, 2011

Recent Posts

Hi All,

I have found the solution for this, these are the conclusions:

1) There is not relationship between trusted sites and automatic update notifications.

2) My mistake was having bud configured the Artifact and Group ID fields.

For making this work, keep in mind this:

A) The Artefact ID field in the product in the Liferay community site must be the same than the name of the war without version. (i.e. if the file is my-war-portlet-2.1.0.war, the field should be my-war-portlet)

B ) The group ID field should be the same than the module-group-id property in the file liferay-plugin-package.properties.

That's all!