Closed (fixed)
Project:
Drupal Commons
Component:
Wikis
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
15 Nov 2012 at 09:45 UTC
Updated:
17 Dec 2012 at 21:00 UTC
Jump to comment: Most recent file
I thought I had researched this and found some other info and a recent commit related to this, but I'm not finding anything. This has been there for at least the last few releases on different setups.
Notice: Undefined property: stdClass::$updated in commons_wikis_node_update() (line 129 of /code/profiles/commons/modules/contrib/commons_wikis/commons_wikis.module).
EntityMetadataWrapperException: Unknown data property field_target_nodes. in EntityStructureWrapper->getPropertyInfo() (line 339 of /code/profiles/commons/modules/contrib/entity/includes/entity.wrapper.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1841418.commons_wikis.undefined_property.1.patch | 769 bytes | jpontani |
Comments
Comment #1
jpontani commentedYea I had been meaning to update that. I committed a fix, and here is a patch of that fix if you don't want to grab it from git.
http://drupalcode.org/project/commons_wikis.git/commit/05a77c3
Comment #2
Topcheese commentedLatest dev
IIS 7.5
Mysql 5.1
PHP 5.3
Latest Commons
Latest Commons_wiki
The first line cleared up, but the second line is still a problem. You are not able to edit or delete it from the content edit screen, but you can delete it from the main admin content page.
Edit: I forgot to look into it, but I believe there are some issues that that require either some Entity API patches or that the Dev version is used.
EntityMetadataWrapperException: Unknown data property field_target_nodes. in EntityStructureWrapper->getPropertyInfo() (line 339
Comment #3
ezra-g commentedI marked #1842674: Can't delete post in a group as possibly being related.
Comment #4
jpontani commentedThis should be fixed. The problem was the message type hadn't been created yet and the field "field_target_nodes" didn't exist since the message type wasn't created.
http://drupalcode.org/project/commons_wikis.git/commit/5ac0da3
Comment #5
Topcheese commentedI grabbed the update and it appears to fix it on the latest(Dec 02) release. I tested on win7/IIS and CentOS/Apache