Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

Forum Replies Created

Viewing 15 replies - 46 through 60 (of 99 total)
  • Author
    Replies
  • in reply to: Functional Tests 401 #33729

    jakabadambalazs
    Participant

    shouldn’t

    http-basic: false

    be

    http-basic: true

    in security_test.yml?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Functional Tests 401 #33728

    jakabadambalazs
    Participant

    how come? isn’t that username? i have user in db with username: admin and email:admin@example.com

    now i init my client like this:

    I have removed ‘HTTP_X-CSRF-Header’ and headers are now:

    REQUEST:
    host = [“localhost”]
    user-agent = [“Symfony2 BrowserKit”]
    accept = [“text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8”]
    accept-language = [“en-us,en;q=0.5”]
    accept-charset = [“ISO-8859-1,utf-8;q=0.7,*;q=0.7”]
    php-auth-user = [“admin@example.com”]
    php-auth-pw = [“admin”]
    authorization = [“Basic YWRtaW5AZXhhbXBsZS5jb206YWRtaW4=”]
    x-php-ob-level = [1]

    RESULT(401):
    cache-control = [“no-cache”]
    date = [“Thu, 05 Feb 2015 10:44:30 GMT”]
    www-authenticate = [“Basic realm=\”Secured REST Area\””]
    content-type = [“text\/html; charset=UTF-8”]

    key php-auth-user is now correct but i am still getting 401

    this is my config_test.yml:

    and this is my security_test.yml:

    they are both unmodified as they were in the platfom application.

    I did a fresh install – all installs fine but still 401

    when you say

    Then you should debug authentification and check which provider and why restrict access.

    where should i start?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Functional Tests 401 #33725

    jakabadambalazs
    Participant

    I have all tests failing for Oro\Bundle\UserBundle\Tests\Functional\ControllersTest
    always returning 401

    I have loaded the fixture Oro\Bundle\TestFrameworkBundle\Fixtures\LoadUserData

    I have user with api key in db (i did have it before as well though) and
    still 401

    any other ideas?

    thanks
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Functional Tests 401 #33723

    jakabadambalazs
    Participant

    actually, looking over response codes I do not get 403(auth error) but 401(unauthorized) – so I am actually a step before it – I dumped my request and response headers:

    REQUEST:
    host = [“localhost”]
    user-agent = [“Symfony2 BrowserKit”]
    accept = [“text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8”]
    accept-language = [“en-us,en;q=0.5”]
    accept-charset = [“ISO-8859-1,utf-8;q=0.7,*;q=0.7”]
    x-csrf-header = [1]
    php-auth-user = [“admin”]
    php-auth-pw = [“admin”]
    authorization = [“Basic YWRtaW46YWRtaW4=”]
    x-php-ob-level = [1]

    RESULT(401):
    cache-control = [“no-cache”]
    date = [“Thu, 05 Feb 2015 09:32:29 GMT”]
    www-authenticate = [“Basic realm=\”Secured REST Area\””]
    content-type = [“text\/html; charset=UTF-8”]

    any ideas?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: activate Italian language #26322

    jakabadambalazs
    Participant

    here: https://crowdin.com/translate/oro-platform/154/en-it#19286
    a\

    PS: In Dashboard bundle we have translated “Dashboard” to “Cruscotto” but it sounds bad! Have you got a better idea?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: activate Italian language #26320

    jakabadambalazs
    Participant

    Huston! We have a problem! On downloading the updated italian translations we get

    Could not download translations, error: Error parsing YAML, invalid file “/home/master.mekitcrm.bradipo/oro/app/cache/dev/translations/it_IT/OroEmailBundle/translations/messages.it_IT.yml”

    there are strange keys in the yml file even on crowdin – i am creating issues for them pls recheck and remove keys like “1”, “[General]”, etc..

    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: activate Italian language #26319

    jakabadambalazs
    Participant

    First things first! OroCRM is second on my list.
    Thanks for all who contributed!
    Can you pls upgrade me to proofreader on Crowdin? I want to give a hand to @alendo!
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: activate Italian language #26317

    jakabadambalazs
    Participant

    Hi @alendo!

    we are @100%!!! – all platform translations have been inserted. I am glad you’re working on this as well because I was feeling a bit alone ;)
    I have already caught a few translations which, seen in application context, sound strange – we can correct them as we go along such as: “Registra attività” which should be “Registro attività”.
    have a good one.
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: activate Italian language #26315

    jakabadambalazs
    Participant

    Dear @Jedi,

    Can you promote me to proofreader on Crowdin? We have nearly finished adding all translations for the platform ~95% but approval is around 6% (as reported by OroPlatform).
    Thanks
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Create OneToOne relationship with migrations #33704

    jakabadambalazs
    Participant

    me neither! Have you found a solution for this yet?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: get checked item IDs from datagrid in widget #33699

    jakabadambalazs
    Participant

    Thanks! but I don’t think in this case it is of use:
    I have this button to open the dialog:

    I already have a ‘reload-widget-name’ under the widget section which reloads the datagrid in the page when i trigger the “widget_success:wid” (mediator.trigger(‘widget_success:’ + widget.getWid());) from the dialog. and it works ok – my problem is/was with the datagrid inside the dialog widget.

    thanks a lot
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: get checked item IDs from datagrid in widget #33697

    jakabadambalazs
    Participant

    Sweet! I hooked into ‘oronavigation/js/content-manager’ and I clean up the cached datagrid data before closing my dialog widget this way:

    It works well! It is a bit different from how you suggested. Is it dirty or can I leave it like this?

    thanks
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: get checked item IDs from datagrid in widget #33696

    jakabadambalazs
    Participant

    Thanks, Tomorrow I’ll try.

    I know how to do the first one (probably). I actually realized that the datagrid was not even present when I was trying to reload it (because it is only rendered when the ‘save’ variable is false). ;)

    But no clue about the second (event though I think it would be best) – I looked into at contentManager and I can see it has two methods: get and trace. What do I do? Do I just use the get method (which returns a collection object) and just set the returned collection to null?

    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: get checked item IDs from datagrid in widget #33694

    jakabadambalazs
    Participant

    Hi yshyshkin,

    Thanks I have read some docs and I actually opted for the solution you used when assigning accounts for Contacts. And I am nearly there – I have one little problem to resolve.

    I created a form with two unmapped fields:

    My controller action is calling the form handler and successfully intercepts the ‘appendElements’ and ‘removeElements’ form data and does what it has to do.

    This is my dialog widget:

    When I click the save button it triggers the controller action, data is persisted, messenger shows my message, underlying datagrid in the page is refreshed and the dialog closes.

    All is perfect, except for one thing.
    If I hit the “select” button which reopens the dialog, the datagrid in the dialog is not up to date (the checkboxes do not reflect the persisted changes). If I hit the datagrid’s refresh button it reloads the datagrid and now persisted changes are visible.
    So I tried to add

    in my code before closing the dialog to force refresh the datagrid but no changes.

    Any ideas?
    thanks
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: activate Italian language #26314

    jakabadambalazs
    Participant

    Hi @Jedi, Ciao @alendo,

    What’s the story here? We have worked a little – we brought the platform translations to 34% and I am really happy that Alessandra is interested in jumping in. We have concentrated our efforts on the platform and I think before anything else it is to be brought to 100%.

    As Alessandra says, the translations are there but they are not approved.
    How does the approval process work? Once we have inserted all the translations what else is there to be done so that they can be downloaded and used?
    Thanks
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

Viewing 15 replies - 46 through 60 (of 99 total)

You will be redirected to [title]. Would you like to continue?

Yes No