Minor workflow bug in create share

I came across this during my install and deploy of rockstor.

If you select a pool --> add a share (it defaults to the pool name) and then create your share it creates it and drops you back to the shares page.

If you click on add a share again, it then defaults to the ROOT pool and not the pool you were working with.

It was a bit annoying while I was trying to add 10 new shares to the pool so I could move my data over. I did not catch it the first couple of times and had to go back and remove the shares in ROOT and then make sure to change the pool each time afterwords.

2 Likes

Hi @clink,

Thanks for yet another nice find! Would you mind creating an issue in our Github repository so that we can keep track of it and open it to somebody who wants to tackle it?

My guess is that it relates to how we are fetching the list of pools in this form but I have to admit I’m unfamiliar with this area of the code.

1 Like

I created an issue on the git repo.

2 Likes