Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.1
Component:
page displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2012 at 03:20 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerJust imagine you would have to help on this issue. Are there enough information to really help you? I would say no.
In general you have read http://drupal.org/node/571990 as it should be read before posting an issue.
Please explain what you did etc.
Comment #2
thedavidmeister commentedis it this? http://drupal.stackexchange.com/questions/10932/view-page-displays-page-...
Comment #3
onenickdev commentedI still cannot get it to work...
Comment #4
dawehnerCan you please try to provide answers for http://drupal.org/node/1422226#comment-5536786
Comment #5
onenickdev commentedDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'articles_2' for key 'name': INSERT INTO {views_view} (name, description, tag, base_table, human_name, core) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => articles_2 [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => default [:db_insert_placeholder_3] => node [:db_insert_placeholder_4] => Articles [:db_insert_placeholder_5] => 7 ) in views_db_object->save_row() (line 1978 of /home6/onenickw/public_html/sites/all/modules/views/includes/view.inc).This is the error that is generated when I try to create a Page View for my content on my Drupal 7 site. I successfully got it running when I chose "Grid" View for some content. I tried cloning the working one but i still get the same error. Can someone please help me?
Comment #6
thinkyhead commentedAs a suggestion to avoid the collision, try changing the 'machine name' of your view. Is this a cloned view?
Comment #7
onenickdev commentedYes this is a cloned view...And your suggestion to rename the machine name worked perfectly thank you. This is an issue for Views, hope it is corrected in the next release..
Comment #8
dawehnerWell actually it should be possible to clone a view with the same name, maybe something happened really wrong.
Maybe one day someone finds a way to reproduce it, but now it's fixed.