Liferay Issues

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Test Sessions Access more options
    • Getting Started
PUBLIC - Liferay Portal Community Edition
  • PUBLIC - Liferay Portal Community Edition
  • LPS-19139

Exporting lars broken

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: No Longer Reproducible
  • Affects Version/s: 6.1.0 CE RC1
  • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
  • Component/s: Frameworks, Frameworks > Export/Import, WCM, WCM > Sites Administration
  • Labels:
    • community-verifier
  • Environment:
    Tomcat 6.0.32 + MySQL 5. 6.1.x Revision 85909.
  • Similar Issues:
    Show 4 results 

    LPS-11935Export/Import LAR in Shopping Porlet is broken
    LPS-923Calendar portlet: LAR file import broken
    LPS-921Bookmarks Portlet: Importing a LAR function is broken.
    LPS-17622Exporting LAR throws NoSuchFileException

Description

I think that exporting public pages actually exports the private pages.

1 Login with test@liferay.com
2 Have a couple of public pages and private pages for him (I had the social networking portlets on them).
3 Go to my public pages
4 Manage Pages
5 Export (public.lar)
6 Go to my private pages
7 Manage Pages
8 Export (private.lar)

Results: The private.lar are public pages and not private pages.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    log.log
    21/Jul/11 5:49 AM
    5 kB
    Robert Biter

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions Summary
  • Commits
Hide
Permalink
Ginson Ren added a comment - 21/Jul/11 10:58 PM

Hi Robert,
Thank you for your report. I was able to reproduce this issue in Liferay Portal 6.0.12 and our current trunk head. I will update this ticket to reflect this issue.

Show
Ginson Ren added a comment - 21/Jul/11 10:58 PM Hi Robert, Thank you for your report. I was able to reproduce this issue in Liferay Portal 6.0.12 and our current trunk head. I will update this ticket to reflect this issue.
Hide
Permalink
Ginson Ren added a comment - 21/Jul/11 11:03 PM

On the trunk,after I clicked export,and clicked more options,I can not downroll to the end.

Show
Ginson Ren added a comment - 21/Jul/11 11:03 PM On the trunk,after I clicked export,and clicked more options,I can not downroll to the end.
Hide
Permalink
Ginson Ren added a comment - 21/Jul/11 11:18 PM

I think the Lar is not breake,I can export/import the lar successful.But control console display errors.

Show
Ginson Ren added a comment - 21/Jul/11 11:18 PM I think the Lar is not breake,I can export/import the lar successful.But control console display errors.
Hide
Permalink
Robert Biter added a comment - 21/Jul/11 11:58 PM

Indeed, I can not scroll down in the modal window that appears when clicking manage pages for example, but that is another bug (at least on Opera there is this behavior).

Show
Robert Biter added a comment - 21/Jul/11 11:58 PM Indeed, I can not scroll down in the modal window that appears when clicking manage pages for example, but that is another bug (at least on Opera there is this behavior).
Hide
Permalink
Ginson Ren added a comment - 22/Jul/11 12:59 AM

Sorry Robert,my mistake, LPS-18161this issue is about the problem of downroll.

Show
Ginson Ren added a comment - 22/Jul/11 12:59 AM Sorry Robert,my mistake, LPS-18161 this issue is about the problem of downroll.
Hide
Permalink
Ginson Ren added a comment - 22/Jul/11 1:47 AM

Hi Robert, thanks for the report. I tried to reproduce this issue but could not. Please ensure you have a fresh environment with no other issues that may interfere with the bug. If I cannot reproduce this issue, it cannot be fixed. Thanks!

Show
Ginson Ren added a comment - 22/Jul/11 1:47 AM Hi Robert, thanks for the report. I tried to reproduce this issue but could not. Please ensure you have a fresh environment with no other issues that may interfere with the bug. If I cannot reproduce this issue, it cannot be fixed. Thanks!
Hide
Permalink
Ginson Ren added a comment - 22/Jul/11 1:50 AM

Update resolution as cannot reproduce.

Show
Ginson Ren added a comment - 22/Jul/11 1:50 AM Update resolution as cannot reproduce.
Hide
Permalink
Robert Biter added a comment - 22/Jul/11 2:18 AM

For me, it exported the private pages instead of the public pages. So, when I created the default lars for new users, they only got private pages even if I created the lars from public pages. There is definitely an issue there. If you get an exception in the console, you must check it out.

Show
Robert Biter added a comment - 22/Jul/11 2:18 AM For me, it exported the private pages instead of the public pages. So, when I created the default lars for new users, they only got private pages even if I created the lars from public pages. There is definitely an issue there. If you get an exception in the console, you must check it out.
Hide
Permalink
Ginson Ren added a comment - 25/Jul/11 1:17 AM

Hi Robert,I tried to reproduce this issue on 6.1.x revision 85820 and I was unable to reproduce.Please update to our current trunk head and try again.If it still does not work,please show me the steps that you reproduce.

Show
Ginson Ren added a comment - 25/Jul/11 1:17 AM Hi Robert,I tried to reproduce this issue on 6.1.x revision 85820 and I was unable to reproduce.Please update to our current trunk head and try again.If it still does not work,please show me the steps that you reproduce.
Hide
Permalink
Ginson Ren added a comment - 25/Jul/11 2:32 AM

Reproduce as following steps:
(1)Add new site from control panel;
(2)Add one public page and one private page for the new site;
(3)Export public page as a lar;
(4)Clear database and Browser Cache;
(5)Restart the server;
(6)Go to the control panel and add a new site;
(7)Import public page.

Show
Ginson Ren added a comment - 25/Jul/11 2:32 AM Reproduce as following steps: (1)Add new site from control panel; (2)Add one public page and one private page for the new site; (3)Export public page as a lar; (4)Clear database and Browser Cache; (5)Restart the server; (6)Go to the control panel and add a new site; (7)Import public page.
Hide
Permalink
Robert Biter added a comment - 25/Jul/11 4:34 AM

Steps to reproduce (Revision 85838):
1 Login with test@liferay.com
2 Have a couple of public pages and private pages for him (I had the social networking portlets on them).
3 Go to my public pages
4 Manage Pages
5 Export (public.lar)
6 Go to my private pages
7 Manage Pages
8 Export (private.lar)

The exported lars contain the same layouts and the same portlets (both private and public) even though they are different. Using this lars as default lars for a new user nets me a user that only has private pages and the pages are actually a copy of the pages I had as public pages when I exported the lar.

If you can't reproduce this please tell me.

Show
Robert Biter added a comment - 25/Jul/11 4:34 AM Steps to reproduce (Revision 85838): 1 Login with test@liferay.com 2 Have a couple of public pages and private pages for him (I had the social networking portlets on them). 3 Go to my public pages 4 Manage Pages 5 Export (public.lar) 6 Go to my private pages 7 Manage Pages 8 Export (private.lar) The exported lars contain the same layouts and the same portlets (both private and public) even though they are different. Using this lars as default lars for a new user nets me a user that only has private pages and the pages are actually a copy of the pages I had as public pages when I exported the lar. If you can't reproduce this please tell me.
Hide
Permalink
Ginson Ren added a comment - 25/Jul/11 10:57 PM

Hi Robert,
Thanks for the report.I need more information in order to reproduce this issue. Could you also show me the steps for how to use these lars as default lars for a new user and as you said the exported lars contain the same layouts and the same portlets,how did you distinguish them? Thanks very much!

Show
Ginson Ren added a comment - 25/Jul/11 10:57 PM Hi Robert, Thanks for the report.I need more information in order to reproduce this issue. Could you also show me the steps for how to use these lars as default lars for a new user and as you said the exported lars contain the same layouts and the same portlets,how did you distinguish them? Thanks very much!
Hide
Permalink
Robert Biter added a comment - 26/Jul/11 12:31 AM

You add this to portal-ext.properties
default.user.public.layouts.lar=$

{liferay.home}/data/user_public.lar
default.user.private.layouts.lar=${liferay.home}

/data/user_private.lar

You add the lars to the data directory (found next to tomcat and deploy)

To see the contents of the lars, you can change their extension to .zip and browse through them like an archive. When you export them, have 3 public pages with some portlets and 2 private pages with other portlets. You will see it exports the same data.

Show
Robert Biter added a comment - 26/Jul/11 12:31 AM You add this to portal-ext.properties default.user.public.layouts.lar=$ {liferay.home}/data/user_public.lar default.user.private.layouts.lar=${liferay.home} /data/user_private.lar You add the lars to the data directory (found next to tomcat and deploy) To see the contents of the lars, you can change their extension to .zip and browse through them like an archive. When you export them, have 3 public pages with some portlets and 2 private pages with other portlets. You will see it exports the same data.
Hide
Permalink
Tammy Fong added a comment - 26/Jul/11 12:50 AM

Hi Robert,
I am able to reproduce the issue. The export lar of public and private pages are the same; both lars are of public pages. I will reopen the ticket and update the issue. Thank you for your patience.

Show
Tammy Fong added a comment - 26/Jul/11 12:50 AM Hi Robert, I am able to reproduce the issue. The export lar of public and private pages are the same; both lars are of public pages. I will reopen the ticket and update the issue. Thank you for your patience.
Hide
Permalink
Drew Blessing added a comment - 25/Jan/12 8:48 PM

Hi Robert,

As part of the community verifier program I am taking a look at this issue.

I am unable to reproduce this on Liferay 6.1 GA1 per your last comment's steps. Can you verify that this is no longer a bug in 6.1 GA1?

Thanks!

Show
Drew Blessing added a comment - 25/Jan/12 8:48 PM Hi Robert, As part of the community verifier program I am taking a look at this issue. I am unable to reproduce this on Liferay 6.1 GA1 per your last comment's steps. Can you verify that this is no longer a bug in 6.1 GA1? Thanks!
Hide
Permalink
Michael Saechang added a comment - 30/Apr/12 4:10 PM

Issue has not been updated in over two months. Closing as 'No Longer Reproducible'.

Show
Michael Saechang added a comment - 30/Apr/12 4:10 PM Issue has not been updated in over two months. Closing as 'No Longer Reproducible'.

People

  • Assignee:
    Michael Saechang
    Reporter:
    Robert Biter
    Participants of an Issue:
    Drew Blessing, Ginson Ren, Michael Saechang, Robert Biter, Tammy Fong
Vote (0)
Watch (4)

Dates

  • Created:
    21/Jul/11 5:49 AM
    Updated:
    14/Mar/13 3:38 PM
    Resolved:
    30/Apr/12 4:10 PM
    Days since last comment:
    1 year, 3 weeks, 4 days ago

Agile

  • View on Board
  • Atlassian JIRA (v5.2.11#854-sha1:ef00d61)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Liferay. Try JIRA - bug tracking software for your team.