Giter Club home page Giter Club logo

Comments (11)

javigomez avatar javigomez commented on July 26, 2024

assigning to @gunjanpatel

from com_localise.

gunjanpatel avatar gunjanpatel commented on July 26, 2024

Updating link https://github.com/joomla-projects/com_localise/blob/develop/component/admin/models/downloadpackage.php#L30-L31

from com_localise.

gunjanpatel avatar gunjanpatel commented on July 26, 2024

@phproberto and @javigomez sent fix for one view. Please review.

from com_localise.

infograf768 avatar infograf768 commented on July 26, 2024

gunjanpatel@0313349
This does not work: we can' create a new language.

[24-Aug-2014 16:09:51 UTC] PHP Notice:  Undefined index: client in /Applications/MAMP/htdocs/trunkgitnew/administrator/components/com_localise/controllers/language.php on line 82
[24-Aug-2014 16:09:51 UTC] PHP Stack trace:
[24-Aug-2014 16:09:51 UTC] PHP   1. {main}() /Applications/MAMP/htdocs/trunkgitnew/administrator/index.php:0
[24-Aug-2014 16:09:51 UTC] PHP   2. JApplicationCms->execute() /Applications/MAMP/htdocs/trunkgitnew/administrator/index.php:42
[24-Aug-2014 16:09:51 UTC] PHP   3. JApplicationAdministrator->doExecute() /Applications/MAMP/htdocs/trunkgitnew/libraries/cms/application/cms.php:251
[24-Aug-2014 16:09:51 UTC] PHP   4. JApplicationAdministrator->dispatch() /Applications/MAMP/htdocs/trunkgitnew/libraries/cms/application/administrator.php:152
[24-Aug-2014 16:09:51 UTC] PHP   5. JComponentHelper::renderComponent() /Applications/MAMP/htdocs/trunkgitnew/libraries/cms/application/administrator.php:98
[24-Aug-2014 16:09:51 UTC] PHP   6. JComponentHelper::executeComponent() /Applications/MAMP/htdocs/trunkgitnew/libraries/cms/component/helper.php:332
[24-Aug-2014 16:09:51 UTC] PHP   7. require_once() /Applications/MAMP/htdocs/trunkgitnew/libraries/cms/component/helper.php:352
[24-Aug-2014 16:09:51 UTC] PHP   8. JControllerLegacy->execute() /Applications/MAMP/htdocs/trunkgitnew/administrator/components/com_localise/localise.php:26
[24-Aug-2014 16:09:51 UTC] PHP   9. JControllerForm->add() /Applications/MAMP/htdocs/trunkgitnew/libraries/legacy/controller/legacy.php:730
[24-Aug-2014 16:09:51 UTC] PHP  10. LocaliseControllerLanguage->getRedirectToItemAppend() /Applications/MAMP/htdocs/trunkgitnew/libraries/legacy/controller/form.php:173

from com_localise.

infograf768 avatar infograf768 commented on July 26, 2024

from com_localise.

gunjanpatel avatar gunjanpatel commented on July 26, 2024

Yes @infograf768 When I have tried to visit this view I get nothing. So, this view should be removed?

from com_localise.

gunjanpatel avatar gunjanpatel commented on July 26, 2024

@infograf768 I have just tried to create new language with #202 It looks working for me. Let me know if is there any way to reproduce it.

from com_localise.

infograf768 avatar infograf768 commented on July 26, 2024
Yes @infograf768 When I have tried to visit this view I get nothing. So, this view should be removed?

@gunjanpatel
I did not want to remove that view as well as exportpackage.php until we take a final decision on the architecture of the component.

from com_localise.

infograf768 avatar infograf768 commented on July 26, 2024

Concerning #202
I confirm
Filters set to Select Location and Select Language
_. If I have not edited a language before, I get an empty form with default Site as client and this warning:
[25-Aug-2014 06:32:15 UTC] PHP Notice: Undefined index: client in /Applications/MAMP/htdocs/trunkgitnew/administrator/components/com_localise/controllers/language.php on line 82

_. If I edit an existing language and close (For example af-ZA installation), then Creating anew one displays a form where Site is client and readonly and the rest is filled with the contents of existing af-ZA
PHP 5.4.4

from com_localise.

Achal-Aggarwal avatar Achal-Aggarwal commented on July 26, 2024

we can't use $this->getUserStateFromRequest with 'id'. I think that was the issue with PR 202.
It seems that getUserStateForm give priority to get input but if that is null it uses saved user state.
IMO we can use it only where we don't have a null as a value for a parameter.

from com_localise.

Achal-Aggarwal avatar Achal-Aggarwal commented on July 26, 2024

After going though implementation of getUserStateFromRequest in core, I noticed that we generally use it when we want to save the parameters between different views like filters & search params.

from com_localise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.