Forums

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

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bruno Santos
Web Content Publishing - Misbehaviour
July 18, 2010 1:21 PM
Answer

Bruno Santos

Rank: New Member

Posts: 17

Join Date: June 30, 2010

Recent Posts

Hello all,

I have found a behaviour on the CMS Web content creation and publishing that I think is serious. When we are creating a web content we can never have it as draft after having it published. For example, I create a web content and publish it, after that I change it and only save it, after that I can only save it and never publish it again. I get the following error: Another user has made changes since you started editing. Please copy your changes and try again. When the only user using liferay backoffice is me :S. I should be able to publish again right? Do you think I should file this as a bug?


Regards
Samuel Kong
RE: Web Content Publishing - Misbehaviour
July 18, 2010 9:32 PM
Answer

Samuel Kong

LIFERAY STAFF

Rank: Liferay Master

Posts: 899

Join Date: March 10, 2008

Recent Posts

That's not a bug. Once an article has been published, it can not be unpublished. If you want, you can create a new version of the article. The new version of the article will start off as a draft.
Jorge Ferrer
RE: Web Content Publishing - Misbehaviour
July 19, 2010 12:26 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2725

Join Date: August 31, 2006

Recent Posts

Hi Bruno,

Also, check Liferay 6, we've redesigned how versioning and the approval process work and it's now much more intuitive.
Ming Chien Ng
RE: Web Content Publishing - Misbehaviour
May 5, 2011 3:06 AM
Answer

Ming Chien Ng

Rank: New Member

Posts: 10

Join Date: January 6, 2011

Recent Posts

Hi,

I'm facing the same problem and using Liferay 6 like you mentioned

This is what I did and try to make some senses on this logic :

1) Published a web content
2) Edit web content, make changes and published right away > OK
3) Edit web content, make changes and saved as draft and then published right away > OK
4) Edit web content, make changes and saved as draft and exit
5) Go back to web content, publish > NOT OK nor saved as draft

Why?

Can you explain what's the reason and logic behind this publishing bit ...please..
In additional to that, save as draft button is not disabled, so is hard to make users to understand why they can't use it since is there enabled.
Get what I'm trying to say here?

Hope to hear from you soon! emoticon

Thanks!
Hitoshi Ozawa
RE: Web Content Publishing - Misbehaviour
May 5, 2011 4:53 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 8000

Join Date: March 23, 2010

Recent Posts

I'm facing the same problem and using Liferay 6 like you mentioned


Ming, I think your problem is different from Bruno. Bruno just want to republish. Samuel replied that this can not be done because of the specification.

What you brought up seems like a bug.

4) Edit web content, make changes and saved as draft and exit
5) Go back to web content, publish > NOT OK nor saved as draft


Can you tell me how you're existing in step 4 and how you're going back in step 5 so I can reproduce your steps?

Also, how are you setting up your workflow? Are you approving the content after each publish or have you turn workflow off on Web Content?
Hitoshi Ozawa
RE: Web Content Publishing - Misbehaviour
May 5, 2011 3:20 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 8000

Join Date: March 23, 2010

Recent Posts

4) Edit web content, make changes and saved as draft and exit
5) Go back to web content, publish > NOT OK nor saved as draft


I just tested this and I can publish after getting back the saved draft.

Here are my steps.
1. Add Web Content to a page
2. Add content
3. Save as Draft
4. Select "Cancel" to exit Web Content edit
I've turned off Workflow, but the Web Content Displays ".... is not approved" This is a misleading message. (see attached figure)
 To turn off workflow - Control Panel -> Workflow Configuration -> Web Content (set to "Default: No workflow")
5. Double click on the ".... is not approved" message to bring back the content in edit mode.
6. Select "Publish" button. The content is published.
Attachment

Attachment

Attachments: webContent1.jpg (5.7k), webContent2.jpg (4.4k)
Ming Chien Ng
RE: Web Content Publishing - Misbehaviour
May 5, 2011 8:47 PM
Answer

Ming Chien Ng

Rank: New Member

Posts: 10

Join Date: January 6, 2011

Recent Posts

Hi Hitoshi,

Thanks for your reply. Your steps are correct but if you were drill in further, as in create a 2nd draft after publishing the 1st draft of the web content,the error will occurred.
I've got this error quite consistent.

1. Create web content
2. Published 1st draft.
3.Edit web content, saved as 2nd draft.
4.Exit from the page, and edit web content > click publish > NOT OK > click save as draft > NOT OK also

So basically user will stucked in 2nd draft, don't know what to do. As workaround, I copied 2nd draft, deleted the 2nd draft frm history and create another version and publish.

BUT I have just realized, if I waited for 1 min or so ...it allows me to publish ... emoticon

I might sound stupid, but that's exactly what I'm facing. emoticon

Attached are the details.

Thanks again!
Attachments: Web Content Publishing - Misbehaviour.docx (150.1k)
Hitoshi Ozawa
RE: Web Content Publishing - Misbehaviour
May 5, 2011 9:42 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 8000

Join Date: March 23, 2010

Recent Posts

I just retried you steps and did not get the error you've mentioned.

I was looking through your attached document and realized something different.
When creating a new web content, "localized", "Language", and "Default Language" should be disabled. In your first web content screen shot, they are enabled. It seems to be a screenshot of the web content "edit" rather than new web content.

BUT I have just realized, if I waited for 1 min or so ...it allows me to publish.


That is strange. If this is your development server, maybe you can test it in "Development Mode" to turn the cache off.
http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+Developer+Mode
Attachment

Attachments: webContent3.jpg (11.2k)
Manuela Neidt
RE: Web Content Publishing - Misbehaviour
January 16, 2012 11:50 PM
Answer

Manuela Neidt

Rank: New Member

Posts: 2

Join Date: October 27, 2011

Recent Posts

Hi,

I have the same problem like Ming.

1. Create web content and publish
2. Edit web content and publish
3. Content is published
4. Edit web content and save as draft
5. Content is saved as draft, press cancel
6. Published Content is shown
7. Edit web content and publish
8. Error is shown

From this moment there is no possibility to publish the web content again.
Waiting a while like Ming didn't work.

The only way is publishing in control panel.

I'm using Liferay Portal Enterprise Edition 6.0 EE SP1

Thanks!
Attachments: Web Content Publishing - Misbehaviour.docx (287.0k)
Hitoshi Ozawa
RE: Web Content Publishing - Misbehaviour
January 17, 2012 1:58 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 8000

Join Date: March 23, 2010

Recent Posts

If you're using the EE version, it may be quicker to contact Liferay support about this.

Are you using this on a local single computer without using any proxy or caching?
Sorry, but I only have CE versions and can't reproduce.
Manuela Neidt
RE: Web Content Publishing - Misbehaviour
January 26, 2012 11:22 PM
Answer

Manuela Neidt

Rank: New Member

Posts: 2

Join Date: October 27, 2011

Recent Posts

hello Hitoshi, thanks for the answer.
I'll contact Liferay support. and will be back with their answer.
regards