View Issue Details

IDProjectCategoryView StatusLast Update
0003151OpenFOAMPatchpublic2019-01-22 13:19
Reporteralavault Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformamd64OSUbuntuOS Version18.04
Fixed in Versiondev 
Summary0003151: foamCloneCase exit with code 1 without any error showing
DescriptionThe foamCloneCase script returns 1 when 0 is expected.
Steps To Reproduce#----- General Form -----#
foamCloneCase <valid_source_case> <valid_target_directory>
echo $? # returns 1, expected 0

#----- Example script ----#
# Assuming the $FOAM_RUN directory exists
cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily
foamCloneCase pitzDaily copyOfPitzDaily
echo $?
Additional InformationOpenFOAM v6 from .deb repository (build : 6-6257b17a4cf8)
TagsNo tags attached.

Activities

alavault

2019-01-21 10:00

reporter   ~0010258

Proposed fix :
Add 'exit 0;' at the end of the file.

henry

2019-01-22 13:19

manager   ~0010260

Resolved in OpenFOAM-dev by commit 008a768286529a3f88f5c6534a6fb0d15133711b

Issue History

Date Modified Username Field Change
2019-01-21 09:48 alavault New Issue
2019-01-21 10:00 alavault Note Added: 0010258
2019-01-22 13:19 henry Category Bug => Patch
2019-01-22 13:19 henry Assigned To => henry
2019-01-22 13:19 henry Status new => resolved
2019-01-22 13:19 henry Resolution open => fixed
2019-01-22 13:19 henry Fixed in Version => dev
2019-01-22 13:19 henry Note Added: 0010260