Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
Translator: Local
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
8 Jan 2016 at 10:05 UTC
Updated:
28 Jan 2016 at 08:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
miro_dietikerThis makes the local translator pretty useless. Like this state and progress is a total mess.
Comment #3
edurenye commentedI'm working on it, but to continue I need this issue to be fixed #2646582: Exception in TaskItemOperation trying to get translator when it doesn't have any assigned
Comment #4
miro_dietikerThen postponed is the right status.
Comment #5
miro_dietikerUnpostponing. :-)
Comment #6
edurenye commentedDone, and added tests.
Comment #8
berdirLets do some more cleanup here:
* remove validateForm()
* simplify actions(), call parent, set access on submit.
* update $form['label'] to title. Check that it visually makes sense.
* in save(), parent save returns the entity. Then you don't need $this->getEntity(). it can also not be empty, so you don't have to check that.
Also, the hardcoded dependency on the view URL is a bit problematic because if that is deleted, everything breaks. But we're not introducing it here and this will do enough cleanup.
Comment #9
edurenye commentedsave() returns an int.
Done all the clean up.
What do you mean with the hardcoded dependency?
Comment #10
edurenye commentedDone the small fix that you told me and I created the followup #2649590: Do not allow users to delete tmgmt_local_task_overview
Comment #13
berdirHa, forgot that I told you that and already committed. Committed that separately now.
Comment #15
berdirYeah yeah testbot.
Comment #16
edurenye commentedShould I open a issue to not let tasks to be deleted if it's not deleted the job?
And since this was committed, it's impossible to change the status, I created a issue for that #2650042: Make status read only in localTaskForm