Giter Club home page Giter Club logo

Comments (2)

jdevstatic avatar jdevstatic commented on May 28, 2024

good day, @haruncpi

first of all, I want to thank you for this awesome project, it really helps a lot

it's working both for web & API requests but one problem is same here, some tables are logging both create and edit but some tables don't, the features are also enabled in the general setting like this situation

in my case, one specific table will only log create but not edit

maybe to solve this is to ask, how does the package know the log_type and how it is being triggered, so we can track what's causing the issue

@sasuandrei , did you find any solution to this ? thanks

from laravel-user-activity.

jdevstatic avatar jdevstatic commented on May 28, 2024

hello there @haruncpi @sasuandrei , finally pinned down the problem

it's the way it's being triggered, by calling Eloquent findOrFail instead of using Laravel Query Builder where

image

this can be applicable in other scenarios too, when even if the settings are correct, it will still fail to log

@haruncpi , maybe I should submit a PR mentioning this on your README ?

from laravel-user-activity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.