| Issue 1325: | cgit setup 'custom' blocks access to Access page | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.3, master
What steps will reproduce the problem?
1. Setup cgit like below:
type = custom
url = http://trac.frm2.tum.de/cgit/cgit.cgi/
#cgi = /usr/local/www/cgit/cgit.cgi
project = ${project}.git/
branch = ${project}.git/log/?h=${branch}
revision = ${project}.git/log/?id=${commit}
linkname = Gitweb
2. try to access a access rights page
What is the expected output? What do you see instead?
Expected: The access rights table
Instead: The page does not change.
Please provide any additional information below.
setting type to 'disable' allow access again.
firebug js stack trace:
pattern is undefined
com_google_gerrit_common_data_ParameterizedString_ParameterizedString__Ljava_lang_String_2V(pattern=undefined)E10592...he.html (line 15004)
com_google_gerrit_common_data_GitwebLink_$toFileHistory__Lcom_google_gerrit_common_data_GitwebLink_2Lcom_google_gerrit_reviewdb_Branch$NameKey_2Ljava_lang_String_2Ljava_lang_String_2()E10592...he.html (line 5941)
com_google_gerrit_client_admin_ProjectAccessEditor_$setValue__Lcom_google_gerrit_client_admin_ProjectAccessEditor_2Lcom_google_gerrit_common_data_ProjectAccess_2V()E10592...he.html (line 3688)
com_google_gerrit_client_admin_ProjectAccessEditor_setValue__Ljava_lang_Object_2V()E10592...he.html (line 3725)
com_google_gwt_editor_client_impl_Refresher_$visit__Lcom_google_gwt_editor_client_impl_Refresher_2Lcom_google_gwt_editor_client_EditorContext_2Z()E10592...he.html (line 7264)
com_google_gwt_editor_client_impl_Initializer_visit__Lcom_google_gwt_editor_client_EditorContext_2Z()E10592...he.html (line 7307)
com_google_gwt_editor_client_impl_AbstractEditorContext_$traverse__Lcom_google_gwt_editor_client_impl_AbstractEditorContext_2Lcom_google_gwt_editor_client_EditorVisitor_2Lcom_google_gwt_editor_client_impl_AbstractEditorDelegate_2V()E10592...he.html (line 686)
com_google_gerrit_client_admin_ProjectAccessScreen_1DriverImpl_$accept__Lcom_google_gerrit_client_admin_ProjectAccessScreen_1DriverImpl_2Lcom_google_gwt_editor_client_EditorVisitor_2V()E10592...he.html (line 4338)
com_google_gwt_editor_client_impl_BaseEditorDriver_$doEdit__Lcom_google_gwt_editor_client_impl_BaseEditorDriver_2Ljava_lang_Object_2V()E10592...he.html (line 4289)
com_google_gerrit_client_admin_ProjectAccessScreen_$displayReadOnly__Lcom_google_gerrit_client_admin_ProjectAccessScreen_2Lcom_google_gerrit_common_data_ProjectAccess_2V()E10592...he.html (line 3960)
com_google_gerrit_client_admin_ProjectAccessScreen$1_preDisplay__Ljava_lang_Object_2V()E10592...he.html (line 4046)
onSuccess__Ljava_lang_Object_2V(result=Class$com_google_gerrit_common_data_ProjectAccess@1b2 { com_google_gerrit_common_data_ProjectAccess_isConfigVisible=true, com_google_gerrit_common_data_ProjectAccess_local=[AccessSection[GLOBAL_CAPABILITIES], AccessSection[refs/*], AccessSection[refs/for/*], AccessSection[refs/for/refs/*], AccessSection[refs/heads/*], AccessSection[refs/meta/*], AccessSection[refs/meta/config], AccessSection[refs/tags/*]], com_google_gerrit_common_data_ProjectAccess_ownerOf=[GLOBAL_CAPABILITIES, refs/meta/config, refs/for/refs/*, refs/tags/*, refs/meta/*, refs/for/*, refs/heads/*, refs/*], more...})E10592...he.html (line 3196)
com_google_gwtjsonrpc_client_JsonUtil_invoke__Lcom_google_gwtjsonrpc_client_impl_ResultDeserializer_2Lcom_google_gwt_user_client_rpc_AsyncCallback_2Lcom_google_gwt_core_client_JavaScriptObject_2V(resultDeserializer=Class$com_google_gerrit_common_data_ProjectAccess_1JsonSerializer@1b3 { com_google_gerrit_common_data_ProjectAccess_1JsonSerializer_ser_1local=Class$com_google_gwtjsonrpc_client_impl_ser_ListSerializer@1b5, com_google_gerrit_common_data_ProjectAccess_1JsonSerializer_ser_1ownerOf=Class$com_google_gwtjsonrpc_client_impl_ser_SetSerializer@1b6, $H=435, more...}, callback=Class$com_google_gerrit_client_admin_ProjectAccessScreen$1@1b4 { com_google_gerrit_client_admin_ProjectAccessScreen$1_this$0=<div class="GJEA35ODGK"><table class="GJEA35ODHK"><colgroup><col><col><col><col></colgroup><tbody><tr><td> </td><td><div class="GJEA35ODHK"><span class="gwt-InlineLabel">Project All-Projects</span></div></td><td> </td><td align="right" width="100%"> </td></tr></tbody></table><div><table cellpadding="0" cellspacing="0"><tbody><tr><td style="vertical-align: top;" align="left"><div role="menubar" class="GJEA35ODNH"><a role="menuitem" href="#/admin/projects/All-Projects" class="GJEA35ODMH GJEA35ODKH">General</a><a role="menuitem" href="#/admin/projects/All-Projects,access" class="GJEA35ODMH GJEA35ODJ">Access</a></div></td><td style="vertical-align: top;" align="left"><div><div><div> <button class="gwt-Button" type="button">Edit</button> <button style="display: none;" class="gwt-Button" type="button">Cancel</button> </div> <div><div style="display: none;" class="GJEA35ODGW"> <span class="GJEA35ODIW">Rights Inherit From:</span> <div class="GJEA35ODHW"><a></a></div> </div> <div style="display: block;" class="GJEA35ODEW"> <span class="GJEA35ODFW">History:</span> <a class="GJEA35ODDW">(Gitweb)</a> </div> <div></div> <div class="GJEA35ODCW"> <a style="display: none;" href="javascript:void" class="gwt-Anchor">Add Reference</a> </div></div> <div style="display: none;"> <div class="GJEA35ODJW"> Commit Message (optional):<br> <textarea cols="60" rows="4" spellcheck="true" class="gwt-TextArea"></textarea> </div> <button class="gwt-Button" type="button">Save Changes</button> <button class="gwt-Button" type="button">Cancel</button> </div> <div style="width: 35em; visibility: hidden;"></div></div></div></td></tr></tbody></table></div></div>, com_google_gerrit_client_rpc_ScreenLoadCallback_screen=<div class="GJEA35ODGK"><table class="GJEA35ODHK"><colgroup><col><col><col><col></colgroup><tbody><tr><td> </td><td><div class="GJEA35ODHK"><span class="gwt-InlineLabel">Project All-Projects</span></div></td><td> </td><td align="right" width="100%"> </td></tr></tbody></table><div><table cellpadding="0" cellspacing="0"><tbody><tr><td style="vertical-align: top;" align="left"><div role="menubar" class="GJEA35ODNH"><a role="menuitem" href="#/admin/projects/All-Projects" class="GJEA35ODMH GJEA35ODKH">General</a><a role="menuitem" href="#/admin/projects/All-Projects,access" class="GJEA35ODMH GJEA35ODJ">Access</a></div></td><td style="vertical-align: top;" align="left"><div><div><div> <button class="gwt-Button" type="button">Edit</button> <button style="display: none;" class="gwt-Button" type="button">Cancel</button> </div> <div><div style="display: none;" class="GJEA35ODGW"> <span class="GJEA35ODIW">Rights Inherit From:</span> <div class="GJEA35ODHW"><a></a></div> </div> <div style="display: block;" class="GJEA35ODEW"> <span class="GJEA35ODFW">History:</span> <a class="GJEA35ODDW">(Gitweb)</a> </div> <div></div> <div class="GJEA35ODCW"> <a style="display: none;" href="javascript:void" class="gwt-Anchor">Add Reference</a> </div></div> <div style="display: none;"> <div class="GJEA35ODJW"> Commit Message (optional):<br> <textarea cols="60" rows="4" spellcheck="true" class="gwt-TextArea"></textarea> </div> <button class="gwt-Button" type="button">Save Changes</button> <button class="gwt-Button" type="button">Cancel</button> </div> <div style="width: 35em; visibility: hidden;"></div></div></div></td></tr></tbody></table></div></div>, $H=436, more...}, rpcResult=Object { jsonrpc="2.0", id=7, result={...}})E10592...he.html (line 33135)
onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(req=Class$com_google_gwt_http_client_Request@1b7 { com_google_gwt_http_client_Request_timeoutMillis=0, $H=439, java_lang_Object_castableTypeMap$={...}}, rsp=Class$com_google_gwt_http_client_Request$1@1b8 { com_google_gwt_http_client_Request$1_val$xmlHttpRequest=XMLHttpRequest, $H=440, java_lang_Object_castableTypeMap$={...}})E10592...he.html (line 33791)
com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(this$static=Class$com_google_gwt_http_client_Request@1b7 { com_google_gwt_http_client_Request_timeoutMillis=0, $H=439, java_lang_Object_castableTypeMap$={...}}, callback=Class$com_google_gwtjsonrpc_client_impl_v2_10_JsonCall20HttpPost@1b9 { com_google_gwtjsonrpc_client_impl_JsonCall_proxy=Class$com_google_gerrit_common_data_ProjectAdminService_1JsonProxy@1ba, com_google_gwtjsonrpc_client_impl_JsonCall_methodName="projectAccess", com_google_gwtjsonrpc_client_impl_JsonCall_requestParams="[{"name":"All-Projects"}]", more...})E10592...he.html (line 24169)
onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(xhr=XMLHttpRequest { responseText="{"jsonrpc":"2.0","id":7...isConfigVisible":true}}", response="{"jsonrpc":"2.0","id":7...isConfigVisible":true}}", status=200, more...})E10592...he.html (line 24391)
com_google_gwt_xhr_client_XMLHttpRequest_$setOnReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Lcom_google_gwt_xhr_client_ReadyStateChangeHandler_2V()E10592...he.html (line 31369)
com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction=function(), thisObj=XMLHttpRequest { responseText="{"jsonrpc":"2.0","id":7...isConfigVisible":true}}", response="{"jsonrpc":"2.0","id":7...isConfigVisible":true}}", status=200, more...}, arguments=[readystatechange ])E10592...he.html (line 21917)
com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction=function(), thisObj=XMLHttpRequest { responseText="{"jsonrpc":"2.0","id":7...isConfigVisible":true}}", response="{"jsonrpc":"2.0","id":7...isConfigVisible":true}}", status=200, more...}, arguments=[readystatechange ])E10592...he.html (line 21945)
com_google_gwt_core_client_impl_Impl_entry__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2()E10592...he.html (line 21932)
[Break On This Error]
while (i < pattern.length) {
E10592...he.html (line 15004
Apr 11, 2012
#1
webmas...@frm2.tum.de
Apr 20, 2012
This seems to be fixed in 2.4rc0, if the new setting introduced in https://gerrit-review.googlesource.com/#/c/34360 is used. |
|
| ► Sign in to add a comment |