Project

General

Profile

Actions

Defect #31708

closed

Not able to add member to a project

Added by Carmelo Pansera over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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


Files

ScreenShot.jpg (33.4 KB) ScreenShot.jpg Carmelo Pansera, 2019-07-12 09:41
redmine close button.PNG (3.41 KB) redmine close button.PNG close button view Paweł Szmigiel, 2019-09-16 08:21
code.PNG (37.2 KB) code.PNG Paweł Szmigiel, 2019-09-16 08:24

Related issues

Related to Redmine - Defect #31870: Remove deprecated .zIndex() methodClosedGo MAEDA

Actions
Actions #1

Updated by Mizuki ISHIKAWA over 5 years 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?

Actions #2

Updated by Carmelo Pansera over 5 years 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

Actions #3

Updated by Doruk Fişek over 5 years 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?

Actions #4

Updated by Carmelo Pansera over 5 years 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

Actions #5

Updated by Doruk Fişek over 5 years 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.

Actions #6

Updated by Carmelo Pansera over 5 years 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

Actions #7

Updated by Carmelo Pansera over 5 years ago

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

Best regards
CPA

Actions #8

Updated by Marius BĂLTEANU over 5 years 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.

Actions #9

Updated by Carmelo Pansera over 5 years 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

Actions #10

Updated by Carmelo Pansera over 5 years ago

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

Actions #11

Updated by Carmelo Pansera about 5 years ago

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

Actions #12

Updated by Go MAEDA about 5 years ago

What web browser do you use?

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

Actions #13

Updated by Carmelo Pansera about 5 years 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

Actions #14

Updated by Paweł Szmigiel about 5 years 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.

Actions #15

Updated by Paweł Szmigiel about 5 years 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

Actions #16

Updated by Go MAEDA about 5 years ago

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

Updated by Go MAEDA about 5 years 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.

Actions #18

Updated by Paweł Szmigiel about 5 years 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 :)

Actions #19

Updated by Go MAEDA about 5 years 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.

Actions #20

Updated by Paweł Szmigiel about 5 years 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?

Actions #21

Updated by Albrecht Dreß almost 4 years ago

Paweł Szmigiel wrote:

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?

I noticed the same issue using the Debian Buster (backports) package of Redmine (version 4.0.7-1~bpo10+1). It does use the jquery files coming with the redmine package.

The simple trick to hide the annoying text: create a new custom theme, and in the file stylesheets/application.css add

/* load the default Redmine stylesheet - change for a different theme */
@import url(../../../stylesheets/application.css);

/* work around a JS 'Close' button which displays a text, cluttering the UI */
button.ui-button-icon-only {
  font-size: 0pt !important;
}

This seems to work just fine for me, but to be honest, I have no idea if it might break something else…

Actions

Also available in: Atom PDF