Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Maximiliano Chiesa
Error when Basic Document's title containts "/"
February 8, 2013 12:41 PM
Answer

Maximiliano Chiesa

Rank: Junior Member

Posts: 47

Join Date: July 20, 2012

Recent Posts

I'm getting an error when trying to create a Basic Document when the title contains a "/".

The error says that the name of the document is not correct. If I remove the "/" the basic document is saved ok.

Is this behavior ok? Is there any way of fixing this?

Thanks in advance!
David H Nebinger
RE: Error when Basic Document's title containts "/"
February 8, 2013 12:59 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7238

Join Date: September 1, 2006

Recent Posts

No. Effectively you're defining a path (filesystem, url) which would make it invalid when you try to get it in the future.
Hitoshi Ozawa
RE: Error when Basic Document's title containts "/"
February 9, 2013 3:52 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Is this behavior ok? Is there any way of fixing this?


What David means is this is an expected behavior. You're just have to fix your document title not to use "/".
Maximiliano Chiesa
RE: Error when Basic Document's title containts "/"
March 19, 2013 6:45 AM
Answer

Maximiliano Chiesa

Rank: Junior Member

Posts: 47

Join Date: July 20, 2012

Recent Posts

David, Hitoshi, thank you very much for your help.

Sorry for the late answer.

Regards, Maximiliano.