nanego / redmine_multiprojects_issue

A Redmine plugin which allows you to specify several projects per issue
http://www.redmine.org/plugins/redmine_multiprojects_issue
MIT License
57 stars 29 forks source link

Incompatibility with Easy WBS #38

Open PhilReis opened 6 years ago

PhilReis commented 6 years ago

When im trying to update a issue on Easy WBS preview, this shows a error message saying i'm not able to leave Related prjects empty. But when i click on "Edit projects list", the main project is already checked.

wbs

nanego commented 6 years ago

I have never used Easy WBS. I don't plan to make this plugin compatible with it, but please feel free to open a Pull Request.

PhilReis commented 6 years ago

Thanks for the quick response. I would be glady to make a Pull Request, but i'm too newbie on Rails and Web programmation right now XD. But i'm thinking, maybe i can just make an adjustment to remove the required flag of Related projects. What's the easiest way to do that?

rogerjak commented 6 years ago

Same problem here, would be nice to have it working!

tantic commented 3 years ago

Hello,

I got the same issue with EasyWBS. I wonder why this field is required by the way? If i change the file app/views/issues/_select_projects.html.erb line 5 from this

<%= f.select :project_ids, select_options, {:required => true, :label => l("related_projects")},

to this

<%= f.select :project_ids, select_options, {:label => l("related_projects")},

so that the field is not required anymore then it seems to work well but maybe it has to be required (i don't see why)

nanego commented 3 years ago

I think you're right. This field should not be required in the latest versions of the plugin.

nanego commented 3 years ago

I have updated the plugin. Please give it a try and let me know if it resolves the issue.

tantic commented 3 years ago

Hello, it works on my environment, didn't find any bug yet, thanks very much!