Difference between revisions of "Template: GetContainers"

From Genesys Documentation
Jump to: navigation, search
Line 19: Line 19:
 
</td>
 
</td>
 
<td>
 
<td>
{{#cargo_query:tables=ComponentRN,Component,RNElements
+
{{#cargo_query:tables=RNElements,ComponentRN,Component
|join on=ComponentRN.ComponentId HOLDS Component.Id,Component.IpName=RNElements.IpName
+
|join on=RNElements.Version=ComponentRN.ReleaseNumber,ComponentRN.ComponentId HOLDS Component.Id
|fields=CONCAT(RNElements.Filename,'{{#switch:{{NAMESPACENUMBER}}|620={{SuperscriptCheck}}|#default=}}')
+
|fields=RNElements.Filename
|default={{#arraymap:{{{Containers|}}}|*|x|{{#switch:{{#sub:x|-3|}}|tgz=*x{{#switch:{{NAMESPACENUMBER}}|620={{SuperscriptFlag}}|#default=}}|#default=}}|\n }}
 
 
|format=ul
 
|format=ul
 
|where=Component.Id="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="helm"
 
|where=Component.Id="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="helm"
 
}}
 
}}
 +
 +
<!-- add in to switch to manual list of containers by default
 +
|default={{#arraymap:{{{Containers|}}}|*|x|{{#switch:{{#sub:x|-3|}}|tgz=*x{{#switch:{{NAMESPACENUMBER}}|620={{SuperscriptFlag}}|#default=}}|#default=}}|\n }} -->
 
</td>
 
</td>
 
<tr>
 
<tr>

Revision as of 19:31, April 11, 2022

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__Component`.`Name` AS `Name` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS '{{{ComponentId}}}' AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" ORDER BY `cargo__Component`.`Name` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS '{{{ComponentId}}}' AN' at line 1 (127.0.0.1)

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `ReleaseNumber` AS `ReleaseNumber` FROM `cargo__ComponentRN` WHERE ComponentId HOLDS '{{{ComponentId}}}' AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" ORDER BY `ReleaseNumber` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS '{{{ComponentId}}}' AND PrivateEditionReleaseDate="" AND `cargo__Component' at line 1 (127.0.0.1)

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__RNElements`.`Filename` AS `Filename` FROM `cargo__RNElements` LEFT OUTER JOIN `cargo__ComponentRN` ON ((`cargo__RNElements`.`Version`=`cargo__ComponentRN`.`ReleaseNumber`)) LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE `cargo__Component`.`Id`="" AND PrivateEditionReleaseDate="" AND Type="helm" ORDER BY `cargo__RNElements`.`Filename` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE `cargo__Component`.`Id`="" AND PrivateEd' at line 1 (127.0.0.1)

Retrieved from "https://all.docs.genesys.com/Template:GetContainers (2025-06-19 14:15:07)"