查找

InterSystems 官方
· 一月 15

警告:特定の $List 操作でデータベースとジャーナルファイルに不正なデータが作成される

インターシステムズは、特定の $List シンタックスを使用することで不正なデータベースとジャーナルレコードが作成される問題を修正しました。この問題が発生する可能性は非常に低いものですが、発生した場合の影響は非常に大きなものとなります。

この問題は、以下の製品およびそれらベースとしたその他のインターシステムズ製品に存在します:

  • InterSystems IRIS® : 2023.3, 2024.1.0, 2024.1.1, 2024.1.2, 2024.2, 2024.3
  • InterSystems IRIS® for Health: 2023.3, 2024.1.0, 2024.1.1, 2024.1.2, 2024.2, 2024.3
  • HealthShare® Health Connect: 2023.3.0, 2024.1, 2024.1.1, 2024.1.2, 2024.2, 2024.3
  • HealthShare® Unified Care Record と関連製品: 2024.2

この問題はUnicode版の製品でのみ発生します。

以下のシンタックスでグローバル上のリスト形式データに新しい要素を追加する際に問題が発生します。

SET $LIST(<グローバル>, *+1) = 値

この操作によりリストデータが文字列最大長を超過した場合の正しい結果は <MAXSTRING>エラーです。バージョン 2023.3 よりも前の製品バージョンでは正しい結果でしたが、2023.3 以降のバージョンでは <MAXSTRING> エラーが発生せずに不正な値がデータベースに保存されます。

このようにして作成されたグローバルノードを参照すると <MAXSTRING> エラーが発生します。

このグローバル更新はジャーナルレコードにも記録されます(デフォルトの設定としてグローバル更新がジャーナル記録されると仮定)。今回問題となるジャーナルレコードを適用するすべての操作 - 開始時のジャーナルリカバリ、ジャーナルからのリストア、ミラーリング操作 が <MAXSTRING> エラーにより失敗し、それ以降のジャーナル処理を行うことができなくなります。

もしこの問題の影響を受けたお客様は、復旧方法についてカスタマーサポートセンターまでご連絡ください。

この不具合は修正ID DP-437169 で解決します。この修正は InterSystems IRIS、 InterSystems IRIS for Health、Health Connect の2024.1.3、2025.1.0以降のすべてのバージョンに含まれる予定です。HealthShare Unified Care Record および関連製品ではバージョン 2025.1 以降で修正予定ですが、それ以前のメンテナンスリリースでの修正予定はありません。

お客様のご要望により、本修正を現在お使いの製品に対する Adhoc として個別に作成し、提供することが可能です。お使いのシステムに対する Adhoc が必要な場合は、カスタマサポートセンターまでお知らせください。

この警告について質問がある場合は、カスタマーサポートセンターにご連絡下さい。

讨论 (0)1
登录或注册以继续
文章
· 一月 15 阅读大约需 3 分钟

第七十四章 使用 ^%IS

第七十四章 使用 ^%IS

^%IS 是一个通用的设备选择实用程序,用于基于字符的应用程序。可以使用内置的 ^%IS 实用程序来允许用户选择要将 I/O 操作定向到的设备。每当要选择设备时,应用程序都应该调用 ^%IS 实用程序。此实用程序允许用户指定要使用的设备和相应的 OPEN 命令参数,打开所选设备,然后将特定于设备的信息返回给调用程序。用户输入已在 ^%IS 全局中定义的助记词。^%IS 依赖于 Management Portal 中建立的 IO 配置默认值。

讨论 (0)1
登录或注册以继续
问题
· 一月 15

Application Error Question - Error Message... <SUBSCRIPT>buildRuntimePathFromIndex+135^EnsLib.EDI.X12.Document...

An X12 / 271 message shows "Completed" on the BO. However, it did not reach its destination. I searched for more information on what the error means but, couldn't find much. See error enclosed below. Any idea what it means and how to fix it?

More info...

  • The IOLog Record shows in the Output Data an error... "An error occurred with the web application. It has been logged to system error log (System Operation > System Logs > Application Error Log)."
  • The EDI response shows the same message... "An error occurred with the web application...." 
  • I re-sent the message from the BO and it went out successfully and reached its destination. 

Error logged in the Application Error Log: 

<SUBSCRIPT>buildRuntimePathFromIndex+135^EnsLib.EDI.X12.Document.1 ^EnsEDI.X12.Segment("") : CSP Error
讨论 (0)1
登录或注册以继续
公告
· 一月 15

[Video] Selecionando a estratégia de Controle de Fontes correta para sua equipe

Olá Comunidade, 

Aproveite o novo vídeo do InterSystems Developers YouTube:

⏯ Selecting The Right Source Control Strategy for Your Team @ Global Summit 2024

Assista a este vídeo para uma análise das opções, incluindo combinações que funcionam entre ambientes Private ou Shared Dev, bem como Client-side ou Embedded Source Control com tecnologia InterSystems. Também abordaremos atualizações para o popular pacote OEX git-source-control, que fornece funcionalidade Embedded Source Control em ambientes de desenvolvimento compartilhado de produtos InterSystems (conforme usado em nossas implantações do Health Connect Cloud).

 Apresentadores
🗣 @Ben Spead, Manager, Application Services, InterSystems
🗣 @Pravin Barton, Principal Application Developer, Application Services, InterSystems

Confira e descubra algo novo — aproveite! 👍

讨论 (0)1
登录或注册以继续
问题
· 一月 15

Single Operation to Concatenate 2 %DynamicArrays?

Hello,

Is there a single ObjectScript operator or method to concatenate two %DynamicArrays?

I'm looking for something that will do the following:

set arr1 = [ 1, 2, 3 ]
set arr2 = [ 4, 5, 6 ]
set arrcombined = arr1.%Concatenate(arr2)

or 

set arrcombined arr1_arr2

With end result:

zw arrcombined
arr1=[1,2,3,4,5,6]  ; <DYNAMIC ARRAY>

I can iterate and %Pop over the 2nd array and %Push each popped entry to the 1st array, but I was looking for something more succinct.

Thanks in advance.

4 Comments
讨论 (4)1
登录或注册以继续