Versioning: back-end displays wrong current vs working ver.

More
11 years 7 months ago #34399 by ggppdk
Your explanation is very good, also i see that above i marked a complete paragraph as bold, but i wanted to only mark as phase :|

Yes the version panel at the right of item form states wrong version as current , exactly as you described , i will fix this,

To apply a fix now, replace: (in file:) administrator/components/com_flexicontent/views/item/view.html.php
Code:
if ( !$cparams->get('use_versioning', 1) || ($row->version == $row->current_version = $row->last_version) )
with
Code:
if ( !$cparams->get('use_versioning', 1) || ($row->version == $row->current_version && $row->version == $row->last_version) )

thanks for reporting


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #34801 by jackdaniels
Thanks for the patch, it works.

However, in the "Versions history" list, it still output the "Current" label for the loaded version and *I think* it should be displayed for the current front-end version.

EDIT: I re-test the case where I publish & Approve only the 1st version, all others version were NOT approved. The version history displays the "Current" correctly at first until I got to version 5; after that, it don't display any "Current" after saving a version and changing page in "Version history" bring it back but for the last added version only.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #34809 by ggppdk
Hello,
i tested for upcoming v2.0.1 and it is correct,

please ignore it for some time,
if you still have a problem with v2.0.1 , i will examine it on-site

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.300 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline