Bug 588507
Summary: | WAR file deployed against Tomcat shows an incorrect installation date. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Corey Welton <cwelton> | ||||
Component: | Plugins | Assignee: | Jirka Kremser <jkremser> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.4 | CC: | ahovsepy, jkremser, mazz, mharvey, spinder | ||||
Target Milestone: | --- | ||||||
Target Release: | RHQ 4.5.0 | ||||||
Hardware: | All | ||||||
OS: | Windows | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-08-31 10:14:59 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: | 683054, 577051, 586123, 625146 | ||||||
Attachments: |
|
Description
Corey Welton
2010-05-03 20:24:40 UTC
I've run into this problem and looked into it as well and it turns out that the Content -> Deployed Content list uses InstallledPackage.installationDate, while the actual Package Version(fixed in 589173) uses the PackageVersion.fileCreationTime. These appear to serve the same purpose but exist on two different objects and tables. Not completely sure why. Proposed fix, change named query InstalledPackage.QUERY_FIND_PACKAGE_LIST_ITEM_COMPOSITE to use the PackageVersion details. As a result of BZ 589173, almost all packages(excluding webapps deployed exploded before rhq) now have the fileCreated date set if it's obtainable. Queries of rhq_package_version show almost full population of timestamp, excluding case above, while queries of rhq_installed_package are almost devoid of timestamp information. This should fix many places in the code where timestamp simply displays epoch/computer zero time. This bug also manifests itself when EDS VDBs are deployed to a server. We're seeing 14987 days 22 hours, and the like. Speaking to Stefan, this is no related to his content fixes, so unassigning from that tracker BZ Reassigning to jon3.1.0. It would be good to fix, as per its priority http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=f2ab06c git log master time: Tue Jun 19 10:50:45 2012 +0200 commit: f2ab06c2f62a77655d37ddcdce82eb16fe06fd91 author: Jirka Kremser - jkremser message: [BZ 588507 - WAR file deployed against Tomcat shows an incorrect installation date] Instalation date is now taken from InstalledPackage instance instead of PackageVersion instance Created attachment 601691 [details]
deploy content
verified.
installation date under TomcatVirtualHost->localhost->deployedWar->Content is set correct.
Bulk close of old bugs in VERIFIED state. |