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 - 1 through 15 (of 107 total)
  • Author
    Replies
  • adriwan_kenoby
    adriwan_kenoby
    Participant

    I used the macro

    and then i can render the image

    Maybe I have to create my own macro to render the image field of a news ( article or event ).

    Can you provide some clue or examples, how I have to proceed ?

    in reply to: How to use AttachementBundle and File relation ? #34593
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Thank you Andrey. In fact it works.

    in reply to: How to use AttachementBundle and File relation ? #34588
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Already done,

    I had noticed that I had forgotten the @Config annotation.

    But still not working.

    adriwan_kenoby
    adriwan_kenoby
    Participant

    Hi Andrey,

    Go in deeper I found that :

    Their is three definitionFilter
    – FeatureCheckerWorkflowRegistryFilter
    – WorkflowDefinitionScopesRegistryFilter
    – WorkflowDefinitionApplicationsRegistryFilter

    I think the problem come from https://github.com/oWorkflowDefinitionApplicationsRegistryFilter

    At Line 27 : $currentApplication = $this->currentApplicationProvider->getCurrentApplication();

    The $currentApplication is null.

    In fact the controller is called from keyyo service and I have this conf:

    This is for test purpose, i will only allow ip from keyyo after.

    The problem is that the call from keyyo to this controller is anonyme then their is no token to identify a user and then the getCurrentApplication() method return always null value.

    I don’t want to create an API method because I can’t edit Keyyo script who’s just make a GET request to a specific URL.

    Any advice to perform the action without break the security should be appreciate.

    adriwan_kenoby
    adriwan_kenoby
    Participant

    Hi Andrey,

    At https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/WorkflowBundle/Model/WorkflowRegistry.php#L69

    $definition = $this->processDefinitionFilters(new ArrayCollection([$definition]))->first(); return null value

    At the end of this loop Line 214

    The variable $workflowDefinitions is empty.

    in reply to: access to form field value in action.yml #34571
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Use handler to catch the form

    in reply to: dynamic form in actions.yml operation definition #34558
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Finally achieved. A dynamic form displaying the content of a specific folder depending on selected server

    in reply to: dynamic form in actions.yml operation definition #34555
    adriwan_kenoby
    adriwan_kenoby
    Participant

    The ajax actions is not performed. No error, nothing to help me to understand what is going wrong.

    in reply to: No command defined in the "clank" namespace #34569
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Thanks,

    I take note.

    in reply to: 3.0-rc release not installable #33052
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Thank you, I just want to test if implemented personal features works.

    in reply to: Use oro_form.update_handler service in simple CRUD #34564
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Thank you ibratsilo

    in reply to: Use oro_form.update_handler service in simple CRUD #34561
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Hi,

    I use orocommerce version 1.6, i have never tried the new handler service before.

    Could you provide a working example ?

    adriwan_kenoby
    adriwan_kenoby
    Participant

    The default client to interface with redis is predis, what if i want to use php-redis ?

    in reply to: dynamic form in actions.yml operation definition #34553
    adriwan_kenoby
    adriwan_kenoby
    Participant

    I come back to you because I try to do what I want based on the examples, but I can’t do it.

    To resume, I have an operation define in actions.yml

    the template associated with

    And the form type, here I don’t quite understand what I do in events…

    The JS component and view

    A function in a controller to render the form to be replaced

    and his template

    I am not sure if I need all this logic, maybe a JS view should be enough to satisfy my needs.
    And the problem is that their is still nothing dynamic in my form.

    Could you point me what I am doing wrong ?

    Thanks for your time and your help.

    in reply to: dynamic form in actions.yml operation definition #34551
    adriwan_kenoby
    adriwan_kenoby
    Participant

    Thank you Anyt I will work on that. Still in need of comprehension of the Oro technologie stack chaplin + backbone + underscore…

Viewing 15 replies - 1 through 15 (of 107 total)

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

Yes No