组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
plugins Rithm
Portlet installed version and Portlet available version
2012年4月16日 下午12:15
答复

plugins Rithm

等级: New Member

帖子: 17

加入日期: 2011年12月15日

最近的帖子

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
2012年4月16日 下午3:27
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2012年4月16日 下午4:20
答复

David H Nebinger

Community Moderator

等级: Liferay Legend

帖子: 11324

加入日期: 2006年9月1日

最近的帖子

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.
plugins Rithm
RE: Portlet installed version and Portlet available version
2012年4月17日 上午11:17
答复

plugins Rithm

等级: New Member

帖子: 17

加入日期: 2011年12月15日

最近的帖子

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
2012年4月17日 下午2:41
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2012年4月17日 下午3:13
答复

David H Nebinger

Community Moderator

等级: Liferay Legend

帖子: 11324

加入日期: 2006年9月1日

最近的帖子

Hitoshi, these are their own custom portlets, not community portlets.
David H Nebinger
RE: Portlet installed version and Portlet available version
2012年4月17日 下午3:18
答复

David H Nebinger

Community Moderator

等级: Liferay Legend

帖子: 11324

加入日期: 2006年9月1日

最近的帖子

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
2012年4月17日 下午5:22
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
plugins Rithm
RE: Portlet installed version and Portlet available version
2012年4月18日 上午5:54
答复

plugins Rithm

等级: New Member

帖子: 17

加入日期: 2011年12月15日

最近的帖子

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
2012年4月18日 上午5:58
答复

David H Nebinger

Community Moderator

等级: Liferay Legend

帖子: 11324

加入日期: 2006年9月1日

最近的帖子

Snap, I did get hung up on that initial post...
plugins Rithm
RE: Portlet installed version and Portlet available version
2012年4月18日 上午6:32
答复

plugins Rithm

等级: New Member

帖子: 17

加入日期: 2011年12月15日

最近的帖子

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,
plugins Rithm
RE: Portlet installed version and Portlet available version
2012年4月23日 下午1:54
答复

plugins Rithm

等级: New Member

帖子: 17

加入日期: 2011年12月15日

最近的帖子

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!