自分専用の削除アルバムが含まれる工事データで閉じる時のチェックイン時にエラー
(複数人参加工事)
御用達exe{
client1.setupLocalConstruction
client1.refresh
アルバムUI{
client1.startAlbumEdit = ( checkOutAlbum(albumId1), checkOutAlbum(gabege1) )
client1でアルバムから画像を削除(albumId1)※画像を追加(gabege1)
client1.checkInAlbum(albumId1)
}
client1.checkInConstruction // ここで問題が起こる
}
エラーログ
[2024-08-27_19:02:44.834]: DEBUG construction-status| checkIn failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor| checkInConstruction
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor message| The "path" argument must be of type string. Received type undefined
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor| TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor| at validateString (internal/validators.js:112:11)
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor| at Object.join (path.js:375:7)
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor| at gen (C:\Users\maehira\goyotashi\goyo-ui\module\actualGoyoClient.js:170:36)
[2024-08-27_19:02:44.834]: ERROR goyo-cloud-accessor| at processTicksAndRejections (internal/process/task_queues.js:94:5)
actualGoyoClient.jsでの実装
readAldumDbFileJsonFile(albumFolderName, albumId) {
logger.debug("readAldumDbFileJsonFile")
return (async function* gen() {
const album = await bookrackAccessor.getAlbumDetail(localConstructionId, albumId);
const albumDBFilePath = path.join(album.albumDetail.albumFolder, 'albumItem.jsonl') // ここでエラーが発生
const records = await bookrackAccessor.parseJsonlFile(albumDBFilePath, 'albumItem')
for (const record of records) {
yield { parentFolder: toS3KeyString(record.albumItem.parentFolder), fileName: record.albumItem.fileName }
}
})()
}