Browsing Revisions in Custom Post Types takes me Empty Post Listing

This had to do with the user not having the CPT capabilities access set up properly.

I was setting custom capabilities as such:

          'capabilities' => array(
            'publish_posts' => 'publish_' .$this->type,
            'edit_posts' => 'edit_' .$this->type,
            'edit_others_posts' => 'edit_others_' .$this->type,
            'edit_published_posts' => 'edit_published_' .$this->type,
            'delete_posts' => 'delete_' .$this->type,
            'delete_others_posts' => 'delete_others_' .$this->type,
            'read_private_posts' => 'read_private_' .$this->type,
            'edit_post' => 'edit_' .$this->type,
            'delete_post' => 'delete_' .$this->type,
            'read_post' => 'read_' .$this->type
        ),

In the code, ideally when the plugin is activate, I should’ve had a code that set the capability for the user I wanted (this is from the class I built, the options member has an array with the custom capabilities)

    $capabilities = $this->options['capabilities'];
    $admin_role = get_role( 'administrator' );
    $editor_role = get_role( 'editor' );
    foreach ( $capabilities as $capabilities => $capability_name ) {
        $admin_role->add_cap( $capability_name );
        // $editor_role->add_cap( $capability_name );
    }

Once I messed with these settings, the revisions worked as expected.