Part-DB-server icon indicating copy to clipboard operation
Part-DB-server copied to clipboard

Storage sub postions creation does not work

Open henrikkoch opened this issue 11 months ago • 3 comments

Describe the bug The helps says that you can create sub positions for storage locations using "->" and it shows "+" but it does not create any sub locations but only new top locations

If I f,ex has a storage box "PartDB Box1" and want to add a sub position in that box like "A2" then writing the location for the box I already has create PartDB Box1 -> A2 does not create a new sub position but a new top level position called A2

Using version 1.11.2 version

henrikkoch avatar Mar 10 '24 14:03 henrikkoch

I can not reproduce this issue. If I copy paste "PartDB Box1 -> A2" into to the storage location field of stocks on the part edit page, it creates a new sub location like desired on save

jbtronics avatar Mar 16 '24 17:03 jbtronics

If I write the whole new string ex. "Mechanincs -> Connectors -> SMD" then iit works But if "Mechanic-Connectors" were already there and I TAB'ed me through this to show it and just added "-> SMD" in the end of this then it doesn't work in my end

/Henrik

Den lør. 16. mar. 2024 kl. 18.50 skrev Jan Böhmer @.***

:

I can not reproduce this issue. If I copy paste "PartDB Box1 -> A2" into to the storage location field of stocks on the part edit page, it creates a new sub location like desired on save

— Reply to this email directly, view it on GitHub https://github.com/Part-DB/Part-DB-server/issues/560#issuecomment-2002062221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5EA6AP7Z3OZZQN47WOEJ3YYSA7PAVCNFSM6AAAAABEO752RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGA3DEMRSGE . You are receiving this because you authored the thread.Message ID: @.***>

--

Med venlig hilsen / Kind regards

Henrik Johansen KochHans Erik Nielsens Vej 7, DK 3650, Ølstykke, Denmark

T +45 4710 0305 F +45 7734 0307 M +45 4068 0305E-mail @. @.**>

henrikkoch avatar Mar 18 '24 10:03 henrikkoch

That is the way the select picker library works. After you selected an element, the old input gets cleared. That is also shown in the "Plus Element XY" row shown on top, how the new element will be named, so I dont think it is such a big problem.

This is not really easy fixable.

jbtronics avatar Apr 28 '24 17:04 jbtronics

This is now possible (or at least highly improved), see issue #666

jbtronics avatar Aug 24 '24 13:08 jbtronics