View Issue Details

IDProjectCategoryView StatusLast Update
0003416OpenFOAMBugpublic2019-12-21 06:24
Reporterwwzhao Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0003416: Inconsistent behavior between foamGet and findEtcDirs
DescriptionIn foamGet, line 149, it searches file at "$WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION/etc".

While in findEtcDirs function in etcFiles.C, line 87, it searches file at "searchDir/"site/etc"/FOAMversion".
TagsNo tags attached.

Activities

henry

2019-12-20 23:01

manager   ~0010997

I have updated etcFiles.C to be consistent:

commit 33cfa1319873af9eab9df954e835a87e3b6743a3 (HEAD -> master, origin/master, origin/HEAD)
Author: Henry Weller <http://openfoam.org>
Date: Fri Dec 20 23:00:26 2019 +0000

    etcFiles: Corrected handling of "site" to correspond to the documentation
    
    Resolves bug-report https://bugs.openfoam.org/view.php?id=3416

let me know if this resolves the issue you are having.

wwzhao

2019-12-21 03:24

reporter   ~0010998

Thank you, henry. It is resolved.

henry

2019-12-21 06:24

manager   ~0010999

Resolved in OpenFOAM-7 by commit 33cfa1319873af9eab9df954e835a87e3b6743a3
Resolved in OpenFOAM-dev by commit 000a3bbd8dcff2fb00250ea07310a16e3db8a835

Issue History

Date Modified Username Field Change
2019-12-20 16:39 wwzhao New Issue
2019-12-20 23:01 henry Note Added: 0010997
2019-12-21 03:24 wwzhao Note Added: 0010998
2019-12-21 06:24 henry Assigned To => henry
2019-12-21 06:24 henry Status new => resolved
2019-12-21 06:24 henry Resolution open => fixed
2019-12-21 06:24 henry Fixed in Version => 7
2019-12-21 06:24 henry Note Added: 0010999