Skip to content

STAPLER_NULL doesn't clear database fields. #105

Open
@kkeiper1103

Description

@kkeiper1103

I'm sure I'm just missing a configuration setting somewhere, but when I set my attachment field to STAPLER_NULL, the file is deleted, as expected, but the fields in the database are not cleared. I've read through the documentation, and it seems this is a bug.

I'm using Laravel 5.2 and Laravel Stapler 1.0

Here are some links to the code that doesn't seem to work right.

Config: http://pastebin.com/7rTpxJQq
Member Model: http://pastebin.com/zuRH2n2d
Members Controller: http://pastebin.com/zJxBmcqM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions