| Summary: | csprocessor complains about directory when *file* exists | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> |
| Component: | CSProcessor | Assignee: | Lee Newson <lnewson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.x | CC: | jwulf, lcarlon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 0.22.6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-07 01:31:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Joshua Wulf
2012-03-28 11:34:51 UTC
Fixed in 0.22.6 Really you should be using identifying methods (ie filename extensions) but none the less I've done a fix. Cause: The check wasn't checking if the output was a file or a directory. Consequence: An error message would be displayed on the create command if a file existed that had the same name as the output directory. Fix: Make the check see if the output is a file or a directory. If its a directory print the error message, otherwise continue with the normal processing. Note: there is no need to print an error message if the file exists. it is only relevant for directories. Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it. |