Changes between Initial Version and Version 1 of Ticket #10743, comment 2


Ignore:
Timestamp:
Dec 24, 2015, 5:00:13 AM (8 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10743, comment 2

    initial v1  
    1 Added a patch, but would definitely like someone to look at it and comment. The basic jist of what I did was add an additional check for any strings with "__" in them, indicating a field spanning a relationship, and then looping through each relationship until the proper attribute was grabbed. Then in the admin validation, there is a recursive function which accurately checks that the field exists and is not a ManyToMany.
     1Added a patch, but would definitely like someone to look at it and comment. The basic jist of what I did was add an additional check for any strings with `__` in them, indicating a field spanning a relationship, and then looping through each relationship until the proper attribute was grabbed. Then in the admin validation, there is a recursive function which accurately checks that the field exists and is not a ManyToMany.
Back to Top