Fórumok

Wrong reference to image in articles when importing from lar

thumbnail
Aritz Galdos, módosítva 15 év-val korábban

Wrong reference to image in articles when importing from lar

Expert Bejegyzések: 416 Csatlakozás dátuma: 2007.05.15. Legújabb bejegyzések
Hi there:

I have problems when i import articles that reference images in the image galery.

I´ll try to explain this in detail with a li´l example.

Supose I add an imagen to IG and then I create an article and I include the image in the article. It generates its html code wich includes the reference to de image. The reference looks something like this

src="/image/image_gallery?uuid=XXXXXX&groupId=@group_id@&t=YYYYYY"

Then, I export the public community in which I am showing the article in a Journal content portlet.

Then, in a new community, (does not matter if in a new server or just in another community) I import the lar. Every thing looks fine but the image. The image is actually imported correctly BUT with a new UUID (Lets say uuid=ZZZZZZZZ). And here comes the problem. The content of the imported article still points to XXXXXX instead of ZZZZZZZ which causes a broken image link.

Did anyone noticed this problem before?!

Any help wold be appreciated!

thanks folks!
thumbnail
Samuel Kong, módosítva 15 év-val korábban

RE: Wrong reference to image in articles when importing from lar

Liferay Legend Bejegyzések: 1902 Csatlakozás dátuma: 2008.03.10. Legújabb bejegyzések
There has been a few bug fixes related to this:

http://issues.liferay.com/browse/LPS-51
http://issues.liferay.com/browse/LPS-589
http://issues.liferay.com/browse/LPS-812

All these bugs are fixed in 5.2.1.
thumbnail
Aritz Galdos, módosítva 15 év-val korábban

RE: Wrong reference to image in articles when importing from lar

Expert Bejegyzések: 416 Csatlakozás dátuma: 2007.05.15. Legújabb bejegyzések
Great!

Thanks a lot!

I am trying to patch de source.