I created a new site. Added Node gallery and created gallery with some gallery items. The activity stream says admin created [message:field-target-nodes:0:title_field] a moment ago. I tried changing this in views but was unable. I thought perhaps it was related to the addition of the node gallery content type so I tried it with a poll but got the same result. I'm not sure what is going on.

CommentFileSizeAuthor
#6 activity.png131.36 KBmpaler
#1 2209727-title_field-2.patch1.08 KBjaperry

Comments

japerry’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

I stumbled upon this issue while testing multiple group types. I believe this should fix the issue.

japerry’s picture

While making this change fixes the problem for people creating new content types, it does not fix existing content types.

Further, converting titles to title_fields causes existing content titles to totally disappear. Should we just document this instead of trying to automatically fix it?

  • Commit fdfae49 on 7.x-3.x by japerry:
    Issue #2209727 by japerry: Enable title_field by default and re-scan...
japerry’s picture

Status: Needs review » Fixed

Fixed!
http://drupalcode.org/project/commons.git/commit/fdfae49

One note, sorta related to this, sorta not. The bw_widget shows as overridden when you make new content types. We should make a new issue to tackle this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mpaler’s picture

Category: Bug report » Support request
Status: Closed (fixed) » Active
StatusFileSize
new131.36 KB

Hi,

Hate to re-open a ticket, however this seemed the most appropriate place. I am running a forum (with custom forum content type) on top of Drupal Commons.

I just did a big drupal & commons version update that includes a couple of custom message types that I override core commons message types with using hook_commons_activity_streams_message_selection_alter. Now, when I visit a user's activity stream that should I see the same situation observed by stieglitz (See attached).

I have tried uninstalling & reinstalling title, my own custom feature, and no joy. I have tried rebuilding the messages using:

title_field_replacement_batch_set('message', 'my_custom_message_type', 'title');

No joy.

Is there a way to rebuild the messages using my custom message type?

Thanks!