Daniel Meltzer

Results comments of Daniel Meltzer

Hi! Snipe-It uses crowdin to manage translations. As long as the string is marked to be translated in the source, you should submit translations there. https://crowdin.com/project/snipe-it

Do you have any rows in the action_logs table where the target_type is "App\Models\User" but the target_id doesn't exist?

I can add a guard around it as soon as I have a few quiet minutes.

(answered in gitter, but just in case it gets busy). This should be fixed current `develop` branch, more specifically the part of https://github.com/snipe/snipe-it/commit/e85241af6afe6cf15cebe90c89f9325bbb4ea41e that changes Actionlog.php. The `asset_logs` table is...

Hi, If you change line 377 to read `if ($activity->target) {` instead of `if ($activity->target()) {` does it fix the issue?

I think that this is actually related to User::scopeMatchEmailOrUsername in User.php, which is how we try to lookup a user based on username. The releveant code: ``` public function scopeMatchEmailOrUsername($query,...

If you modify it, feel free to submit a pull request. Extra functionality is always good!

It looks like it was just a copy/paste error. Just submitted a PR that I think will fix it.. You could test by changing line 317 of resources/views/hardware/view.blade.php to read...

The user _id and target _id being the same looks wrong... I'll take a look