Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. Synchronization Manager Next Steps
  2. ==================================
  3.  
  4. Problems:
  5.  
  6. Cold synchronization (push)
  7. ---------------------------
  8.  
  9. It is not possible to sync all documents using
  10. at once on an empty TDM - references will not be found and things will
  11. break.
  12.  
  13. Route conflicts on pull or Current Behavior
  14. -------------------------------------------
  15.  
  16. Given the following tree in the SDM:
  17.  
  18. ```
  19. /
  20. content/
  21. P1/
  22. P2/
  23. P3/
  24. routes/
  25. R1/
  26. R2/
  27. R3/
  28. ```
  29.  
  30. 1. You syncrhonize `P1` to the TDM
  31.  
  32. The PDM now looks like this:
  33.  
  34. ```
  35. /
  36. content/
  37. P1/
  38. routes/
  39. R1/
  40. ```
  41.  
  42. 2. You change the URL of P1 in the SDM:
  43.  
  44. ```
  45. /
  46. content/
  47. P1/ <-- renamed URL
  48. P2/
  49. P3/
  50. routes/
  51. R1/ <-- history route for P1
  52. R2/ <-- history route for P2
  53. R3/ <-- history route for P3
  54. R4/ <-- new route for P1
  55. R5/ <-- new route for P2
  56. R6/ <-- new route for P3
  57. ```
  58.  
  59. New routes R4, R5 and R6 are created which are the primary routes for P1, P2
  60. and P3, whilst R1, R2 and R3 are now coverted to history (or redirect) routes.
  61.  
  62. 3. You pull P1 from the TDM to the SDM
  63.  
  64. The current behavior is as follows:
  65.  
  66.  
  67. ```
  68. /
  69. content/
  70. P1/ <-- synchronized
  71. P2/
  72. P3/
  73. routes/
  74. R1/ <-- replaced with R1
  75. R2/ <-- no action
  76. R3/ <-- no action
  77. R4/ <-- replaced with a generic node
  78. R5/ <-- primary route for P2
  79. R6/ <-- primary route for P3
  80. ```
  81.  
  82. This means that while R1 and P1 are restored, the unsynchronized pages P2 and
  83. P3 will still have the URLs that they were assigned when P1 was renamed in
  84. (2).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement