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 11 replies - 31 through 41 (of 41 total)
  • Author
    Replies
  • in reply to: [Bug] Datarid Filters, filter_by_having Not Working #34130

    archy_bold
    Participant

    Ah, my stupidity there! Thanks for looking into it.

    in reply to: [Bug] Datarid Filters, filter_by_having Not Working #34128

    archy_bold
    Participant

    Thanks for the response Yevhen. I managed to solve it, actually. I dug a little deeper and saw it was working for me when using a COUNT. The difference here was that I added a groupBy to the datagrid configuration. So my datagrid looks as follows now:

    I guess you need to group your results in the case of using an aggregate function?

    in reply to: ReflectionException When Running Migrations #25122

    archy_bold
    Participant

    I just ran the doctrine:schema:validate command and got errors like this:

    Obviously I’ve not defined an inverse to these relationships as the entities are defined in another bundle. Could this indicate the problem? How do I define the inverse of a relationship with an existing entity?

    in reply to: ReflectionException When Running Migrations #25121

    archy_bold
    Participant

    Thanks for the reply Alexander. I tried your suggestions and I’m still getting the error.

    I’m probably also not going to be able to provide a code example as the bundle is getting quite large with several entities and 40 migrations.

    I have extended the following entities:

    • CaseEntity – many-to-one relationship to custom entity Order
    • CaseEntity – many-to-one relationship to custom entity Customer
    • Task – many-to-one relationship to custom entity Order

    Is there a particular part of the entities that it would be useful to see?

    in reply to: Uncaught Error: Mismatched anonymous define() module #34087

    archy_bold
    Participant

    So the issue was a javascript issue as I was repeating a property in my object.

    This was really hard to trace as I was in dev mode on my machine and the live CRM was using a production environment. Even switching to production on the development machine didn’t work. The reason being that I wasn’t running the requirejs command:

    This command seems to be poorly documented and it took a random forum post to realise it exists. Could there not potentially be an oro:rebuild command that runs everything required to redeploy new code? And an explanation of what it does and in what order? I’ve had real difficulty working out what commands should be running each time I make a change to a bundle.

    in reply to: Searching on Related Entities #34098

    archy_bold
    Participant

    It’s not really a problem as long as I don’t pass the related info to the search handler. Cool, cheers for the info.

    in reply to: Searching on Related Entities #34096

    archy_bold
    Participant

    Thanks for the response Yevhen, that’s really helped.

    Re your responses:

    1) There is one address without an owner, would this break it for all the results?

    2) Thanks, I understand now.

    3) I tried ownerId but to no avail. I just tried it now and it worked! Maybe it hadn’t indexed properly, but I wasn’t aware of the search tables, so that will help for debugging.

    in reply to: Show custom ACL resource in Role form #36109

    archy_bold
    Participant

    Was any progress made on this? I’ve created a new ‘action’ Acl on a controller and it doesn’t appear in the capabilities section.

    So do I need to create a new view to manage my custom acl actions?

    in reply to: Issue Adding Call and Email Activity to Custom Entity #25094

    archy_bold
    Participant

    A bit more info. I also tried running the following command:

    As the ActivityContactBundle mentions it needing a schema update. However, this didn’t work. I also tried running the migrations after the schema update.

    in reply to: Default values for organization and owner in entities #33682

    archy_bold
    Participant

    A year later, but this really helped me, thanks!

    in reply to: Call API Endpoint On Action #34046

    archy_bold
    Participant

    Thanks Tom, that’s really useful stuff to know about. Thanks.

    Actually, in the context of this, the API call needs to be done first so I’ve decided to create a service to bridge the gap to the integration transport which I can get access to in the controller. Also, I don’t know if I’d be comfortable putting direct cURL requests in an entity. But this will be super useful for something else I’m doing elsewhere.

    Thanks again for the help Tom.

Viewing 11 replies - 31 through 41 (of 41 total)
Back to top

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

Yes No

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

Yes No