Bug 103389
Summary: | getPublicVersion() does NOT return the latest public version | ||
---|---|---|---|
Product: | [Retired] Red Hat Enterprise CMS | Reporter: | Mike Bonnet <mikeb> |
Component: | other | Assignee: | Vadim Nasardinov <vnasardinov> |
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-12-10 02:03:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100952 |
Description
Mike Bonnet
2003-08-29 17:36:27 UTC
(14:45:37) ad Vadim: hey mike, are you there? (15:13:16) aD mikeb: yeah, hi (15:13:47) ad Vadim: let's see... I forgot what I was going to ask you (15:14:09) ad Vadim: oh yeah, can you take a quick look at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103389 (15:14:54) aD mikeb: Yeah, what about it? (15:15:17) ad Vadim: the test case for this is reproducible via UI only. is that correct? (15:15:30) ad Vadim: can we now create multiple pending versions through the UI? (15:15:43) aD mikeb: No, it's not reproducible through the UI. (15:15:48) ad Vadim: ah, ok. (15:16:02) aD mikeb: This problem manifested itself in a unit case written by Starwood (15:16:15) aD mikeb: unit test, that is (15:16:29) ad Vadim: do you have a unit test that can be adapted to work with an existing stock content type? (15:17:12) aD mikeb: They were calling publish() multiple times without calling unpublish(), creating multiple pending versions. This was causing inconsistent behavior with associations. (15:18:24) aD mikeb: I don't have anything simple that I can use now, but you could probably write a simple one that creates 3 pending versions of an item, and then calls getPublicVersion() on the draft. (15:18:39) ad Vadim: ok, will do. thanks. (15:18:43) aD mikeb: np Fixed in the following changes Change 35699 on 2003/09/04 by vadim@el-vadimo 'This fixes the test ERROR in co' Change 35694 on 2003/09/04 by vadim@el-vadimo 'Inlined and remove the private ' Change 35693 on 2003/09/04 by vadim@el-vadimo 'Restored the caching of the pen' Change 35692 on 2003/09/04 by vadim@el-vadimo 'Inlined the implementation of g' Change 35690 on 2003/09/04 by vadim@el-vadimo 'This fixes testGetLiveItem10338' |