Bug 440052
Summary: | Demos don't work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Moschny <thomas.moschny> |
Component: | MochiKit | Assignee: | Adam Miller <maxamillion> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | ||
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: | 2009-02-19 15:05:50 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: |
Description
Thomas Moschny
2008-04-01 15:08:42 UTC
Ping? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Sorry for the delay, apparently MochiKit had been orphaned as a package. I picked it up this morning, there is a new release so I will be focusing on packaging that in order to get it pushed to updates and hopefully this will fix the bug, if not I will go from there in trying to track down the issue. Bug fixed, koji build complete. Awaiting testing in bodhi. Hopefully will push to stable soon. http://koji.fedoraproject.org/koji/buildinfo?buildID=82416 http://koji.fedoraproject.org/koji/buildinfo?buildID=82415 https://admin.fedoraproject.org/updates/MochiKit-1.4.2-2.fc9 https://admin.fedoraproject.org/updates/MochiKit-1.4.2-2.fc10 In order for the examples to work, you must copy the code directory for the specific example into a web publishable directory because the MochiKit code is referenced by its relative web location (which is the fix that was made, before it was a hard coded location that mirrored the directory structure of the source distribution of the upstream project). (In reply to comment #5) > In order for the examples to work, you must copy the code directory for the > specific example into a web publishable directory because the MochiKit code is > referenced by its relative web location (which is the fix that was made, before > it was a hard coded location that mirrored the directory structure of the > source distribution of the upstream project). Hm. What I wanted was to browse file:/usr/share/doc/MochiKit-*/examples, with working examples. For this to work, the example files should use a relative path to MochiKit. Or, even better, you could put them into a web-accessible location, most likely in a sub package. See httpd-manual for an example. The patch I applied does make the path relative, but the issue with viewing it on the filesystem is the path relativity is specific to the webroot, which is what is expected as JavaScript is meant to be served out to the web. I spoke with one of the previous package maintainers of MochiKit about this and he verified that the examples will need to be moved into a web published directory in order to use a relative path, otherwise the path of the MochiKit "library" JavaScript routines would have to be hard coded somewhere which would not be preferred. The bug has been fixed and has been pushed out through Bodhi, there is apparently a ticket in to infrastructure about the fact that updates are not automatically closing bugs. Marking bug as closed, relevant update links: https://admin.fedoraproject.org/updates/F10/FEDORA-2009-1665 https://admin.fedoraproject.org/updates/F9/FEDORA-2009-1527 |