Hi,
Testing the new D7 dev of 28th februari.
Thanks Nancy and Gerhard for making this finally happen!

I got this error while editing a weblink:

Notice: Undefined property: stdClass::$has_body in weblinks_form() (line 124 of sites/all/modules/weblinks/weblinks.module).

Thanks a lot in advance for going into this.
Greetings,
Martijn

CommentFileSizeAuthor
#3 weblinks_has_body-1931210-0.patch504 bytesGStegemann

Comments

summit’s picture

Hi, I see with Storm somewhat same error and may be a solution: http://drupal.org/node/1549820

greetings, Martijn

GStegemann’s picture

Yes, looks very similar. I will look into this.

GStegemann’s picture

StatusFileSize
new504 bytes

I've implemented a small fix for this. See attached patch. But anyway, I think the form for 'body_field' is not needed anymore in D7, since it setup automatically.

Next, what about weblinks_node_info()? Should 'has_body' still bi included in the returned array?

GStegemann’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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