Log message #4122878

# At Username Text
# Mar 7th 2018, 18:41 savant I might spend some time looking at the error pages in cake to implement the above stuff :slightly_smiling_face:
# Mar 7th 2018, 18:40 rafael.junqueira.sant there is this small "toggle arguments" anchor
# Mar 7th 2018, 18:40 savant i just pm’d you a link to it
# Mar 7th 2018, 18:40 savant and I get log breadcrumbs too on the sentry page - that would be a nice touch for errors…
# Mar 7th 2018, 18:39 savant this works really nicely for seamstress
# Mar 7th 2018, 18:39 savant @lorenzo I think some integrations at $WORK aren’t setup right
# Mar 7th 2018, 18:39 rafael.junqueira.sant it actually shows, found it
# Mar 7th 2018, 18:39 lorenzo somehow what they show was not clear at all to me :)
# Mar 7th 2018, 18:39 rafael.junqueira.sant ohhh
# Mar 7th 2018, 18:39 lorenzo funny that you show me that it does savant, I’ve been complaining about the lack of those in sentry
# Mar 7th 2018, 18:39 savant bbl
# Mar 7th 2018, 18:39 savant plus it shows the code by default
# Mar 7th 2018, 18:39 rafael.junqueira.sant @lorenzo unfortunately, when I click the frames they only show code, not the arguments passed
# Mar 7th 2018, 18:38 savant and the `+` marks make it easy to note that the section is expandable
# Mar 7th 2018, 18:38 savant if you click “show more”: https://cl.ly/1W0L1I0W032C
# Mar 7th 2018, 18:38 savant https://cl.ly/1j332R472642
# Mar 7th 2018, 18:37 savant it shows data actually
# Mar 7th 2018, 18:37 lorenzo :)
# Mar 7th 2018, 18:37 lorenzo the ui form sentry does not show arguments
# Mar 7th 2018, 18:37 savant maybe the ui from sentry?
# Mar 7th 2018, 18:37 lorenzo any suggestions?
# Mar 7th 2018, 18:36 savant (and maybe we can make that more clear…)
# Mar 7th 2018, 18:36 savant woah thats neat if true
# Mar 7th 2018, 18:36 lorenzo so you can closer see where the error is
# Mar 7th 2018, 18:36 lorenzo if you click on each of the frames in the left column in that error page, I think you will be able to see the arguments passed to the functions
# Mar 7th 2018, 18:35 lorenzo @rafael.junqueira.sant that may happen when trying to save objects or array values in the database in columns that are integers
# Mar 7th 2018, 18:30 rafael.junqueira.sant I'm clueless
# Mar 7th 2018, 18:29 rafael.junqueira.sant Hi, I'm receiving the "Cannot convert value to integer" error while adding a new entry to the database https://pasteboard.co/HaPBZTq.jpg this is the dd() of the patch entity: https://pastebin.com/SQpUgMuB
# Mar 7th 2018, 16:11 jeremyharris haha, sometimes :)
# Mar 7th 2018, 16:11 popperz0r thanks once again @jeremyharris second day in a round to save my day :P
# Mar 7th 2018, 16:10 popperz0r ill take a look at utility classes
# Mar 7th 2018, 16:07 jeremyharris I find it a bit strange that the controller layer needs to know that, but a utility class would do what you want
# Mar 7th 2018, 16:07 jeremyharris as an example in the core, look at the TextHelper and how it basically proxies the utility Text class
# Mar 7th 2018, 16:07 popperz0r its an all app related, so i can be able to generate a classname from wherever i want, its just a string to match my css
# Mar 7th 2018, 16:06 jeremyharris or, create a basic service/utility class that the model/component/whatever else share
# Mar 7th 2018, 16:06 jeremyharris if it’s something that is table/model related, move the logic into the table and call the table method from the component
# Mar 7th 2018, 16:05 popperz0r What do you guys advise?
# Mar 7th 2018, 16:05 popperz0r but looks like im not suposed to call components inside models
# Mar 7th 2018, 16:05 popperz0r Now i want to call it to auto-add a class on a model beforesave
# Mar 7th 2018, 16:05 popperz0r I created a component to generate random html classes, this could be used for anything
# Mar 7th 2018, 16:04 popperz0r Hi! I have an architecture problem here! :P