Code Monkey home page Code Monkey logo

Comments (4)

mik3lov3st3ch avatar mik3lov3st3ch commented on June 7, 2024

Ok, it was my fault - all events are fired as expected.
BTW one side note on switching the default event from "saving" to "saved": In my case the slug fields are set to "not nullable" in the database, which would lead to exceptions if a new entity is stored (cause the slug field doesnยดt exist on the first save). Iยดm sure you know about that possible issue - only wanted to mention it.

from eloquent-sluggable.

mik3lov3st3ch avatar mik3lov3st3ch commented on June 7, 2024

Closed...

from eloquent-sluggable.

cviebrock avatar cviebrock commented on June 7, 2024

Glad to have helped! ๐Ÿ˜‰

What did the problem end up being? That way, anyone else with the same issue that searches and lands here will get the benefit of your experience!

from eloquent-sluggable.

mik3lov3st3ch avatar mik3lov3st3ch commented on June 7, 2024

It was simply a stupid mistake :) I've set a field as sluggable that was not set as required in Nova (even not shown). As no error was thrown (slug is simply null) I ran in the wrong direction assuming that the saving events might not be fired. Time for weekend ๐Ÿ˜†

from eloquent-sluggable.

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.