owncloud / search_elastic

Elasticsearch based full text search
https://github.com/owncloud/search_elastic
GNU General Public License v2.0
8 stars 1 forks source link

[QA] Option 'Scan external storages' cannot be enabled in the web UI once disabled #260

Closed jnweiger closed 2 years ago

jnweiger commented 2 years ago

Seen with search_elastic 2.1.0 RC1 (and 2.0.0 -> https://github.com/owncloud/search_elastic/issues/256)

Expected behaviour:

Workaround:

pmaier1 commented 2 years ago

Blocker for 2.1.0 release. Please check @ahherrera.

jnweiger commented 2 years ago

Not a regression. Same in 2.0.0

jnweiger commented 2 years ago

Re-Trying with multiple browser sessions, and incognito mode, and browser cache cleanup.

The behaviour is confusing. Whatever the database setting of

occ config:app:get search_elastic scanExternalStorages

actually is, the web UI always refreshes with an empty checkbox. If it is actually 1, the user has to click the checkbox twice in order to turn the setting off.

With this trick, it is possible to change the internal state via the GUI. But admins may easily fall into the trap "Ah, checkbox is not clicked, so I don't have to do anything to disable". That is wrong.

jnweiger commented 2 years ago

Confirmed fixed in 2.1.0-rc3