Exceptions opening Analytics Architect
評価
この issue はまだ評価されていません。
説明
So far, no one has created any analytics cubes yet in our system. When I opened the architect for the first time, I saw this exception:
Error invoking Source Control: ERROR #5002 ObjectScript error: IsProductionClass+1^SourceControl.Git.Production *(No name)
IsProductionClass() does not have any null input safety checks:
SHCDF>zw $system.CLS.IsMthd("", "%Extends")
ZW $SYSTEM.CLS.IsMthd("", "%Extends")
^
<CLASS DOES NOT EXIST> *(No name)
I would think this function should return 0-false if className is blank:
ClassMethod IsProductionClass(className As %String, nameMethod As %String) As %Boolean
{
quit:(className = "") 0
if $system.CLS.IsMthd(className, "%Extends") {
try {
return $classmethod(className, "%Extends", "Ens.Production")
} catch err {
if '(err.AsStatus() [ "CLASS DOES NOT EXIST") throw err
}
} else {
While I was reading the code where this gets called from, I also noticed that Git.Utils.Type() also has weird behavior when it's input is blank:
SHCDF>zw ##class(SourceControl.Git.Utils).Type("")
"csp"
It should probably return "", though I did not analyze the implication of this.
- 主要言語
- ObjectScript
- スター
- 22
- フォーク
- 14
- 平均マージ
- 11日 4時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intersystems/git-source-control のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
intersystems/git-source-control#1006 ·
-
customer
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
intersystems/git-source-control#1002 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
intersystems/git-source-control#1001 ·