Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D-DgV-ts-errors_update
- --CONTENTS
- [1] test plan;
- [2] round two: x-site mysql table draggableviews_structure;
- [3] round two: w-site mysql table draggableviews_structure;
- [4] round three: misc test logs; // just output from git--not been use'n it very long (>_<)
- [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.
- [6] round three: x-site mysql table draggableviews_structure; //test steps 3.1-3.5
- [7] round three: w-site mysql table draggableviews_structure; //test steps 3.1-3.5
- [8] Views, edit view page errors //same for both w-site and x-site
- [9] Views, edit view page errors // ditto
- --[1] Test plan
- 1. Uninstall Draggableviews & Views, Views UI
- * drush pm-disable draggableviews views_ui views //this can take several tries because of deps.
- * drush pm-uninstall views draggableviews views_ui //this can take several tries, too
- * manually check old tables deleted
- * update draggableviews using $git pull origin 7.x-2.x, //did this as recently as 04-11-2012
- * drush pm-enable views draggableviews views_ui
- 2. Reload x-site & w-site Views in code, some views notes:
- * two page displays: "drag" and "drag-sort".
- * Format: Table | Settings: Group by: "Category";
- * drag-sort view: Fields: draggableviews: content //this display only
- * javascript overlay is off.
- 3. Test case,
- 3.1 Visit each site's "drag-sort" page:
- -- Is content correctly displayed (three categories A,B,C; five items 1-5; each item grouped by "Category")? // Yes. Both
- -- Are drag hangles displayed? // Yes. Both
- 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
- 3.3 Reorder content (change Category A item order 1-2-3 to 3-2-1):
- -- in GUI, dragging handles changes sort order & display save warning? //Yes. Both
- 3.4 Save page (display reloads):
- -- Is the new order reflected? // No. Both
- 3.5 From mysql CLI: "SELECT * FROM drupal7_draggableviews_structure;". Prints "after" table data to CLI.
- -- does entity_id change to reflect new order? // Yes. Both
- -- does dvid increment? //Yes. Both
- -- does weight change? //No. Both
- 3.6 At command line, #drush cc all". //stopped doing anything after r1 testing
- 3.7 Visit "drag-sort" page. Reload.
- -- Does order update to the database order? // looks like it to me, but I'm no DgV expert (^_^).
- 3.8 Repeat, 3.3-3.7. //No change on successive runs of the test plan.
- --[2] round two: x-site
- deleted as same as round three below;
- --[3] round two: w-site,
- deleted as its the same as round three below;
- --[4] round three: misc test logs;
- $ git pull origin 7.x-2.x [last performed on 04-11-2012]
- From http://git.drupal.org/project/draggableviews
- * branch 7.x-2.x -> FETCH_HEAD
- Already up-to-date.
- --[5] round three: drupal7 site diff
- 1c1
- < Tables_in_drupal7_development
- ---
- > Tables_in_drupal7_x-site
- 4a5,7
- > drupal7_backup_migrate_destinations
- > drupal7_backup_migrate_profiles
- > drupal7_backup_migrate_schedules
- 21a25
- > drupal7_cache_token
- 32a37
- > drupal7_field_data_field_artist_page
- 33a39,42
- > drupal7_field_data_field_date
- > drupal7_field_data_field_event_date
- > drupal7_field_data_field_external_url
- > drupal7_field_data_field_has_rule
- 35,36c44,45
- < drupal7_field_data_field_language
- < drupal7_field_data_field_min_image
- ---
- > drupal7_field_data_field_pm_category
- > drupal7_field_data_field_price
- 38,40c47,50
- < drupal7_field_data_field_xs_category
- < drupal7_field_deleted_data_8
- < drupal7_field_deleted_revision_8
- ---
- > drupal7_field_data_field_upcomming_event
- > drupal7_field_data_field_venue_announce
- > drupal7_field_data_field_venue_terms
- > drupal7_field_data_field_weight
- 42a53
- > drupal7_field_revision_field_artist_page
- 43a55,58
- > drupal7_field_revision_field_date
- > drupal7_field_revision_field_event_date
- > drupal7_field_revision_field_external_url
- > drupal7_field_revision_field_has_rule
- 45,46c60,61
- < drupal7_field_revision_field_language
- < drupal7_field_revision_field_min_image
- ---
- > drupal7_field_revision_field_pm_category
- > drupal7_field_revision_field_price
- 48c63,66
- < drupal7_field_revision_field_xs_category
- ---
- > drupal7_field_revision_field_upcomming_event
- > drupal7_field_revision_field_venue_announce
- > drupal7_field_revision_field_venue_terms
- > drupal7_field_revision_field_weight
- 59a78,79
- > drupal7_migrate_log
- > drupal7_migrate_status
- 64a85,89
- > drupal7_panels_display
- > drupal7_panels_layout
- > drupal7_panels_mini
- > drupal7_panels_pane
- > drupal7_panels_renderer_pipeline
- --[6] round three: x-site, content creation order, followed by one round of reorder first and third;
- mysql> SELECT * FROM drupal7_draggableviews_structure;
- +------+-----------+--------------+------+-----------+--------+
- | dvid | view_name | view_display | args | entity_id | weight |
- +------+-----------+--------------+------+-----------+--------+
- | 1 | pm_drag | page_1 | [] | 73 | 0 |
- | 2 | pm_drag | page_1 | [] | 74 | 0 |
- | 3 | pm_drag | page_1 | [] | 75 | 0 |
- | 4 | pm_drag | page_1 | [] | 76 | 0 |
- | 5 | pm_drag | page_1 | [] | 77 | 0 |
- +------+-----------+--------------+------+-----------+--------+
- 5 rows in set (0.00 sec)
- mysql> SELECT * FROM drupal7_draggableviews_structure;
- +------+-----------+--------------+------+-----------+--------+
- | dvid | view_name | view_display | args | entity_id | weight |
- +------+-----------+--------------+------+-----------+--------+
- | 6 | pm_drag | page_1 | [] | 75 | 0 |
- | 7 | pm_drag | page_1 | [] | 74 | 1 |
- | 8 | pm_drag | page_1 | [] | 73 | 2 |
- | 9 | pm_drag | page_1 | [] | 76 | 0 |
- | 10 | pm_drag | page_1 | [] | 77 | 0 |
- +------+-----------+--------------+------+-----------+--------+
- 5 rows in set (0.00 sec)
- --[7] round three: w-site, content creation order, followed by one round of reorder first and third;
- Database changed
- mysql> SELECT * FROM drupal7_draggableviews_structure;
- +------+-----------+--------------+------+-----------+--------+
- | dvid | view_name | view_display | args | entity_id | weight |
- +------+-----------+--------------+------+-----------+--------+
- | 1 | drag | page_1 | [] | 18 | 0 |
- | 2 | drag | page_1 | [] | 19 | 0 |
- | 3 | drag | page_1 | [] | 20 | 0 |
- | 4 | drag | page_1 | [] | 21 | 0 |
- | 5 | drag | page_1 | [] | 22 | 0 |
- +------+-----------+--------------+------+-----------+--------+
- 5 rows in set (0.00 sec)
- mysql> SELECT * FROM drupal7_draggableviews_structure;
- +------+-----------+--------------+------+-----------+--------+
- | dvid | view_name | view_display | args | entity_id | weight |
- +------+-----------+--------------+------+-----------+--------+
- | 6 | drag | page_1 | [] | 20 | 0 |
- | 7 | drag | page_1 | [] | 19 | 1 |
- | 8 | drag | page_1 | [] | 18 | 2 |
- | 9 | drag | page_1 | [] | 21 | 0 |
- | 10 | drag | page_1 | [] | 22 | 0 |
- +------+-----------+--------------+------+-----------+--------+
- 5 rows in set (0.00 sec)
- --[8]
- Views, edit view page title: Configure field: Draggableviews: Content
- Views, edit view page URL: http://w-site.local/php/drupal7/admin/structure/views/nojs/config-item/drag/page_1/field/draggableviews
- 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).
- --[9]
- Views, edit view page title: Configure sort criterion: Draggableviews: Weight
- Views, edit view page URL: http://w-site.local/php/drupal7/admin/structure/views/nojs/config-item/drag/page_1/sort/weight
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
- --[end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement