I'm testing the last dev version and I'm getting the following error:
Notice: Undefined index: comment_body in theme_microdata_mapping_admin() (line 375 of /var/www/test/sites/all/modules/microdata/microdata.admin.inc
when accessing microdata config panel ( admin/config/services/microdata ).

The above error is repeated for all my fields.

CommentFileSizeAuthor
#6 microdata_1854698-5.patch777 bytessegi
#1 microdata_1854698.patch892 byteswebaccess

Comments

webaccess’s picture

StatusFileSize
new892 bytes

Hi,
If you use latest Microdata 7.x-1.0-beta2 then you will not get undefined index notices.
I have attached a patch.
You can use it for 7.x-1.x-dev version.

--Swati k.

dimon00’s picture

Thank you swati.
The patch works and the errors disappeared.

I'm going to test the dev version little bit more.

Thanks

jawi’s picture

patch works for me.

alfthecat’s picture

Status: Active » Reviewed & tested by the community

Works for me too. That makes three, if I'm not mistaken, we can consider it reviewed and tested at this point.

segi’s picture

I test the patch and it solved the issue, but I found two problem in it, there was a coding standard issue in patch and the patch apply fail if I don't store the module under sites/all/modules..

I attached the new patch.

segi’s picture

Issue summary: View changes
StatusFileSize
new777 bytes
segi’s picture

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

tested works

das-peter’s picture

Status: Needs review » Fixed

Patched & pushed. Thanks!

  • das-peter committed 2158887 on 7.x-1.x authored by segi
    Issue #1854698 by segi, webaccess: Notice: Undefined index: comment_body...

Status: Fixed » Closed (fixed)

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