ipm icon indicating copy to clipboard operation
ipm copied to clipboard

SQL query param always null

Open mvhenderson opened this issue 4 years ago • 1 comments
trafficstars

https://github.com/intersystems-community/zpm/blob/df32a6d798b90de64ae2700cb545976551a6c5a1/src/cls/_ZPM/PackageManager/Client/Manager.cls#L54

This query uses registry variable which is ProcedureBlock private so will always evaluate to null in %SQL.Statement.bindArguments. This seems to be the desired behavior since this method is invoked during zpm install to search all repositories, so "fixing" this would break install unless the SearchCriteria for install is also updated to remove this line:

https://github.com/intersystems-community/zpm/blob/df32a6d798b90de64ae2700cb545976551a6c5a1/src/cls/_ZPM/PackageManager.cls#L1459

mvhenderson avatar Sep 22 '21 03:09 mvhenderson

I think this was the real issue behind #331

isc-tleavitt avatar Apr 12 '24 13:04 isc-tleavitt

Closing issues fixed in v1 branch for cleaner bookkeeping.

isc-tleavitt avatar Aug 27 '24 16:08 isc-tleavitt