Notice: Undefined index: description in uc_order_views_data() (line 35 of ubercart/uc_order/views/uc_order.views.inc).
Notice: Undefined index: description in uc_order_views_data() (line 63 of ubercart/uc_order/views/uc_order.views.inc).
Notice: Undefined index: description in uc_order_views_data() (line 81 of ubercart/uc_order/views/uc_order.views.inc).
Notice: Undefined index: description in uc_order_views_data() (line 93 of ubercart/uc_order/views/uc_order.views.inc).
Notice: Undefined index: description in uc_order_views_data() (line 119 of ubercart/uc_order/views/uc_order.views.inc).

This seems to pop up all over the place, any page where a view is used basically. It does seem to have some level of caching, e.g. when the views are displayed, a refresh of the page will eliminate them until the next time something is performed.

CommentFileSizeAuthor
#4 1001850_views_data.patch11.77 KBIsland Usurper

Comments

ryan.armstrong’s picture

I'm having the same issues

mandreato’s picture

Subscribe

mahfiaz’s picture

I have the same, after I upgraded from d7alpha.

Island Usurper’s picture

Status: Active » Fixed
StatusFileSize
new11.77 KB

In Drupal 7, drupal_get_schema() no longer returns the 'description' keys because it just clutters up the cached array. In general, you don't need it unless you're creating the table anyway, so uc_order_views_data() just needs to set its own help text. Mostly I copied it from the various hook_schema()s, so there should be little noticeable change beyond the lack of notices.

Status: Fixed » Closed (fixed)

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

NPC’s picture

The patch in #4 seems to have helped me, thank you very much!

thalemn’s picture

Worked for me, too.

Thank you!