Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2011 at 11:57 UTC
Updated:
17 Apr 2011 at 21:21 UTC
I moved from 7.x-3.0-beta3 to dev to fix the link path to [entity_id_4]
Now I can't rearrange fields in the new UI. "Add" drops down to show "and/or delete" and the hover shows "rearrange", but clicking on "and/or" just does nothing. Clicking on "delete" allows deleting, but I need to rearrange.
Suggestion: change "and/or" to "reorder" or "rearrange" or the drag & drop icon.
If we get it working, that is.
Comments
Comment #1
dasjobug confirmed
Comment #2
dawehnerFixed in the latest commited.
Thanks for reporting the issue.
Comment #3
andrewsuth commentedI am using the latest dev from today (including the commit: "#1113052 by dereine: Allow to rearraenge items again, sigh")
When I select "And/Or" drop-down, I get the following AJAX error:
I do not get any error when clicking on "And/Or" for filter criteria.
Comment #4
WillHall commented+1 - Same as #3
Comment #5
dawehnerAfter this commit you should see "sort" on the fields/sorts/etc. again.
Can you please verify this with a drush cc all? This would be really helpful, because it works for me fine.
For all things you can imagine: fields, filters, sorts, areas, conditional filters etc.
Comment #6
WillHall commentedUpgraded to #afffec8
Doubled down on drush cc all
Error persists on Fields
Comment #7
merlinofchaos commentedThat sure looks like perfectly valid JSON. Hm. I wonder why it's not parsing.
Comment #8
merlinofchaos commentedOh ho. http://jsonformatter.curiousconcept.com/ tells me that's not actually valid JSON after all. There's JSON on that page *twice*.
This is true of *both* invalid JSONs here.
Also, 'needs work' is a status for patches that have failed review and are back to the author for work. Setting an issue to this state causes us to be unable to track it.
Comment #9
merlinofchaos commentedThe message in there is that the requested page cannot be found.
You may need to rebuild your menu cache for this to work. 'drush cc menu' if using drush, or the cache clear on the performance page.
Comment #10
merlinofchaos commentedAfter studying this, I discovered that our 404 handling is bad. What that JSON is *supposed* to do is give you a popup that says "The requested page cannot be found." Which is a sure indicator you need a menu rebuild.
Just committed a fix to the 404 handling.
Comment #11
merlinofchaos commentedNo wait. A menu rebuild shouldn't actually fix that for you. Need to think more.
Comment #12
merlinofchaos commentedOk, the problem is that the path is wrong.
It is:
/bc/admin/structure/views/ajax/rearrange-field/dealer_locator/page_1/fieldIt should be:
/bc/admin/structure/views/ajax/rearrange/dealer_locator/page_1/fieldIt's possible that the only thing you need to do is refresh the page with the view?
Comment #13
andrewsuth commentedRefreshing the page does nothing but you're right about the path being incorrect:
When I change
rearrange-fieldtorearrange, I get back what looks like correct markup.Comment #14
dawehnerIf refresh your page doesn't help you should probably download a the newest version. It's fixed there.
Comment #15
WillHall commentedApologies on the incorrect status.
Upgrading to latest dev. (#81bb43c)
A cache clearing frenzy ensued, including browser cache.
Works for me. Danke.
Comment #16
dawehnerThanks for providing that this is fixed!
Comment #17
andrewsuth commentedNice work! "Sort" now appears and works like a charm.
Thanks!