Closed (fixed)
Project:
Strongarm
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2011 at 14:57 UTC
Updated:
16 Feb 2012 at 13:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
silvio commentedsubscribe
Comment #2
mraichelson commentedsubscribe
Comment #3
mraichelson commentedNot positive if this is coming from the same thing or not (if not glad to branch to another ticket) but when trying to do features updates via Drush in some cases I'm receiving the following...
Comment #4
ryan258 commentedSame problem, subscribe!
Comment #5
sylus commentedSame problem as well, subscribe!
Comment #6
cyberwolf commentedSubscribing.
Comment #7
das-peter commentedCreated patch & changed condition part
(isset($vars[$object_name]->in_code_only) && $vars[$object_name]->in_code_only)to
!empty($vars[$object_name]->in_code_only)empty()checks automatically if the property exists.Comment #8
lsolesen commentedSubscribe.
Comment #9
moonray commentedSame problem. Subscribing.
Comment #10
shawn_smiley commentedThe patch in #7 resolved the undefined property error for me.
Comment #11
jweowu commentedI agree with using empty() in place of isset(). ctools currently only sets this property to TRUE or not at all, but it doesn't make sense to assume that it could never be FALSE in the future. This change also needs to be made elsewhere in strongarm, however. Patch attached.
Comment #12
shawn dearmond commentedTested #11 on 7.x-2.0-beta3, and it definitely fixed the errors.
Comment #13
goldlilys commentedSubscribing
Comment #14
cyberwolf commentedThe patch works here as well.
Comment #15
orakili commentedSame patch as #11 without prefix.
Comment #16
scor commented@orakili: patches should include prefixes now since May 2011, it's the new git way :)
Confirmed the patch #11 solves this issue.
Comment #17
czigor commented#11 works for me too.
Comment #18
jon pugh#11 works great.
Commit that sucka!
Comment #19
jackalope commented#11 works for me, thanks for the patches!
Comment #20
febbraro commentedThank you everyone. Committed to 7.x branch. http://drupalcode.org/project/strongarm.git/commit/438d33b
Comment #22
vectoroc commented#1402576: Notice: Undefined property: stdClass::$in_code_only in variable_features_export() (line 159 of path/to/strongarm.module).