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-29297 Web content versioning and expiration...
  • LPS-29300

New version is created every time you click "Publish" button

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

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
  • Fix Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
  • Component/s: WCM > Web Content Administration
  • Labels:
    • QA-R
    • bugsquad
    • community-verifier
    • usability
  • Environment:
    Liferay 6.1.1 CE GA2
  • Business Value:
    3
  • Similar Issues:
    Show 5 results 

    LPS-7370Floating panel creates a new paginator on every click
    LPS-25166Web Content increments version every time it is published to live even if there are no changes
    LPS-28005Error when publishing two pages at the same time
    LPS-23819Asset Publisher "Add New" button not disapear when you click in Edit Controls
    LPS-16939If you select a Folder while adding a Document to Asset Publisher, the next time you try to add a Document you can no longer select a different Folder.

Description

When user edits web content he sees message "A new version will be created automatically if this content is modified.". This is incorrect because every time users click "Publish" button new version is created. When I've looked in source code I didn't found any comparision functions. It's like nothing is checked so even without any changes Liferay adds new version.

Possible solutions:
1. Define fileds that will be checked for changes. For example Content field (including structures!) will be checked but Shedule section will not. Also, update user documentation.
2. Delete that message.

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

Attachments

  1. eoNetworks1.png
    62 kB
    16/Aug/12 5:53 AM

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions Summary
  • Commits
Hide
Permalink
Mika Koivisto added a comment - 17/Dec/12 5:15 PM

This issue has been resolved in LPS-28886.

Show
Mika Koivisto added a comment - 17/Dec/12 5:15 PM This issue has been resolved in LPS-28886 .
Hide
Permalink
Mika Koivisto added a comment - 25/Dec/12 1:35 PM

My mistake I confused this with Doclib issue but this isn't implemented in web content.

Show
Mika Koivisto added a comment - 25/Dec/12 1:35 PM My mistake I confused this with Doclib issue but this isn't implemented in web content.
Hide
Permalink
Mika Koivisto added a comment - 25/Dec/12 1:37 PM

Hey Jorge,

Can we implement similar versioning strategy to web content as we did with D&M on LPS-28886?

Show
Mika Koivisto added a comment - 25/Dec/12 1:37 PM Hey Jorge, Can we implement similar versioning strategy to web content as we did with D&M on LPS-28886 ?
Hide
Permalink
Jorge Ferrer added a comment - 26/Dec/12 7:22 AM

I think that the issue is probably not entirely clear. The reason why it says modified is because the new version is created if any modification is done and saved. Even if you don't publish and saved as draft.

Possible alternative messages would be:
"A new version will be created automatically if this content is modified and saved."
"A new version will be created automatically if this content is saved as draft or published."

BTW, Mika I really don't find any relationship between LPS-28886 and this ticket.

Show
Jorge Ferrer added a comment - 26/Dec/12 7:22 AM I think that the issue is probably not entirely clear. The reason why it says modified is because the new version is created if any modification is done and saved. Even if you don't publish and saved as draft. Possible alternative messages would be: "A new version will be created automatically if this content is modified and saved." "A new version will be created automatically if this content is saved as draft or published." BTW, Mika I really don't find any relationship between LPS-28886 and this ticket.
Hide
Permalink
Mika Koivisto added a comment - 26/Dec/12 11:37 PM

Jorge, the relation is that in doclib we used to create a new version every time you checked in a document even if there we no changes (we also retained the old behavior with property so you could set the versioning policy). So what's suggested here is to implement similar functionality for web content. Now granted web content doesn't have the same check out / check in as documents.

Show
Mika Koivisto added a comment - 26/Dec/12 11:37 PM Jorge, the relation is that in doclib we used to create a new version every time you checked in a document even if there we no changes (we also retained the old behavior with property so you could set the versioning policy). So what's suggested here is to implement similar functionality for web content. Now granted web content doesn't have the same check out / check in as documents.
Hide
Permalink
Jorge Ferrer added a comment - 27/Dec/12 1:40 AM

I see. Yeah, I don't think that applies here because there is no concept of checkin, checkout.

I'm going to close this as won't fix since I'm not convinced any of my suggested messages are better than the current one.

Szymon, since you are the one who got confused with the current message, if you can propose an alternative message it would be appreciated. If you do so I'll reopen or create another ticket to improve it.

Show
Jorge Ferrer added a comment - 27/Dec/12 1:40 AM I see. Yeah, I don't think that applies here because there is no concept of checkin, checkout. I'm going to close this as won't fix since I'm not convinced any of my suggested messages are better than the current one. Szymon, since you are the one who got confused with the current message, if you can propose an alternative message it would be appreciated. If you do so I'll reopen or create another ticket to improve it.
Hide
Permalink
Szymon Golebiewski added a comment - 27/Dec/12 2:35 AM

Checking in and out is a very good thing especially in companies with lots of Editors. But that's a big work. As we analyse this issue we came to conclusion that there is no easy way to compare versions of web content especially when it has complicated structure. So I propose to go with solution #2 which is "remove that confusing message".

Show
Szymon Golebiewski added a comment - 27/Dec/12 2:35 AM Checking in and out is a very good thing especially in companies with lots of Editors. But that's a big work. As we analyse this issue we came to conclusion that there is no easy way to compare versions of web content especially when it has complicated structure. So I propose to go with solution #2 which is "remove that confusing message".
Hide
Permalink
Jorge Ferrer added a comment - 27/Dec/12 7:13 AM

Hi Szymon,

Thanks for answering.

I would prefer to not just remove the message from this portlet. If anything it would be to be removed from all other places in which it is being shown (Doc Lib, Wiki, Web Content and also when creating a page revision).

We added this message so that it was clear for users that they could safely make modifications to the content because a new version would be created and the current one (which is published) will be saved as an old version. That only happens for content types that have versioning, but for example not for Blogs. Considering this, do you still think we should remove that message?

Show
Jorge Ferrer added a comment - 27/Dec/12 7:13 AM Hi Szymon, Thanks for answering. I would prefer to not just remove the message from this portlet. If anything it would be to be removed from all other places in which it is being shown (Doc Lib, Wiki, Web Content and also when creating a page revision). We added this message so that it was clear for users that they could safely make modifications to the content because a new version would be created and the current one (which is published) will be saved as an old version. That only happens for content types that have versioning, but for example not for Blogs. Considering this, do you still think we should remove that message?
Hide
Permalink
Szymon Golebiewski added a comment - 28/Dec/12 2:43 AM

Hi Jorge,

I think that users don't need to be informed about every little functionality of Liferay (or any other CMS) system. It's more "if you are using it, you should know what it can do" approach that keeps everything simple and clear. Prepare good user guide and self-explanatory user interface and such messages will be obsolote.

I also did quick research to check how does it look like in other CMS systems with content versioning or content status (draft/approved). Well, they don't show such messages.

That is why I think we should remove that message from web content edition page and from all other places in which it is being shown.

Show
Szymon Golebiewski added a comment - 28/Dec/12 2:43 AM Hi Jorge, I think that users don't need to be informed about every little functionality of Liferay (or any other CMS) system. It's more "if you are using it, you should know what it can do" approach that keeps everything simple and clear. Prepare good user guide and self-explanatory user interface and such messages will be obsolote. I also did quick research to check how does it look like in other CMS systems with content versioning or content status (draft/approved). Well, they don't show such messages. That is why I think we should remove that message from web content edition page and from all other places in which it is being shown.
Hide
Permalink
Jorge Ferrer added a comment - 28/Dec/12 4:23 AM

That's a good point. I'll run it through product management and unless there are any issue I'll make the change.

Show
Jorge Ferrer added a comment - 28/Dec/12 4:23 AM That's a good point. I'll run it through product management and unless there are any issue I'll make the change.

People

  • Assignee:
    Jorge Ferrer
    Reporter:
    Szymon Golebiewski
    Participants of an Issue:
    Jorge Ferrer, Mika Koivisto, Szymon Golebiewski
Vote (0)
Watch (1)

Dates

  • Created:
    16/Aug/12 5:53 AM
    Updated:
    28/Dec/12 4:23 AM
    Resolved:
    27/Dec/12 1:40 AM
    Days since last comment:
    24 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.