Synergex/HarmonyCore

"Failed to match structure * with a structure from rps" when using an alias reference.

tscaff opened this issue · 2 comments

tscaff commented

When attempting to use an assigned alias name in the Synergy/DE Repository, I noticed that the following errors started occurring in my Harmony Core Regen attempt.

harmonycore regen
SolutionDir '' is not set. Using the current working directory.
Scanning '..\WebApi' for HarmonyCore project files
Using MSBuild from path: C:\Program Files\dotnet\sdk\6.0.418

Failed to match structure ACCOUNTSTATEMENTS with a structure from rps
*** Files that look like they need to be deleted/removed from projects ***

Here is the repository schema entry

Structure CIFPROFILESTATEMENTS ASCII Modified 20240118152751
Description "GridProfileStatements response"
...
...
...
Alias ACCOUNTSTATEMENTS Structure CIFPROFILESTATEMENTS

This is a portion of our ~library.dbl entry that we are building the SMC from

{xfMethod(intWeblib, elbmacro, name="subroutineMethod")}
;;;


;;;Return account listing matching filter data
;;;

.subroutine subroutineMethodHome

{xfParameter(name="response", typeCol, structure="AccountStatements", dataTable=false)}
out required a_returnData ,@Arraylist

.proc

Are repository aliases not supported?

I checked with Steve and it doesnt seem like we have any support for using a structure alias in xfParameter like that. Is this a significant issue for you?

tscaff commented

Hi Jeff, it's not a super significant issue at the moment

We were just excited about using it...so it was just unexpected when it didn't generate the aliased structure.

We have a workaround for now.

Thanks.