Initially using beta1 after adding a "Nodequeue: Add/remove links" field to a view the label was displayed but no link. Adding a relationship did not change this nor did upgrading to development version. Afer uninsalling the development version and installing it again however the same view does display the add / remove links.

Also notable: On #overlay=admin/structure/nodequeue and #overlay=admin/structure/nodequeue/development/edit following error is displayed:

Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form() (line 504 of /.../sites/all/modules/nodequeue/includes/nodequeue.admin.inc).
Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form() (line 551 of /.../sites/all/modules/nodequeue/includes/nodequeue.admin.inc).
Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form() (line 555 of /.../sites/all/modules/nodequeue/includes/nodequeue.admin.inc).

Not sure what to make of this since now it seems to work but I thought I'd share my experience in case it's an update problem e.g.

Comments

denisvs’s picture

I have error messages "An AJAX HTTP request terminated abnormally." while Add/remove links in view.

cajinx’s picture

Priority: Minor » Normal

Having the same error messages. Also having a problem when using the tab to add a piece of content to a queue- only one of the many queue options shows. I cants get the other queses to display at all- only 1 of 4. I am wondering if that is a separate issue of if it's related.

safetypin’s picture

I'm experiencing the same issue. When editing the view, I get the ajax error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/view/manage_slides/preview/page/ajax
StatusText: OK
ResponseText: 
Fatal error:  Cannot access empty property in /Users/idlewilder/Work/John's Pizza Cafe/johnspizzacafe.com/sites/all/modules/dev/nodequeue/includes/views/nodequeue_handler_field_links.inc on line 10

Then, when I visit the page, I get this error:
Fatal error: Cannot access empty property in /[...]/sites/all/modules/dev/nodequeue/includes/views/nodequeue_handler_field_links.inc on line 10

safetypin’s picture

Whoops. I forgot to check versions. I was getting those errors using the 2.0-beta1. After upgrading to 3.0-dev I'm experiencing just a blank field instead of errors for the add/remove links.

safetypin’s picture

Dang, sorry for the double post...
Whoops. I forgot to check versions. I was getting those errors using the 2.0-beta1. After upgrading to 3.0-dev I'm experiencing just a blank field instead of errors for the add/remove links.

steveoliver’s picture

Without error messages, I wasn't seeing 'Add/remove from queue' links when I used them as Views fields. Adding a Relationship (to the select queues I wanted) caused them to appear. Does nodequeue links fields require relationships? It seems the links should appear when a row's node type matches those supported by the queue.

pwaterz’s picture

Version: 7.x-3.x-dev » 7.x-2.0-beta1
Issue summary: View changes
pwaterz’s picture

This exists in beta-1 release

pwaterz’s picture

Status: Active » Needs review
StatusFileSize
new790 bytes
pwaterz’s picture

FYI, I just copied what views does in the class views_handler_field_node_link

  function render($values) {
    if ($entity = $this->get_value($values)) {
      return $this->render_link($entity, $values);
    }
  }
fizk’s picture

Status: Needs review » Closed (duplicate)