I added all my resources without a problem. But when I started making a reservation, I found an error:

Notice: Undefined index: en in merci_validate_merci_selected_items() (line 16 of .../sites/all/modules/merci/includes/api.inc).
Notice: Undefined index: en in merci_validate_merci_selected_items() (line 17 of .../sites/all/modules/merci/includes/api.inc).
Notice: Undefined index: en in merci_add_reservation_items() (line 1008 of .../sites/all/modules/merci/includes/api.inc).
Notice: Undefined index: en in merci_add_reservation_items() (line 1008 of .../sites/all/modules/merci/includes/api.inc).

Once I added my reservation, I got the errors above. It states that the language of the reserved item isn't defined.

Is there someone who knows how I should deal with this?

CommentFileSizeAuthor
Screenshot.png45.12 KBsvvlaere

Comments

svvlaere’s picture

Issue summary: View changes

changed error message

svvlaere’s picture

Apparently the reason of this error is that the objects that can be reserved are in one way or another wrongly connected.

darrick’s picture

Priority: Major » Normal
Status: Active » Needs review

I committed a fix here: http://drupalcode.org/project/merci.git/commit/be07b5b

Please test.

Thanks

svvlaere’s picture

This is a complete fix for my problem.

So this can be integrated in the next release of it.

darrick’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

site