Commit 870fc03
committed
fix: Skip stack settings import when using management token
- Skip stack settings import operation when using management token alias to prevent 'Session timed out' errors
- Add management token check in ImportStack.start() method similar to export fix in PR #1983
- Fix sanitizeStack function call in module-importer to pass correct parameter
- Add management token protection to sanitizeStack function to prevent stack version API timeouts
- Ensures consistent behavior between import and export commands with management tokens
Fixes timeout issue: 'Stack failed to be imported! Session timed out, please login to proceed'1 parent 4d964f9 commit 870fc03
File tree
3 files changed
+13
-1
lines changed- packages/contentstack-import/src
- import
- modules
- utils
3 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
0 commit comments