Skip to content

Commit 47bb7dc

Browse files
authored
Merge pull request #62 from intersystems-community/fix-oex-publish
Fix oex publish
2 parents 93d7198 + 3ca59ca commit 47bb7dc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Module>
55
<Name>zpm-registry</Name>
66
<Description>Registry server for ZPM</Description>
7-
<Version>1.1.0</Version>
7+
<Version>1.1.2</Version>
88
<Packaging>module</Packaging>
99
<Dependencies>
1010
<ModuleReference>

src/cls/ZPM/Analytics/Event.cls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Class ZPM.Analytics.Event Extends (%Persistent, %JSON.Adaptor)
22
{
33

4+
Parameter DSTIME = "AUTO";
5+
46
/// Server date and time, saving the data
57
Property TS As %PosixTime(%JSONINCLUDE = "none") [ SqlComputeCode = {set {*}=##class(%Library.PosixTime).CurrentTimeStamp()}, SqlComputed, SqlComputeOnChange = %%INSERT ];
68

src/cls/ZPM/Package.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ ClassMethod UpdatePackage(jo As %DynamicObject) As %Status
428428
Set meta = ..GetModuleMeta(url)
429429
If (meta.version = "") { $$$ThrowStatus($$$ERROR(5001, "Invalid package version")) }
430430
If (meta.name = "") { $$$ThrowStatus($$$ERROR(5001, "Package name is empty")) }
431-
Set tName = meta.name
431+
Set tName = $$$lcase(meta.name)
432432
Set id = ""
433433

434434
&sql(DELETE FROM ZPM.Package WHERE Name = :tName AND UpLink IS NOT NULL) // delete all "proxy" packages

0 commit comments

Comments
 (0)