Notice: Trying to get property of non-object in profile2_page_own_title() (line 180 of E:\wamp\www\profiles\recruiter\modules\profile2\contrib\profile2_page.module).

This happens when I clone a profile type and change the machine name but keep the original label, I want to keep the labels for all the profile types as resume an use different machine names for different profile types

CommentFileSizeAuthor
#3 Profile2_rules.PNG16.49 KBkaizerking
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fago’s picture

Status: Active » Fixed

indeed, it even happened for all clones for me.
I tracked the bug down to be caused by the entity-ui to work on the statically cached entity (=profile type) when cloning. I fixed that bug in the entity api what fixes this issue for me. To test, update to the next development snapshot of the entity api.

Status: Fixed » Closed (fixed)

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

kaizerking’s picture

Status: Closed (fixed) » Active
FileSize
16.49 KB

Sorry for being late and reactivating, If you feel this is not related to this pl ignore and close it.
Issue: the cloning works fine now, How ever when i want to select this in create a rule we have labels in drop down select, Which causes confusion, If it could be changed to Machine name then it will be really a great help.
Attached is the screen shot of rules creation