Closed nadezhday closed 4 years ago
Added successful update message:
Verified.
Covered in selenium test
It looks like Selenium tests found a regression. http://83.149.198.62/dictionary/2969/4/perspective/2969/5/publish click on "Галатия" click Publish entities and there is message appear updated 0 entities.
(test_view_lexical_publish.test_lex_publish_entities)
Does not reproduce:
Same with 'Meaning' field and 1 or 2 entities.
Probably requires some specific circumstances occurring during testing, need more info.
may be in Telegram it is easier to communicate? @myrix
Actually I can also reproduce the problem. Video: 2020-08-17_0results.zip
How to reproduce with certainty.
Start from lingvodoc-2020-04-28.16-51.sql.xz DB state, logged in as administrator, edit Uralic > Udmurt > Dictionary of the Written Monument "Life of St. Theodore: In the Votyak Language of the Elabuga Dialect" (1913) > Lexical Entries (/dictionary/2969/4/perspective/2969/5/edit), search for "Галатия", merge these two entries:
Go to 'Publish' tab, unpublish 'Phonemic transcription' and 'Meaning' entities, open 'Publish Entities' dialog:
Select user, click 'Publish All', you'll get message 'Updated 0 entities.':
Fixed, now works ok:
Backend:2.1.1+1285-d77f3515-2020.10.28-19:17+modified-2020.10.30-04:30 Frontend:35b1abfb-401-staging-server
The problem is reproduced again. login as admin http://83.149.198.62/dictionary/2969/4/perspective/2969/5/publish Unselect Галатия Publish Entities Select Базенова Click Publish
Here is the screenshot (if you press Publish 2, you will get message published 0) - NOK
Regression caused by faulty recent backend merge, fixed.
Verified. Selenium test - PASS
Open: http://83.149.198.62/dictionary/2969/4/perspective/2969/5/publish
Click Publish Entities button.
Select user. Click Publish.
Problem: There is no response for this operation. Was it published? Can we implement any message that indicates that operation was Successful (or publish operation Failed).
If you press Refresh you will see Nothing to publish. But it does not mean that the previous operation was successful.