Defect #31708

Not able to add member to a project

Added by Carmelo Pansera 3 months ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Administration
Target version:-
Resolution:Fixed Affected version:4.0.1

Description

Hello
when i go to admin projet members i have the message No "data to display" and it's not possible to add a user clicking on "New member"

I already seach for this topic and found only the fact that we need role defined (I have roles defined)
Manager
Developer
Reporter
EndUser
Non member
Anonymous

Redmine Version 4.0.1.stable intalled on Ubuntu 19
Thank you for your help
Regards
CPA

ScreenShot.jpg (33.4 KB) Carmelo Pansera, 2019-07-12 09:41

redmine close button.PNG - close button view (3.41 KB) Paweł Szmigiel, 2019-09-16 08:21

code.PNG (37.2 KB) Paweł Szmigiel, 2019-09-16 08:24


Related issues

Related to Redmine - Defect #31870: Remove deprecated .zIndex() method Closed

History

#1 Updated by Mizuki ISHIKAWA 3 months ago

Carmelo Pansera wrote:

when i go to admin projet members i have the message No "data to display" and it's not possible to add a user clicking on "New member"

Could you share the screenshot after clicking on the "New member" link?

#2 Updated by Carmelo Pansera 3 months ago

Hello
Attached the Screenshot
when i click there Something that is show in th middle of the screen i suppos that it's "Loading"

Kind regards
CPA

#3 Updated by Doruk Fişek 3 months ago

The screenshot seems perfectly normal. It says "no data to display" since there aren't any members added to the project.

What happens when you go to the "add member" string (the one with the blue color) and click on it?

#4 Updated by Carmelo Pansera 3 months ago

Hello
after clicking on the "New member" link there a message "Loading" with the clock is displayed Under the line "no data to display"
BUT nothing else as if no user list can be displayed

bets regards
CPA

#5 Updated by Doruk Fişek 3 months ago

Can you take a look at the production.log and the application server (e.g.: Passenger, Puma, Thin, vs) logs? When you hit "add new member" there will probably be an error there.

#6 Updated by Carmelo Pansera 3 months ago

Hello
the message
Processing by MembersController#new as JS
Parameters: {"project_id"=>"xxxxxx"}
Current user: admin (id=1)
Rendering members/new.js.erb
Rendered members/_new_form.html.erb (45.9ms)
Rendered members/_new_modal.html.erb (49.6ms)
Rendered members/new.js.erb (53.0ms)
Completed 200 OK in 78ms (Views: 61.8ms | ActiveRecord: 8.8ms)

best regards
Carmelo

#7 Updated by Carmelo Pansera 3 months ago

Hello
find an explanation here http://www.redmine.org/issues/25207

Best regards
CPA

#8 Updated by Marius BALTEANU 3 months ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Carmelo Pansera wrote:

Hello
find an explanation here http://www.redmine.org/issues/25207

Best regards
CPA

Thanks for the feedback, I'll close this issue.

#9 Updated by Carmelo Pansera 3 months ago

  • Status changed from Closed to Reopened

Hello
In fact i Don't know how to solve it

There is also an other issue concerning add Watchers that is also NOT working like adding members

Is it possible to have the "to do" to solve these issues
Thank you
CPA

#10 Updated by Carmelo Pansera about 1 month ago

Hello
Any news on this topic, It's urgent for me
Thank you
Best regards
CPA

#11 Updated by Carmelo Pansera about 1 month ago

Hello
Any news on this topic, It's urgent for me
Thank you
Best regards
CPA

#12 Updated by Go MAEDA about 1 month ago

What web browser do you use?

Yesterday I found that the same behavior can be observed when accessing Redmine with Internet Explorer 9.

#13 Updated by Carmelo Pansera about 1 month ago

Hello
Thank for your answer
I try chrome and Firefox browser with the same result
If i install a bitnami 4.0.4-5 installer it works BUT i Don't want to use bitnami
My version
Environment UBUNTU:
Redmine version 4.0.1.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
Rails version 5.2.3
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
I didn't find how to patct to the last version (the Ubuntu svn didn't contain the last version)
Best regards
CPA

#14 Updated by Paweł Szmigiel about 1 month ago

Carmelo Pansera wrote:

Hello
Thank for your answer
I try chrome and Firefox browser with the same result
If i install a bitnami 4.0.4-5 installer it works BUT i Don't want to use bitnami
My version
Environment UBUNTU:
Redmine version 4.0.1.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
Rails version 5.2.3
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
I didn't find how to patct to the last version (the Ubuntu svn didn't contain the last version)
Best regards
CPA

Hi, I have the same issue on Redmine 4.0.4, don't have CSP enabled, can't find any solution to this, would appreciate any help.

#15 Updated by Paweł Szmigiel about 1 month ago

I figured out that this problem is connected to the jquery-ui version 1.12, which has Deprecated .zIndex() function. You can manually edit application.js like here:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1838407

#16 Updated by Go MAEDA about 1 month ago

  • Related to Defect #31870: Remove deprecated .zIndex() method added

#17 Updated by Go MAEDA about 1 month ago

Paweł Szmigiel wrote:

I figured out that this problem is connected to the jquery-ui version 1.12, which has Deprecated .zIndex() function. You can manually edit application.js like here:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1838407

Thank you for reporting the detail.

Please don't replace bundled jquery-ui with other versions. Otherwise, it may cause unexpected errors like you have reported.

Anyway, I have backported r18377 to 4.0-stable branch. It removed zIndex(). It should fix the error.

#18 Updated by Paweł Szmigiel about 1 month ago

libjs-jquery-ui updated itself after upgrade from Ubuntu 17.10 Artful while doing dist-upgrade... Even tried to get back to v1.11, but couldn't find it anywhere in the previous releases (1.10 at Xenial, but downgrade wasn't working). Anyway, thanks for the patch, You saved me a lot of work :)

#19 Updated by Go MAEDA about 1 month ago

  • Subject changed from Not able to add member to a projet to Not able to add member to a project
  • Status changed from Reopened to Closed
  • Resolution changed from Invalid to Fixed

Fixed in r18467. Closing.

#20 Updated by Paweł Szmigiel about 1 month ago

One more thing, there is a black text "close" at the close button, I figured out that it disappears after I remove "Close" text from the code, but cannot find this site anywhere in the files. I am administrator, not programmer, can You direct me where to look for that?

Also available in: Atom PDF