OpenCue icon indicating copy to clipboard operation
OpenCue copied to clipboard

TaskDialog module under cuegui is calling a non existen method in a show "getDepartments"

Open OdCgarcia opened this issue 4 years ago • 2 comments

Describe the bug In the line 95 of TaskDialog there is a callback to a method that do not exist in the show getDepartments. I think this line can changed and just call the departments name from opencue.api.getDepartmentNames()

To Reproduce Steps to reproduce the behavior:

  1. Go to CueCommander
  2. Set a depermarment in a group.

Expected behavior I can set a department.

Version Number 0.14.5

OdCgarcia avatar Oct 09 '21 01:10 OdCgarcia

According to setDepartment, looks like pycue/opencue/wrappers/department.py is missing. https://github.com/AcademySoftwareFoundation/OpenCue/blob/409c2a7ca2f84aed092f5d713a62e4864394efa1/cuegui/cuegui/TasksDialog.py#L101-L110

@bcipriano @gregdenton do you happen to have the file?

splhack avatar Oct 15 '21 15:10 splhack

I don't. It's possible it never existed -- I think we'll need to create it.

bcipriano avatar Dec 04 '21 21:12 bcipriano