Hey,
I have a clean install of drupal v 7.2 and the latest ctools version (beta-1). When I try to add and configure a relationship using the ui, I get a page of ajax (?) code as shown below:
[{"command":"settings","settings":{"basePath":"\/TeamWeb\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"kou3A-T_42qMYmfumcd1ulNJiUeTAzqXVoDeOn5anEs","css":[]}},"merge":true},{"command":"viewsSetForm","output":"\u003cdiv class=\"views-messages\"\u003e\u003cdiv class=\"messages error\"\u003e\n\u003ch2 class=\"element-invisible\"\u003eError message\u003c\/h2\u003e\n \u003cul\u003e\n \u003cli\u003eThere is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the \u003ca href=\"\/TeamWeb\/admin\/reports\/updates\/update\"\u003eavailable updates\u003c\/a\u003e page for more information and to install your missing updates.\u003c\/li\u003e\n \u003cli\u003eChanges cannot be made to a locked view.\u003c\/li\u003e\n \u003cli\u003eThere is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the \u003ca href=\"\/TeamWeb\/admin\/reports\/updates\/update\"\u003eavailable updates\u003c\/a\u003e page for more information and to install your missing updates.\u003c\/li\u003e\n \u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cform action=\"\/TeamWeb\/admin\/structure\/views\/ajax\/add-item\/recent_ladder_activity\/default\/relationship\" method=\"post\" id=\"views-ui-add-item-form\" accept-charset=\"UTF-8\"\u003e\u003cdiv\u003e\u003cdiv class=\"scroll form-wrapper\" id=\"edit-options\"\u003e\u003cdiv class=\"form-item\"\u003eThere are no relationships available to add.\u003c\/div\u003e\u003c\/div\u003e\u003cdiv class=\"container-inline views-add-form-selected\"\u003e\u003cdiv id=\"edit-selected\" class=\"form-item form-type-item\"\u003e\n \u003clabel for=\"edit-selected\"\u003eSelected: \u003c\/label\u003e\n \u003cdiv class=\"views-selected-options\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"clearfix\"\u003e\u003cdiv class=\"form-buttons\"\u003e\u003cinput type=\"submit\" id=\"edit-submit\" name=\"op\" value=\"Add and configure relationships\" class=\"form-submit\" \/\u003e\u003cinput type=\"submit\" id=\"edit-cancel\" name=\"op\" value=\"Cancel\" class=\"form-submit\" \/\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cinput type=\"hidden\" name=\"form_build_id\" value=\"form-ozctF92ur13Q8w9X6H9wjozctn4H89lqTlOxMt85DiE\" \/\u003e\n\u003cinput type=\"hidden\" name=\"form_token\" value=\"yIyHonktPGgFgTzuTloBy-sSyq2Or0CQY8-iG6R7NdQ\" \/\u003e\n\u003cinput type=\"hidden\" name=\"form_id\" value=\"views_ui_add_item_form\" \/\u003e\n\u003c\/div\u003e\u003c\/form\u003e","title":"Add relationships","url":"http:\/\/localhost:8888\/TeamWeb\/admin\/structure\/views\/ajax\/add-item\/recent_ladder_activity\/default\/relationship"},{"command":"viewsHilite","selector":".defaultadd-item"}]
I am happy to provide any other information as needed.
Best wishes,
Peter
Comments
Comment #1
ph352 CreditAttribution: ph352 commentedComment #2
jdleonardI'm also seeing this. Even when there are no relationships available, upon clicking "cancel", I see this.
Comment #3
jdleonardComment #4
dawehnerIs it still an issue?
if yes, do you use devel module and have enabled backtrace for error handling?
If no, http://drupal.org/node/571990 might give you some examples how to fix it.
Comment #5
jdleonardYeah, I think this was devel module and backtrace for error handling, thanks.
Comment #6
ICameToPlay CreditAttribution: ICameToPlay commenteddawehner, I don't understand what your link http://drupal.org/node/571990 has to do with the thread topic Add and configure relationship or with your comment of enabled backtrace.
Comment #7
TheoRichel CreditAttribution: TheoRichel commentedHaving the same issue on Views 7.x-3.8. Do not use the devel module. The View is so far very simple with only one Field. I put the exportcode below.
Comment #8
TheoRichel CreditAttribution: TheoRichel commentedMaybe you can reproduce it with the code I supplied.
Thanks
Theo Richel
Comment #9
dawehnerIt is always either devel themer, jquery UI or maybe some php/js error. Please have a look whether you can see one.
Comment #10
DamienMcKennaSeems like a problem from another module.. from six years ago.