公開済みのナレッジ記事に [チェックアウト] ボタンがない。Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } あるインスタンスから別のインスタンスに公開記事をインポートした後、ターゲットインスタンスに [チェックアウト] ボタンが表示されません。この問題はすべてのユーザーに影響するため、新しい記事バージョンを作成できません。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } インポートされた記事ではバージョニングが有効になっていましたが、kb_versionテーブルの関連レコードはインポートされませんでした。 Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } これは、記事の最後に公開されたバージョン(つまり、「KB0010027 v2.0」)を記事のバージョニングをサポートする別のインスタンスにエクスポートすることで再現できます。 ターゲットインスタンスに記事をインポートした後、その記事を開くと、チェックアウトボタンが表示されず、記事番号の末尾に番号のない「v」が含まれる場合があります (例:「KB0010027 v」)。同じ記事に関連する他のkb_knowledgeテーブルレコード (つまり、「KB0010027 v1.0」) をエクスポートおよびインポートすることもできます。これにより、kb_knowledgeテーブルに両方の記事レコードが表示されますが、チェックアウトボタンは表示されません。これを解決するには、最新の記事バージョン (この例ではバージョン 2.0) に関連するkb_versionテーブルレコードもエクスポートする必要があります。kb_versionレコードがターゲットインスタンスにインポートされると、チェックアウトボタンが記事に表示されます。その後、記事をチェックアウトして新しいバージョンを作成できるようになります。 予想どおり、この例のように、記事がチェックアウトされるとバージョン 2.01 が作成され、記事が保存されると 2.02 バージョン (承認待ち)、最後に記事が公開されるときにバージョン 3.0 が作成されます。したがって、記事を適切に復元するには、kb_knowledgeテーブル内の同じ記事のすべてのバージョンと、kb_versionテーブルの関連するすべてのバージョンレコードをエクスポートおよびインポートする必要があるのが理想的です。そうすることで、将来発生する可能性のあるランダムな問題が発生しないようにすることができます。