After upgrading to the latest version, I noticed an "error : missing title, error : missing help" when browsing the available content fields in views2.
Since I had been playing a lot with some modules that didn't properly uninstalled, I figured the problem to be one of them.

But after saving a content type with an imagefield, it suddenly became clear. Views was referring to the data (description, title, alt) attached to an imagefield.

A user shouldn't be obliged to resave any imagefields after updating, but in this case it repairs the Fields in views.
Thus a minor thing, which is easily solved.

thx,
keep up the fine work

Comments

quicksketch’s picture

Which version of ImageField were you upgrading from? Converting from Drupal 5 Views to Drupal 6 currently isn't supported.

Roulion’s picture

Priority: Minor » Normal

I have the same pb. I ran the update from the previous 6.x-3.0-rc1 version.
I also noticed that when i want to edit my image fild on whatever content type, i encounter a blank page (which is quite problematic).

I tried to rollback to previous version of imagefield til beta3, but it won't correct the point. I also tried a roll back to beta1 version of filefield but there is the same pb

quicksketch’s picture

Roulion, at what point did this stop working? I don't know what problem this really is. Is it that fields that contained "data (description, title, alt)", stopped working? I'm assuming this means other fields are still working other than data?

Roulion’s picture

that exactly the point... Actualy, my content types were set up yet, so i never had to modify it. I noticed that issue 2 days ago. As well as the view point (because i created a new view).

About the imagefields that are no longer working (in editing the field, not in adding content), whatever there ara data to fill in or not, i have a blanck page

Can you you reproduce the bug ?

quicksketch’s picture

Ah, okay. This problem was caused by the addition of #366434: Represent title, description or alt fields in Views 2. Previously I wasn't expecting anyone to be used the "data" column in views, because it was not helpful to have a serialized column displaying. There is now a specialized handler included with FileField that makes it so that you can pull out individual pieces of data like description, alt, or title.

So it seems that there is indeed an upgrade bug, FileField should edit all the views that contain this field and assign it the new handler... though I'm not really sure yet how this works. I thought that Views would automatically start using the new handler. Maybe we just need the clear the Views cache and it would immediately recognize the new handler.

quicksketch’s picture

Title: After upgrade - fields-data not recognized in views » FileField "data" column missing Views handler after upgrade
victoria_b’s picture

Hi,

I've ran into this same problem a few days ago and was just wondering if there has been any progress on correcting it?

Thank you.

yched’s picture

@quicksketch: unfortunately there's no easy way to update existing views (if that's what is needed here, I didn't closely follow the issue)
Best you can do with a little work is update Views that are in the db, but exported Views that live in the code are out of reach.

We had a similar issue for text fields in CCK RC10 -> 2.0 final.
http://drupal.org/node/330658#comment-1120085 has some code that might be useful as a starting point (was used by the Acquia distro). I'm surprised to see it only notifies about broken Views, but does not actually update them. I thought it did a little more. You might want to check with David Rothstein, see if it's the final code that was used back then (the guys at Acquia might be interested in this issue anyway, I guess...)

niklp’s picture

[sub]

kenyob’s picture

subscribe

Christopher Herberte’s picture

Subscribe / WTF

Meanwhile, manual fix: Content types -> Edit [Type] -> Manage Fields -> [Image Field]
Edit/Save -- Seems to bring views around, no good if you have butt-loads of image fields though.

thommyboy’s picture

UPDATE:
not a filefield issue, the same bug in geo-field module, i'll post it there...

hi, i have the same problem. i did have the filefield and filefield-data fields available in views,
but an extra "field" "error : missing title, error : missing help"
edit/save didn't solve it for me. i tried (for testing) to remove the field from the contenttypes (use it in
three contenttypes) now the first two fields are gone- but the "error : missing title, error : missing help"
is still there. is that the same problem or possibly a similar problem caused by another module/field?

swill’s picture

The patch from http://drupal.org/node/489988#comment-1819096 should solve this problem...

The problem is that the field is being set to null because the only field with a value is on the left and the expression is evaluated from right to left.

cheers,

swill

swill’s picture

sorry, i though it was the same issue... basically, make sure that the info being passed in is correct. in the situation that i solved the data was getting munged right before it went to the view...

dsel’s picture

subscribe

quicksketch’s picture

Status: Active » Closed (won't fix)

This is a bug that likely won't be fixed due to the difficulty of upgrading Views. Using the 'data' column in the 3.0 version is already a bit of an edge-case, since this column didn't provide any useful display options unless you did manual theming on your own.

joshuautley’s picture

Please, further explain "won't fix".

You won't, meaning you don't want to, you will not, or it (the code) can not, which, is odd because there is always a fix, people make the code, people fix the problem. Are you the wrong person for this problem?