Invite 4.x does not have user invitation tabs. The included views is incomplete and not filterable.

ORIGINAL ISSUE:
I was having problems upgrading Invite 7.x-2.1-beta2 to 4.0 so I uninstalled it, dropped the tables from my database, ran registry rebuild and then installed Invite 7.x-4.0-beta2. The install went great, the only issue is when I click on the Invite tab in my user account nothing shows up to send Invites. Every other tab is working. I'm still new to coding etc. and I'm not sure what the issue is. I have included screenshots.

Should I uninstall Invite again and reinstall the 2.1 version? It worked except for the "Strict Warning" error message about passing variables. There is a patch I can apply for that. I am using the Commerce Kickstart 2 install, but didn't have any issues with the earlier version of Invite.

Comments

internal’s picture

same issue here with a fresh installation of 4.0b2, maybe 2.1 is the right choice.

FreeFox’s picture

Same problem here :(

artzybella’s picture

having the same problem

artzybella’s picture

I went back to version 2.1 and it worked. Version 4.9 displays nothing under invite tab.

Vemma-1’s picture

Same here! I can't even locate where the settings are and nothing in the help link, and it sayd read the read,txt file as there is nothing.

iKb’s picture

Guys the view user/%/invites is broken open and fix it (i got it working).

I will post my working views export as soon as i have time.

vishy_singhal’s picture

Guys, Try invite/add

And make sure that you have the enable (invite by email) enabled. That will atleast get some details in place.

You could also add

invite/add/invite_by_email

Once you add a few entires, then you will see that the view fetches all the relevant data.

ckng’s picture

Title: Nothing shows up under Invite tab on User Account » Initial Invites tab on user account is empty
Version: 7.x-4.0-beta2 » 7.x-4.x-dev

Have no prior Invite installation, could someone post a screenshot how it looks like under 7.x-2.x or older version?

My take is it should not be left empty and there should be at least some messages with link to the invite form or the invite form itself on top of the user's Invites tab. That will provide a sensible default from user point of view.

ckng’s picture

Assigned: Unassigned » ckng
Priority: Major » Normal
ckng’s picture

StatusFileSize
new58.11 KB

For reference, from 7.x-2.x

7.x-2.x

ckng’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new27.89 KB

Attached patch

  • updated the default views included with Accepted, Pending, Expired and invite types as user menu local tasks
  • introduced "status" column into the {invite}, to facilitate easier views field and filter implementation

Steps:

  • apply patch
  • clear cache
  • revert invite views

Further list of to do, but does not impact this patch are

  • a way to update invite "status" for expired invite, cron likely. Until then, checking expiry is the best way.
  • "canceled" is obsolete with "status", remove it.

  • ckng committed 3034af4 on 7.x-4.x
    Issue #2135569 by ckng: Initial Invites tab on user account is empty
    
ckng’s picture

Status: Needs review » Closed (fixed)

Committed to dev. Please create new issue if you encounter bug or have feature request.