I can't figure out why I don't have any User Reference or Node Reference arguments available to me anymore? I'm pretty sure these existed, but now are completely gone?

Any ideas as to why?

Comments

dodorama’s picture

I'm having the same issue

marcp’s picture

Same thing here. I'll try to reproduce this, but it may have broken after upgrading calendar and date, because those are the last things I upgraded, and I think everything was working before that.

Also note that newly added node reference fields aren't getting added to the Arguments list, but they are getting added to the Fields list and the Filters list.

marcp’s picture

See this issue in the Date project -- it was the culprit for me. I rolled back to the previous versions of Date and Calendar (and restored my database) and the problem went away.

mshaver’s picture

Thanks for finding the issue. I would have never expected Date to be the problem. What database changes were needed to roll back to Date 1.6?

MacRonin’s picture

Looks like your problem may be the same as mine.

http://drupal.org/node/193324

I'll have to do a bit of testing to try and confirm.

BTW I also get a problem on a VIEW(not all, just one in a block with an ARG) that existed prior to the upgrade. I have also included screen grabs to show the before and after for the pre-existing VIEW that was failing(White screen _ msg below)

On the existing VIEW I get the following error

[Sun Nov 18 00:27:56 2007] [error] [client 99.99.99.99] PHP Fatal error: Call to undefined function: () in /removed for security.../httpdocs/sites/default/modules/views/views.module on line 1581

===

Did you try rolling back to DATE 1.6 yet? Were there any database changes? I'd really rather not have to restore the DB.

MacRonin’s picture

In my case the problem was the 1.7 version of DATE. Disabling or going back to 1.6 made the problem go away.

bassio’s picture

Yes same here
http://drupal.org/node/193324#comment-638827

seems to me an issue of the date module because I rolled back and all was fine

karens’s picture

What version of Views are you using? In my version of Views, line 1581 is a blank line that could not possibly cause an error.

karens’s picture

Status: Active » Closed (duplicate)

Never mind the previous question, that line is valid in the 1.6 version of Views. This is very odd and I can't replicate it, and there is nothing in the Date module code that should have any effect on nodereference or other fields, but there is another issue about this posted in the Date module, so this is a duplicate.

Move this discussion to that issue, http://drupal.org/node/189093.

karens’s picture

Just posting this for anyone who was tracking this issue. I finally found the problem and a fix, which was just committed to the dev version for all branches (4.7, 5.x, and HEAD). It will be available immediately if you get it from cvs, otherwise should show up in the dev tarball tomorrow. If I get reports back on http://drupal.org/node/189093 that the fix is working right, I'll create a new official release with the fix.