Open dixonsiu opened 5 years ago
Check if it is fixed or not.
Reproduced the problem in Personium Core 1.7.22
API Ref: https://personium.io/docs/en/apiref/501_Export_Cell/ Test: does not seem to exist. Code: https://github.com/personium/personium-core/blob/develop/src/main/java/io/personium/core/rs/cell/CellExportResource.java
main boxのodataはエクスポートされている。 エクスポートしたCellと同じCellへインポートした場合はODataがインポートされる。 別Cellにインポートした場合に本現象が発生する。
main boxのbox idが自Cell IDであることに起因する問題。仕様問題 ? インポート時、インポートデータのCell ID(KEY_CELL_ID)を自CellのIDに置き換えてインポートしている。 しかし、main boxは特殊で「box id=Cell ID」となっているにも関わらず、main box関連のODataをインポートする際にbox idの書き換えは行っていない。 このため、main boxに紐づかないデータとしてインポートされている。 その結果、インポートは正常終了するにも関わらずmain boxのODataが表示されない。
Related to #73
Description
In the demo environment, I exported a cell that contains OData under the main box. I then import the cell to a Vagrant version Personium Unit (localhost). And the expected OData is empty.
Empty OData after importing Cell
Expected OData