Description of problem: Selecting a html as a TM source for import doesn't return control of the UI Version-Release number of selected component (if applicable): Dev How reproducible: Easy always Steps to Reproduce: 1. Sign in as administrator 2. Go to Administration, Translation Memory 3. Create New 4. Enter in TM details and Save 5. Click Import 6. Click filename 7. Select a html file 8. Press Upload Actual results: Process begins, but does not return Expected results: Error, not a TMX file / Complete, 0 entries found (preferably the former) Additional info: Console says 09:39:44,429 INFO [org.zanata.tmx.TMXParser] (http-/127.0.0.1:8080-5) parsing started for: testname No "parsing stopped for" message occurs until the page is refreshed and a new TM import is started.
Correction - it does return, but it takes a good few minutes, sitting at 100% uploaded.
For flexibility, we don't require uploaded files to declare a TMX DTD, but I suppose we should fail fast if the file doesn't at least have a <tmx> element at the root.
https://github.com/zanata/zanata-server/pull/118
Verified at 75ccfffbc0bab9f924b4f1f94ccae46862f5a008
Closing VERIFIED bugs which predate Zanata 3.1.2.