Since CSRF protection, 'op' arg for creating/editing an object uses add_form and edit_form. This is missing only in admin/oai_servers.pl and admin/z3950servers.pl
Created attachment 188057 [details] [review] Bug 41043: Use op 'add_form' and 'edit_form' in z3950 servers Since CSRF protection, 'op' arg for creating/editing an object uses add_form and edit_form. This is missing only in admin/z3950servers.pl This patch also removes TT variable add_form to avoid confusion Test plan : 1) Create a new z3950 server 2) Enter mandatory datas in form and save 3) Edit this server 4) Copy this server 5) Repeat 1 to 4 for a SRU server
Created attachment 188058 [details] [review] Bug 41043: Use op 'add_form' and 'edit_form' in oai servers Since CSRF protection, 'op' arg for creating/editing an object uses add_form and edit_form. This is missing only in admin/oai_servers.pl This patch also removes TT variable add_form to avoid confusion Test plan : 1) Create a new OAI repository 2) Enter mandatory datas in form and save 3) Edit this repository 4) Copy this repository
Created attachment 188059 [details] [review] Bug 41043: Use op 'add_form' and 'edit_form' in z3950 servers Since CSRF protection, 'op' arg for creating/editing an object uses add_form and edit_form. This is missing only in admin/z3950servers.pl This patch also removes TT variable add_form to avoid confusion Test plan : 1) Create a new z3950 server 2) Enter mandatory datas in form and save 3) Edit this server 4) Copy this server 5) Repeat 1 to 4 for a SRU server