[ACP-1889]  Plans in subfolders fail when used via web UI
Type Bug
Priority Medium
Severity Trivial
Component Plan Compiler
Fixed In Version [9.19.1
Versions Affected [9.09.0
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 8/1/2022

Description
See this Comm Center thread by Matthew Craig. The Plan Compiler cannot resolve "same folder" (plan-relative) references for #chain, and for #xxxflats.

He has solved it with a logic change, and will send his changes for merging here. 

Comments
8/4/2023 1:54:01 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1437
Affected files /trunk/Plan.wsc (Modified)
/trunk/Script Components Master/Plan.wsc (Modified)
Check-in comment Fix Plan Compiler for #CHAIN when run offline for Plan Checker. Did not affect normal live use. GEM:1889
8/4/2023 11:40:16 AM   Bob Denny
REOPENED


This logic is broken for simple plans with relative #chain. Found as part of testing on ACP-1911
7/26/2023 12:47:04 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1432
Affected files /trunk/Script Components Master/Plan.wsc (Modified)
Check-in comment Oops, left debug="true" GEM:1889
8/1/2022 4:27:26 PM   Bob Denny
His patch doesn't handle nested subfolders. I have fixed it for observing plans, but he seems to want flat plans to be handled relative as well. It would be a breaking change given the documentation.
8/1/2022 4:25:57 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1422
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/Plan.wsc (Modified)
/trunk/Script Components Master/Plan.wsc (Modified)
Check-in comment Fix #chain for web UI users when current plan is in a subfolder. GEM:1889