Bug #10509
SEARCH(directory_path) returns unkown
Start date:
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
History
#1 Updated by Teodor Gorghe 11 months ago
While creating some testcases for testing some OS commands, I have encountered this issue: if you want to check the full path for a folder in your current working directory, e.g. deploy/client, SEARCH(relative_directory_path) returns unknown. The SEARCH(relative_file_path) is not affected.
I think there is no customer application that is involved in this issue.
#3 Updated by Teodor Gorghe 11 months ago
OS-CREATE-DIR("dirname") // or OS-COMMAND VALUE('mkdir dirname')
SEARCH("dirname") // OE returns the absolute directory path and FWD returns unknown
#4 Updated by Teodor Gorghe 11 months ago
- Priority changed from Low to Normal
#6 Updated by Teodor Gorghe 11 months ago
4GL also returns unknown on directories, but I was fooled by ABLUnit Assert:IsTrue when the result is unknown and there is no error message.
Assert:IsTrue(?, "message"). // OE and FWD raises the error Assert:IsTrue(?). // OE does not raise any error, but FWD raises the AssertionFailedError.
I don't currently see that in the customer, but the I have made a fix on FWD revision 16155 task branch 10509a.
#7 Updated by Teodor Gorghe 10 months ago
- Assignee set to Teodor Gorghe
- Priority changed from Normal to Low
- Status changed from New to WIP
#8 Updated by Teodor Gorghe 10 months ago
- Status changed from WIP to Internal Test
- % Done changed from 0 to 100
- reviewer Constantin Asofiei added
#9 Updated by Teodor Gorghe 10 months ago
- Status changed from Internal Test to Review
#10 Updated by Constantin Asofiei 10 months ago
- Status changed from Review to Internal Test
I'll put this into testing with other changes.
#11 Updated by Constantin Asofiei 9 months ago
- Status changed from Internal Test to Merge Pending
This can be merged after 10455a.
#12 Updated by Teodor Gorghe 9 months ago
- Status changed from Merge Pending to Test
Branch 10509a was merged to trunk rev. 16232 and archived.