Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
how to disable autogenerate ids 6.1ga1 (SOLVED) gordon daniels 3 maggio 2012 6.03
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 30 aprile 2012 16.18
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 3.22
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 12.51
RE: how to disable autogenerate ids 6.1ga1 Linus Sphinx 1 maggio 2012 13.33
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 15.27
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 14.19
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 14.25
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 14.27
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 15.06
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 15.22
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 15.28
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 15.32
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 15.35
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 15.44
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 15.50
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 15.53
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 15.57
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 16.03
RE: how to disable autogenerate ids 6.1ga1 Hitoshi Ozawa 1 maggio 2012 16.06
RE: how to disable autogenerate ids 6.1ga1 gordon daniels 1 maggio 2012 16.15
gordon daniels
how to disable autogenerate ids 6.1ga1 (SOLVED)
3 maggio 2012 6.03
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Hi,

I want to create my own ids for web content and so on. I put the following into portal-ext.properties, but it will not allow me to save:

journal.article.force.autogenerate.id=false

Is this the right statement or should it be called something else/

thanks
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
30 aprile 2012 16.18
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

okay I found the statement in the portal.properties jar. For those of you who would like to use alphanumeric ids here it is:

journal.article.force.autogenerate.id=false

However, it doesn't work. Here is the error message:

'Your request failed to complete. '

Anyone have an idea on how to fix?

thanks
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 3.22
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Should put that property in portal-ext.properties instead of modifying portal.properties.
Put portal-ext.properties in ROOT\WEB-INF\classes
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 12.51
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

I did have it portal-ext.properties. I extracted the value from portal.properties file. ]

I'm confused by your statement to put portal-ex.properties in /ROOT/WEB-INF/clases. I thought for 6.1.ga1 portal-ext.properties goes into /liferay-portal-6.1.

thanks for replying
Linus Sphinx
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 13.33
Risposta

Linus Sphinx

Punteggio: Junior Member

Messaggi: 84

Data di Iscrizione: 12 agosto 2010

Messaggi recenti

May be confusing it with the newer portal-setup-wizard.properties located there? Looks like portal-ext.properties still found and read from original location in tomcat-x.x/webapps/ROOT/WEB-INF/classes here. Check your home directory too, it will read either one of those it finds there, think it even takes precedence.
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.27
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

I'm disabling portal-setup-wizard.properties because it sometimes corrupt the system. It's possible to put portal-ext.properties where there's a CLASSPATH, but some application servers allow multiple nodes. If you put in at liferay-portal-6.1.0-ce-ga1, it's going to become global. It's better to keep it simple and make it always be in the same directory even when running only one instance.
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 14.19
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Hitoshi: I don't use setup-wizard. I've never read or heard anyone say to put 'portal-ext.properties' in /WEB-INF/classes directory before. I'm willing to give it a try. I'm not sure how that fixes the 'disable autogenerate' problem.

I want to be able to assign alphanumeric names to my ids for web content, docs, and images.

thanks for the reply
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 14.25
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

It's common from the earlier versions to put in under liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\ROOT\WEB-INF\classes\portal-ext.properties.

I'll test out the 'disable autogenerate' problem and see if I can reproduce it.
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 14.27
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Hitoshi: Your right. The earlier versions did that. I've moved it - just to test it out.

thanks for your help.
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.06
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Just tested it and seems to work just fine.
Allegato

Allegati: autogenerate.png (20,1k)
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.22
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Hitoshi: Yes, I get that screen also. But after entering id name here is what happens:
Allegato

Allegati: webcontent.png (26,0k)
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.28
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

I don't have such problem. Just saved it and approved it and it's displaying OK. As you can see from the attachment, I'm just entering TEST01 for the id. What are you entering?
Allegato

Allegati: autogenerate2.png (34,6k)
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.32
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

I'm entering 'HEADER'. Does it have to be aphanumeric?

I thought it could be alpha only for instance.

really appreciate the help. Its helping me to trouble shoot this.
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.35
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

I get failed to complete no matter what I do.
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.44
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Can you enter web content if the id is not autogenerated? (Well, at least the portal-ext.properties is being properly processed.)

Just tried with "HEADER" and was OK.
Allegato

Allegato

Allegati: auto1.png (26,5k), auto2.png (3,5k)
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.50
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Wow.! So its something wrong with my server.



Here is error from log:

Current URL /group/control_panel/manage?p_auth=Xmzdoc77&p_p_id=15&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&doAsGroupId=10180&refererPlid=10183&_15_struts_action=%2Fjournal%2Fedit_article generates exception: null
22:19:01,827 ERROR [IncludeTag:154] java.lang.NullPointerException

Not sure what that message means.
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.53
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

If you're on linux, you have to set the following properties too. The default is to use the ip address. Add your server's ip address to redirect.url.ips.allowed=127.0.0.1,SERVER_IP

##
## Redirect
##

#
# Set this property to "ip" or "domain" for the redirect security method. If
# set to "domain", the portal will only redirect users to domains listed in
# the property "redirect.url.domain.allowed". If set to "ip", the portal
# will only redirect to domains whose IP address resolve to an IP address
# listed in the property "redirect.url.ip.allowed".
#
#redirect.url.security.mode=domain
redirect.url.security.mode=ip

#
# Input a list of comma delimited domains which the portal is allowed to
# redirect to. Input a blank list to allow any domain.
#
redirect.url.domains.allowed=

#
# Input a list of comma delimited IPs which the portal is allowed to
# redirect to. Input a blank list to allow any IP. SERVER_IP will be
# replaced with the IP of the host server.
#
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 15.57
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Hitoshi: you are certainly the support today! Thanks will take a look and fix. I am using localhost for this box.
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 16.03
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

Hitoshi: Forgot to ask, where did you find that info?
Hitoshi Ozawa
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 16.06
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

From looking through the portal.properties file (I'm translating documents to Japanese) and from experience developing portlets. I'm often learning the hard way. :-)
gordon daniels
RE: how to disable autogenerate ids 6.1ga1
1 maggio 2012 16.15
Risposta

gordon daniels

Punteggio: Liferay Master

Messaggi: 633

Data di Iscrizione: 23 agosto 2008

Messaggi recenti

That's amazing! Well, I respect your work ethic. I've looked at the portal.properties file many times but I am not a developer, so some of it is difficult for me to understand. However, you have inspired me to study harder. Will search doc first from now on.

thanks for all your help today.