On the first page load of /project/drupal/issues, on a new and recently built drupal.org site, I received the following notice ... subsequent page loads did not exhibit the same behaviour:
Notice: Undefined index: in template_preprocess_project_issue_issue_link() (line 749 of sites/all/modules/project_issue/project_issue.module).
This was using the 7.x-2.x-dev version, with datestamp "1358214051" (packaged on 2013-01-15).
UPDATE: As mentioned in comment #2, I have a project_issue node in my dev site database with no metadata set. This results in PHP notices and the issue not appearing in the issue view.
Comments
Comment #1
jthorson commentedReproducible one time after each cache clear.
Comment #2
jthorson commentedTurns out, the undefined index error was due to an issue with no 'status' set ... In this case, node/1926294.
Visiting that page gives the following errors:
Looking at the node object, $vars['node']->field_project is empty. As a result, $project does not resolve to anything, and the call to project_issue_set_breadcrumb() is not passed a project.
Not sure what caused the data corruption / missing data, but leaving this open with a new title to track.
Comment #2.0
jthorson commentedUpdating issue summary
Comment #3
drummDB reduction doesn't touch field_data_field_project, and the same error happens at http://git7site.devdrupal.org/node/1926294, so there is a decent chance it is a bug in the upgrade path.
Comment #4
drummThe
cur_pidused fromproject_issue_migration_timelineis null:SELECT t.cur_pid FROM project_issue_migration_timeline t INNER JOIN node n ON n.vid = t.vid WHERE t.nid = 1926294;project_issue_migration_timelineis populated in three passes: initial revision, other revisions, and comments. The second pass doesn't includepidhandling. I think http://drupalcode.org/project/project_issue.git/commitdiff/ff011c9?hp=a3... will fix it up. We'll see on Thursday after a new upgrade starts.Comment #5
drummThe notice is gone on http://7.devdrupal.org/node/1926294, and git7site will follow once it gets an updated DB.
Comment #6
drumm(The snapshot process will be done in 6 hours, so fresh dev sites can have it then.)
Comment #7.0
(not verified) commentedUpdating issue summary