Am getting the following error message multiple times on the Manage Display tab. It may have something to do with Display Suite. The error goes away when I select no layout.

Notice: Undefined index: cardinality in field_multiple_limit_field_formatter_settings_summary_alter() (line 28 of /home/rivulcom/drupal-7.20/sites/all/modules/field_multiple_limit/field_multiple_limit.module).

Any suggestions?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuaelFr’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
1.44 KB

This not only happens with Display Suite but for all extra fields because they have no cardinality.
This patch fixes this notice.

This patch is part of the #1day1patch initiative.

hedel’s picture

#1 worked for me
Thanks @DuaelFr

Heorhi Lazarevich’s picture

#1 worked for me too
Thanks @DuaelFr

JKingsnorth’s picture

Status: Needs review » Reviewed & tested by the community

#1 works for me three, thanks.
Though the new IF statement is a bit too long, it's a nice quick fix.

wooody’s picture

#1 ... Thank you DuaelFr .

zmove’s picture

#1 worked for me too.

pagalve’s picture

Issue summary: View changes

Great work ! "DuaelFr

webadpro’s picture

Please Commit.

Ravenight’s picture

#1 worked for me

jmuzz’s picture

#1 worked for me too.
Thanks @DuaelFr

fonant’s picture

#1 works here.

Anonymous’s picture

#1 seems to have worked for me, too. Thanks!

kae76’s picture

Works a treat for me too, thanks

csc4’s picture

Patch fixed it for me too - seems surprising that in two years this hasn't been committed?

MarkieG’s picture

I agree, I hate applying patches. I'm hoping this module doesn't get updated without this patch being committed.

andros’s picture

Status: Reviewed & tested by the community » Patch (to be ported)

Many useful modules are almost abandoned. It is a bit strange the maintainers get lost somehow.
I have set it to "patch to be ported" maybe the maintainer wakes up sometime.

JKingsnorth’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

Hi andros - it doesn't need porting, it needs committing, so this should be RTBC =]

brandonc503’s picture

*deleted as i cant remove account

DuaelFr’s picture

@brandonc503 You should learn how to patch because this module has no active maintainer for now (not blaming anyone, I also own a few modules that I cannot maintain anymore). https://www.drupal.org/patch/apply

Road Kill’s picture

Thank you for the Patch DuaelFr worked for me. Really bad that a year later this has still not been committed.

  • rootwork committed ad249ca on 7.x-1.x authored by DuaelFr
    Issue #1958614 by DuaelFr: Undefined index: cardinality in...
rootwork’s picture

Status: Reviewed & tested by the community » Fixed

I'm now helping out maintaining this module, and I've published this patch to the dev version. A new alpha release with the patch is also forthcoming.

Status: Fixed » Closed (fixed)

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