I created a mini panel. on the context tab, I created two node contexts. One is labeled "node" and links to one node I created. The second is labeled "node 2" and links to a different node I created. I saved these and clicked on "Content" to add these two panes into my mini panel.
I added the first one OK by clicking the "+" sign and then clicking node content in the node context row. It asked which node to add and I selected "node." I then did the same to add "node 2" and got the following error message:
user warning: Duplicate entry '0' for key 1 query: INSERT INTO panels_pane (pid, did, panel, type, subtype, configuration, cache, access, position) VALUES (0, 83, '', '', '', 'N;', 'a:0:{}', '', 1) in /home/crsnyorg/public_html/drupal/includes/database.mysql.inc on line 172.
user warning: Duplicate entry '0' for key 1 query: INSERT INTO panels_pane (pid, did, panel, type, subtype, configuration, cache, access, position) VALUES (0, 83, '', '', '', 'N;', 'a:0:{}', '', 2) in /home/crsnyorg/public_html/drupal/includes/database.mysql.inc on line 172.
user warning: Duplicate entry '0' for key 1 query: INSERT INTO panels_pane (pid, did, panel, type, subtype, configuration, cache, access, position) VALUES (0, 83, '', '', '', 'N;', 'a:0:{}', '', 3) in /home/crsnyorg/public_html/drupal/includes/database.mysql.inc on line 172.
user warning: Duplicate entry '0' for key 1 query: INSERT INTO panels_pane (pid, did, panel, type, subtype, configuration, cache, access, position) VALUES (0, 83, '', '', '', 'N;', 'a:0:{}', '', 4) in /home/crsnyorg/public_html/drupal/includes/database.mysql.inc on line 172.
Comments
Comment #1
sdboyer commentedInteresting problem, clearly the new pids aren't being assigned correctly; judging from the fact that it tried to assign a pid of 0 to, I'm guessing, BOTH of the panes, it means that there's a problem with getting a pids somewhere in the save process. Seems like a genuine bug, it's on my list to fix for beta4.
Comment #2
cpelham commentedThe good thing about it is no errors show to the end user. It works fine and haven't noticed any nasty side effects. I just see the error messages every time I add/delete/alter content on the Panels content screen and click save.
Comment #3
jbrown commentedreproduced on beta5
Comment #4
sdboyer commented@jbrown - Sorry, but beta5 isn't the most recent release, and I really can't take time to work on anything that's not been reproduced on anything but the most recent release. Update to rc1a and if it's still a problem, then I'll revisit this.
Comment #5
sunSorry, without further information this issue can only be marked as won't fix. Feel free to re-open this issue if you want to provide further information.