After generating content with Devel module( using last devel dev. release ) ( created 50 nodes with autopath on ), going to
Navigation - Recent Content - My recent Content ... i get this error:
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
....
....
Comment | File | Size | Author |
---|---|---|---|
#14 | 989144-tracker-test-only-14-D7.patch | 3.54 KB | cleaver |
#8 | jimmy_tracker.jpg | 930.07 KB | iccle |
#7 | tracker_issues.jpg | 958.77 KB | iccle |
#3 | tracker-undefined-properties-989144-3.patch | 1.11 KB | Nephele |
drupal7_tracker.jpg | 194.89 KB | bloyo |
Comments
Comment #1
Unnamed CreditAttribution: Unnamed commentedI too have this problem.
http://asystem.org.ua/tracker
Comment #2
Bahlool CreditAttribution: Bahlool commentedSame problem
Comment #3
Nephele CreditAttribution: Nephele commentedI'm not getting any error messages like this from tracker (I'm using version 7.0). On the other hand, according to CVS the file hasn't been changed in months, so it seems unlikely the problem got fixed along the way.
Therefore, I've taken a stab in the dark and created a patch in an effort to help get the issue closed. Basically, it looks like these errors would occur if some of the original placeholder nodes (as created at line 31 of the code) never get filled in with complete data (which should be done at line 43). Some possible reasons might be if the database is changed between queries, or if the node contains bad data (uid doesn't exist in user table, node missing from node_comment_statistics, etc.).
What the patch specifically does is:
* Make sure that all queries are using the slave DB (mainly just for thoroughness' sake, although it's remotely possible the error messages would occur if the master and slave DB were briefly out of sync).
* Skips all processing if the node is just a placeholder, for whatever reason.
Comment #4
Unnamed CreditAttribution: Unnamed commentedThe patch works.
Thank you.
Comment #5
podarokComment #6
webchickI'd like to see some tests that replicate this situation, and I also need to see a more detailed technical analysis of the solution before I'm prepared to commit a "stab in the dark." :) (Though a very well-reasoned stab in the dark!) Writing tests will be tricky if it is indeed "out-of-sync slave" related, but it seems more likely to me that this is a node access-related issue of some kind (like OG or similar blocks access to all nodes that would otherwise show in a list for someone with higher permissions).
More details from those experiencing the issue about what other modules they have installed, or exact steps to reproduce, would be really helpful.
Comment #7
iccle CreditAttribution: iccle commentedI to have this issue on my development site details as follows:
The 'My Recent Content' tab appears to work correctly, the issue only manifests when i view the 'All Recent Content' tab.
I have full administrative privileges for all modules and have access to all site content, yet after all the error messages i get some bogus content posted by 'anonymous' (see the attached tracker_issues.jpg).
Keen to attempt to figure out what was producing these errors, i hacked the tracker.pages.inc and inserted 3 new lines starting at line 61 as follows:
This produced the following extra output:
The first line to stand out was
this gave me the node id for further investigation, it turned out to be one of my 'Quake Live Map' content type nodes, the node is visible on other pages that use it, the database row entry for this node is as follows:
I am at a loss as to why this data is not filled in in tracker.pages.inc, it appears elsewhere on the site with no issues, the database row appears to be ok. It should be noted that all of the content entries that are missing from the tracker view were inputted by another user (jimmy (user 14)) but are for some reason listed here as by 'anonymous'.
Something else i tried was enabling the 'views' 'tracker view', the output from this produced no error, however it did hide the 'recent content' that appears to have this issue. The proposed patch would seem to produce this same behavior, ie resulting in a loss of data presented to the user (since the recent content exists, but is not being presented).
I am still getting to grips with Drupal 7 and have not had time to look at the testing framework :(, I hope this report can help you target where you should be looking.
Error messages displayed by core tracker
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
Comment #8
iccle CreditAttribution: iccle commentedI realized after posting previously that i should have attached a screenshot showing the tracker view for user 14 (jimmy), i could not edit the previous post to provide this information so here it is.
Comment #9
Blooniverse CreditAttribution: Blooniverse commentedPatch from @Nephele#3 works fine for me. Thank you!
Using Drupal7 + additional/optional ~80 modules.
Comment #11
cleaver CreditAttribution: cleaver commentedWriting test on this but how to duplicate if it needs devel module. Bot would not have devel.
Comment #12
cleaver CreditAttribution: cleaver commentedTrying to duplicate with simpletest create node.
Comment #13
cleaver CreditAttribution: cleaver commentedI haven't been able to reproduce the error in testing.
First, I tried simply creating nodes using simpletest, either with drupalCreateNode, or drupalPost on the node/add form. No error.
Second, I created a function that would create nodes in the same manner as devel_generate. No error.
Finally, I simply enabled devel_generate and ran that within simpletest. Still no error.
I'll post my patch tomorrow to see if anyone else gets the same results.
Comment #14
cleaver CreditAttribution: cleaver commentedHere's a patch with tests only... I have so far been unable to get the error to appear under simple_test.
I'm posting it so that maybe someone else might find a way to get a the error to appear.
As for the original patch... It does seem like quite an edge case, but something that will be encountered from time to time.
Comment #15
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedComment #16
cleaver CreditAttribution: cleaver commentedI'm not seeing the error on the current D7... (version 7.9)
Anyone else?
Comment #17
kscheirer#3: tracker-undefined-properties-989144-3.patch queued for re-testing.
Comment #27
quietone CreditAttribution: quietone as a volunteer commentedI tested this on Drupal 9.3.x and Drupal 7. 80-dev and was not able to reproduce the problem, just like cleaver in #16.
Therefore, closing as cannot reproduce. If you are experiencing this problem reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!