Advertisement
xtiansimon

Draggableviews_update

Apr 6th, 2012
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 9.62 KB | None | 0 0
  1. D-DgV-ts-errors_update
  2.  
  3. --CONTENTS
  4. [1] test plan;
  5. [2] round two: x-site mysql table draggableviews_structure;
  6. [3] round two: w-site mysql table draggableviews_structure;
  7. [4] round three: misc test logs; // just output from git--not been use'n it very long (>_<)
  8. [5] round three: x-site, w-site drupal 7 table diff; //simply shows what's different between the two site's drupal tables. The w-site is newer and the x-site had previously contained an obsolete table which was subsequently removed.
  9. [6] round three: x-site mysql table draggableviews_structure; //test steps 3.1-3.5
  10. [7] round three: w-site mysql table draggableviews_structure; //test steps 3.1-3.5
  11. [8] Views, edit view page errors //same for both w-site and x-site
  12. [9] Views, edit view page errors  // ditto
  13.  
  14. --[1] Test plan
  15. 1. Uninstall Draggableviews & Views, Views UI
  16.   * drush pm-disable draggableviews views_ui views //this can take several tries because of deps.
  17.   * drush pm-uninstall views draggableviews views_ui  //this can take several tries, too
  18.   * manually check old tables deleted
  19.   * update draggableviews using $git pull origin 7.x-2.x, //did this as recently as 04-11-2012
  20.   * drush pm-enable views draggableviews views_ui
  21. 2. Reload x-site & w-site Views in code, some views notes:
  22.   * two page displays: "drag" and "drag-sort".
  23.   * Format: Table | Settings: Group by: "Category";
  24.   * drag-sort view: Fields: draggableviews: content //this display only
  25.   * javascript overlay is off.
  26. 3. Test case,
  27.   3.1 Visit each site's "drag-sort" page:
  28.    -- Is content correctly displayed (three categories A,B,C; five items 1-5; each item grouped by "Category")? // Yes. Both
  29.    -- Are drag hangles displayed? // Yes. Both
  30.  3.2 From mysql CLI: "SELECT * FROM drupal7_draggableviews_structure;". Prints "before" table data to CLI (reload page for first sort, else table is empty); // See below
  31.  3.3 Reorder content (change Category A item order 1-2-3 to 3-2-1):
  32.    -- in GUI, dragging handles changes sort order & display save warning? //Yes. Both
  33.  3.4 Save page (display reloads):
  34.    -- Is the new order reflected? // No. Both
  35.  3.5 From mysql CLI: "SELECT * FROM drupal7_draggableviews_structure;". Prints "after" table data to CLI.
  36.    -- does entity_id change to reflect new order? // Yes. Both
  37.    -- does dvid increment? //Yes. Both
  38.    -- does weight change? //No. Both
  39.  3.6 At command line, #drush cc all". //stopped doing anything after r1 testing
  40.  3.7 Visit "drag-sort" page. Reload.
  41.    -- Does order update to the database order? // looks like it to me, but I'm no DgV expert (^_^).
  42.   3.8 Repeat, 3.3-3.7. //No change on successive runs of the test plan.
  43.  
  44. --[2] round two: x-site
  45. deleted as same as round three below;
  46.  
  47. --[3] round two: w-site,
  48. deleted as its the same as round three below;
  49.  
  50. --[4] round three: misc test logs;
  51. $ git pull origin 7.x-2.x    [last performed on 04-11-2012]
  52. From http://git.drupal.org/project/draggableviews
  53.  * branch            7.x-2.x    -> FETCH_HEAD
  54. Already up-to-date.
  55.  
  56. --[5] round three: drupal7 site diff
  57. 1c1
  58. < Tables_in_drupal7_development
  59. ---
  60. > Tables_in_drupal7_x-site
  61. 4a5,7
  62. > drupal7_backup_migrate_destinations
  63. > drupal7_backup_migrate_profiles
  64. > drupal7_backup_migrate_schedules
  65. 21a25
  66. > drupal7_cache_token
  67. 32a37
  68. > drupal7_field_data_field_artist_page
  69. 33a39,42
  70. > drupal7_field_data_field_date
  71. > drupal7_field_data_field_event_date
  72. > drupal7_field_data_field_external_url
  73. > drupal7_field_data_field_has_rule
  74. 35,36c44,45
  75. < drupal7_field_data_field_language
  76. < drupal7_field_data_field_min_image
  77. ---
  78. > drupal7_field_data_field_pm_category
  79. > drupal7_field_data_field_price
  80. 38,40c47,50
  81. < drupal7_field_data_field_xs_category
  82. < drupal7_field_deleted_data_8
  83. < drupal7_field_deleted_revision_8
  84. ---
  85. > drupal7_field_data_field_upcomming_event
  86. > drupal7_field_data_field_venue_announce
  87. > drupal7_field_data_field_venue_terms
  88. > drupal7_field_data_field_weight
  89. 42a53
  90. > drupal7_field_revision_field_artist_page
  91. 43a55,58
  92. > drupal7_field_revision_field_date
  93. > drupal7_field_revision_field_event_date
  94. > drupal7_field_revision_field_external_url
  95. > drupal7_field_revision_field_has_rule
  96. 45,46c60,61
  97. < drupal7_field_revision_field_language
  98. < drupal7_field_revision_field_min_image
  99. ---
  100. > drupal7_field_revision_field_pm_category
  101. > drupal7_field_revision_field_price
  102. 48c63,66
  103. < drupal7_field_revision_field_xs_category
  104. ---
  105. > drupal7_field_revision_field_upcomming_event
  106. > drupal7_field_revision_field_venue_announce
  107. > drupal7_field_revision_field_venue_terms
  108. > drupal7_field_revision_field_weight
  109. 59a78,79
  110. > drupal7_migrate_log
  111. > drupal7_migrate_status
  112. 64a85,89
  113. > drupal7_panels_display
  114. > drupal7_panels_layout
  115. > drupal7_panels_mini
  116. > drupal7_panels_pane
  117. > drupal7_panels_renderer_pipeline
  118.  
  119.  
  120. --[6] round three: x-site, content creation order, followed by one round of reorder first and third;
  121. mysql> SELECT * FROM drupal7_draggableviews_structure;
  122. +------+-----------+--------------+------+-----------+--------+
  123. | dvid | view_name | view_display | args | entity_id | weight |
  124. +------+-----------+--------------+------+-----------+--------+
  125. |    1 | pm_drag   | page_1       | []   |        73 |      0 |
  126. |    2 | pm_drag   | page_1       | []   |        74 |      0 |
  127. |    3 | pm_drag   | page_1       | []   |        75 |      0 |
  128. |    4 | pm_drag   | page_1       | []   |        76 |      0 |
  129. |    5 | pm_drag   | page_1       | []   |        77 |      0 |
  130. +------+-----------+--------------+------+-----------+--------+
  131. 5 rows in set (0.00 sec)
  132.  
  133. mysql> SELECT * FROM drupal7_draggableviews_structure;
  134. +------+-----------+--------------+------+-----------+--------+
  135. | dvid | view_name | view_display | args | entity_id | weight |
  136. +------+-----------+--------------+------+-----------+--------+
  137. |    6 | pm_drag   | page_1       | []   |        75 |      0 |
  138. |    7 | pm_drag   | page_1       | []   |        74 |      1 |
  139. |    8 | pm_drag   | page_1       | []   |        73 |      2 |
  140. |    9 | pm_drag   | page_1       | []   |        76 |      0 |
  141. |   10 | pm_drag   | page_1       | []   |        77 |      0 |
  142. +------+-----------+--------------+------+-----------+--------+
  143. 5 rows in set (0.00 sec)
  144.  
  145.  
  146. --[7] round three: w-site, content creation order, followed by one round of reorder first and third;
  147. Database changed
  148. mysql> SELECT * FROM drupal7_draggableviews_structure;
  149. +------+-----------+--------------+------+-----------+--------+
  150. | dvid | view_name | view_display | args | entity_id | weight |
  151. +------+-----------+--------------+------+-----------+--------+
  152. |    1 | drag      | page_1       | []   |        18 |      0 |
  153. |    2 | drag      | page_1       | []   |        19 |      0 |
  154. |    3 | drag      | page_1       | []   |        20 |      0 |
  155. |    4 | drag      | page_1       | []   |        21 |      0 |
  156. |    5 | drag      | page_1       | []   |        22 |      0 |
  157. +------+-----------+--------------+------+-----------+--------+
  158. 5 rows in set (0.00 sec)
  159.  
  160. mysql> SELECT * FROM drupal7_draggableviews_structure;
  161. +------+-----------+--------------+------+-----------+--------+
  162. | dvid | view_name | view_display | args | entity_id | weight |
  163. +------+-----------+--------------+------+-----------+--------+
  164. |    6 | drag      | page_1       | []   |        20 |      0 |
  165. |    7 | drag      | page_1       | []   |        19 |      1 |
  166. |    8 | drag      | page_1       | []   |        18 |      2 |
  167. |    9 | drag      | page_1       | []   |        21 |      0 |
  168. |   10 | drag      | page_1       | []   |        22 |      0 |
  169. +------+-----------+--------------+------+-----------+--------+
  170. 5 rows in set (0.00 sec)
  171.  
  172. --[8]
  173. Views, edit view page title: Configure field: Draggableviews: Content
  174. Views, edit view page URL: http://w-site.local/php/drupal7/admin/structure/views/nojs/config-item/drag/page_1/field/draggableviews
  175.  
  176. Notice: Undefined index: sorts in draggableviews_handler_fieldapi->options_form() (line 32 of /var/www/php/drupal7/sites/all/modules/draggableviews/handlers/draggableviews_handler_fieldapi.inc).
  177.  
  178. --[9]
  179. Views, edit view page title: Configure sort criterion: Draggableviews: Weight
  180. Views, edit view page URL: http://w-site.local/php/drupal7/admin/structure/views/nojs/config-item/drag/page_1/sort/weight
  181.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  182.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  183.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  184.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  185.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  186.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  187.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  188.     Warning: Invalid argument supplied for foreach() in views_plugin_display->uses_exposed() (line 275 of /var/www/php/drupal7/sites/all/modules/views/plugins/views_plugin_display.inc).
  189.  
  190. --[end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement