Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translatable #2

Open
JStika opened this issue Apr 10, 2013 · 2 comments
Open

Translatable #2

JStika opened this issue Apr 10, 2013 · 2 comments

Comments

@JStika
Copy link

JStika commented Apr 10, 2013

Original question: "How can I to use with Translatable on SS 3?"

Additional info from Gordon (edit)

If one tries to create a Link that is not in the default locale, the observed behavior is this:

  • Fill in details and click the 'Create Button'
  • No visible error is returned to the browser, the form appears as it was prior to hitting the create button
  • A new link is not created in the database
  • The browser is redirected to a link in the default Locale

Additionally I cannot find an attempt to save the Link object

@gordonbanderson
Copy link
Owner

 PHP Fatal error:  Call to a member function forTemplate() on a non-object in /home/gordon/work/git/weboftalent/modules30/www/framework/admin/code/LeftAndMain.php on line 478, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   1. {main}() /home/gordon/work/git/weboftalent/modules30/www/framework/main.php:0, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   2. Director::direct() /home/gordon/work/git/weboftalent/modules30/www/framework/main.php:126, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   3. Director::handleRequest() /home/gordon/work/git/weboftalent/modules30/www/framework/control/Director.php:119, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   4. AdminRootController->handleRequest() /home/gordon/work/git/weboftalent/modules30/www/framework/control/Director.php:296, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   5. LeftAndMain->handleRequest() /home/gordon/work/git/weboftalent/modules30/www/framework/admin/code/AdminRootController.php:89, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   6. Controller->handleRequest() /home/gordon/work/git/weboftalent/modules30/www/framework/admin/code/LeftAndMain.php:357, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   7. RequestHandler->handleRequest() /home/gordon/work/git/weboftalent/modules30/www/framework/control/Controller.php:153, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   8. Controller->handleAction() /home/gordon/work/git/weboftalent/modules30/www/framework/control/RequestHandler.php:184, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP   9. CMSMain->index() /home/gordon/work/git/weboftalent/modules30/www/framework/control/Controller.php:205, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP  10. LeftAndMain->index() /home/gordon/work/git/weboftalent/modules30/www/cms/code/controllers/CMSMain.php:89, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP  11. PjaxResponseNegotiator->respond() /home/gordon/work/git/weboftalent/modules30/www/framework/admin/code/LeftAndMain.php:397, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP  12. call_user_func() /home/gordon/work/git/weboftalent/modules30/www/framework/control/PjaxResponseNegotiator.php:82, referer: http://modules30.silverstripe/admin/pages/?locale=en_US
[Thu Apr 11 18:21:48 2013] [error] [client 127.0.0.1] PHP  13. {closure}() /home/gordon/work/git/weboftalent/modules30/www/framework/control/PjaxResponseNegotiator.php:0, referer: http://modules30.silverstripe/admin/pages/?locale=en_US

@gordonbanderson
Copy link
Owner

Additionally the server response is blank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants