Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] License check in goes to wrong target #7448

Closed
Diniver opened this issue Sep 19, 2019 · 16 comments
Closed

[BUG] License check in goes to wrong target #7448

Diniver opened this issue Sep 19, 2019 · 16 comments

Comments

@Diniver
Copy link

Diniver commented Sep 19, 2019

Please confirm you have done the following before posting your bug report:

Describe the bug
When checking in a license from user/asset, does not appear in user/asset history.
image

To Reproduce
Steps to reproduce the behavior:

  1. Check out license to user/asset
  2. Check in license
  3. Open user history - you can see only check out

Expected behavior
User/asset history should display full trace for check in and check out.

Screenshots
image

image

Server (please complete the following information):

  • Snipe-IT Version - v4.7.7 build 4160 (gb8f7cd81e)
  • OS: Ubuntu 18.04.3 LTS
  • Web Server: Apache 2.4.29
  • PHP Version 7.2.19

Additional context
Reproducible in demo website.

I am fixing the problem manually by editing the action_logs sql table. Changing target_id and target_type to the appropriate values.

P.S. I am not sure if it was design that way. I believe it was not acting like that in previous patches.

Regards,
Dinvier

==EDIT==
I did some digging and enabling debug mode.
After check in the resulst are as follow:
image

@Diniver
Copy link
Author

Diniver commented Sep 24, 2019

Hi all,
Do you have any update of this?

@Diniver
Copy link
Author

Diniver commented Oct 28, 2019

I have ran an old version (4.6.10) and there everything is fine:
image

@Diniver
Copy link
Author

Diniver commented Dec 16, 2019

In version 4.8.0 the problem still persist.

@stale
Copy link

stale bot commented Feb 14, 2020

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

@stale stale bot added the stale label Feb 14, 2020
@Diniver
Copy link
Author

Diniver commented Feb 14, 2020

The bug still persist.

@stale
Copy link

stale bot commented Feb 14, 2020

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

@stale stale bot removed the stale label Feb 14, 2020
@Diniver
Copy link
Author

Diniver commented Mar 5, 2020

The bug still persist in version 4.9.0

@Diniver
Copy link
Author

Diniver commented Apr 9, 2020

The bug still persist in version 4.9.1
@snipe Would you be able to have a look?

@stale
Copy link

stale bot commented Jun 9, 2020

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

@stale stale bot added the stale label Jun 9, 2020
@Diniver
Copy link
Author

Diniver commented Jun 9, 2020

The bug still persist.

@stale
Copy link

stale bot commented Jun 9, 2020

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

@stale stale bot removed the stale label Jun 9, 2020
@Diniver
Copy link
Author

Diniver commented Jul 15, 2020

Issue still occurring and reproducible in demo website

Version v4.9.3 - build 4395

image

@stale
Copy link

stale bot commented Sep 13, 2020

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

@stale stale bot added the stale label Sep 13, 2020
@Diniver
Copy link
Author

Diniver commented Sep 14, 2020

Still reproducible in Version v4.9.4 - build 4437

image

@snipe is there any chance this will be fixed for 5.0?

@stale
Copy link

stale bot commented Sep 14, 2020

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

@stale stale bot removed the stale label Sep 14, 2020
@Diniver
Copy link
Author

Diniver commented Oct 22, 2020

Issue solved in 5.0.1

@Diniver Diniver closed this as completed Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant