After copying beta3 over beta2 (and running update.php, but there was no update), a view stopped working. Looking at the view definition via the GUI, I could see that the Relationships section showed "Error: handler for upload > fid doesn't exist!". There was no way to delete the erroneous entry but I was able to create a new relationship.
I then exported the view definition and could see that the relationship defined under beta2 appears to have been:
---
'relationships' => array(
'fid' => array(
'id' => 'fid',
'table' => 'upload',
'field' => 'fid',
'label' => 'Files',
'required' => 1,
'relationship' => 'none',
),
),
---
but the same relationship under beta3 appears to now be:
---
'relationships' => array(
'upload_fid' => array(
'id' => 'upload_fid',
'table' => 'node',
'field' => 'upload_fid',
'label' => 'Files',
'required' => 0,
'relationship' => 'none',
),
),
---
Actually I created 2/duplicate new relationships so I could see which was the beta3 result. I assume that the beta3 format is the correct one.
One improvement to consider would be to allow a "bad entry" to be eliminated via the GUI. 'Though not a real high priority, it'd be a nice "finishing touch" later ('though, ironically, it's more likely to be useful while things are still "in flux"). #;-)
FYI, deleting the view entry then importing the exported text (minus the 'fid' => array... entry) fixed the issue.
Hope this helps. Keep up the good work. It's appreciated!
Comments
Comment #1
merlinofchaos commentedA bad entry can be eliminated on the GUI by clicking on the 'rearrange' button. The rearrange will give you a list of all entries, plus a delete button that is not dependent upon that entry having a handler.
It is not ideal, but it works and it is the recommended method right now.