You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(If applicable) Installation package for the LAMP/LEMP stack is:
Issue / Bug / Question / New Feature
Is there a way to re-import a CSV item list? I tried importing once and it worked but I need to make some changes. I tried deleting all the items but because they have barcode numbers which aren't changing it won't let me import them again. Is there a way to clear out the deleted items without manually deleting them from the database directly?
Not sure if this is the way to do this but I was able to re-import by first manually clearing the barcode values for all the items in the database. I used phpmyadmin. Once they were cleared I could delete them from the GUI and then the import worked. The old ones are still in the database but the deleted column is set to 1. Hopefully this doesn't break anything?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If you have the old items deleted then it might be fine. I think @objecttothis did quite some improvements to the import that is now open in a PR which I will try to review very soon
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
chunter2 commentedon Oct 20, 2020
Not sure if this is the way to do this but I was able to re-import by first manually clearing the barcode values for all the items in the database. I used phpmyadmin. Once they were cleared I could delete them from the GUI and then the import worked. The old ones are still in the database but the deleted column is set to 1. Hopefully this doesn't break anything?
Thanks
stale commentedon Nov 19, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
jekkos commentedon Nov 20, 2020
If you have the old items deleted then it might be fine. I think @objecttothis did quite some improvements to the import that is now open in a PR which I will try to review very soon
objecttothis commentedon Nov 20, 2020
Yes, with my PR you will now be able to do an item update by including the item_id of the item you want to re-import, correct or add data to.
stale commentedon Dec 20, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
objecttothis commentedon Dec 20, 2020
This needs to stay open until we merge #1412 #3029