When using the title module I receive these notices:

Notice: Undefined index: label in entity_get_info() (line 7231 of /Users/joost/Developer/gitrepos/rembrandt/includes/common.inc).

CommentFileSizeAuthor
#21 entity info.jpg104.02 KBcjoy
#18 title-1138646-18.D0.patch2.69 KBplach

Comments

plach’s picture

Title: Notice: Undefined index: label in entity_get_info() (line 7231 of /Users/joost/Developer/gitrepos/rembrandt/includes/common.in » Notice: Undefined index: label in entity_get_info()
Status: Active » Postponed (maintainer needs more info)

I don't, any help to reproduce the bug?

joostvdl’s picture

Currently installed modules:

  • devel [7.x-1.x-dev]
  • entity [7.x-1.0-beta8]
  • front [7.x-2.0-alpha2
  • l10n_client [7.x-1.0-beta3]
  • pathauto [7.x-1.0-beta1]
  • token [7.x-1.x-dev]
  • variable [7.x-1.0-beta3]
  • devel_themer [7.x-1.x-dev]
  • entity_translation [7.x-1.x-dev]
  • i18n [7.x-1.0-beta4]
  • l10n_update [7.x-1.x-dev]
  • title [7.x-1.x-dev]
  • transliteration [7.x-1.0-beta1]
plach’s picture

Would you provide also the versions, please?

joostvdl’s picture

List updated with version numbers

pascavi’s picture

Same issue here in a fresh installation with these modules installed: ubercart, entity_translation and title

joostvdl’s picture

Status: Postponed (maintainer needs more info) » Active

It looks that entity_translation is the only one that is used in both situations.

Any update on this now possible?

joostvdl’s picture

BTW #1003876: Translating Node's Title is the issue that integrate Title with Entity_Translation

plach’s picture

I'm sorry but I still cannot see the bug :(

Can anyone post the exact steps to repeat this from a D7 clean install + Entity translation + Title?

joostvdl’s picture

I think that there needs some documentation of this project. After I read #1003876: Translating Node's Title I found that I had to click 'replace' on the manage fields of a content type.

After I did that for all the content types, and cleared the cache, it looks like if the error is gone now.

joostvdl’s picture

Error occurs still. It is when I go to Manage Fields.

joostvdl’s picture

IN a new site I also can't reproduce it.... :-(

joostvdl’s picture

New setup now has the error again.

@Plach, can I mail you a copy of the site so you can see it?

joostvdl’s picture

Finally found the problem.

When the module comment is disabled, the error occurs.!

plach’s picture

Sure, but please upload it on dropbox (or similar) and mail me the link.

joostvdl’s picture

@Plach ... See #13 to reproduce. Please let me know if you can see it now before I upload a site.

plach’s picture

Ok, I'll check ASAP.

plach’s picture

Status: Active » Needs review
Issue tags: +Needs tests

The attached patch should fix the issue.

plach’s picture

StatusFileSize
new2.69 KB
sun’s picture

Status: Needs review » Reviewed & tested by the community
plach’s picture

Status: Reviewed & tested by the community » Needs work

Committed to 7.x-1.x. Thanks!

Moving to needs work since we are missing tests (see #1142992: Tests broken).

cjoy’s picture

StatusFileSize
new104.02 KB

problem was unrelated to this issue, please ignore this comment :)

plach’s picture

Status: Needs work » Closed (fixed)

  • Commit 538d7ad on 7.x-1.x, workbench by plach:
    Issue #1138646 by plach | joostvdl, sun: Fixed Notice: Undefined index:...