redmine_issue_dynamic_edit icon indicating copy to clipboard operation
redmine_issue_dynamic_edit copied to clipboard

A pop-up appears but cannot be edited.

Open gousekid opened this issue 2 years ago • 5 comments

image

Even if a pop-up appears and I select it, the actual modification is not performed. I am using Redmine 5.0.3.stable. and I downloaded the dynamic edit plugin today. Every field edit is not working.

Environment: Redmine version 5.0.3.stable Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux] Rails version 6.1.7 Environment production Database adapter PostgreSQL Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp Redmine settings: Redmine theme Fluentmine (includes JavaScript) SCM: Subversion 1.14.1 Mercurial 5.6.1 Bazaar 3.1.0 Git 2.30.2 Filesystem
Redmine plugins: redmine_checklists 3.1.21 redmine_dashboard 2.12.2 redmine_dmsf 3.0.6 redmine_ics_export 5.0.0.dev redmine_issue_dynamic_edit 0.9.1 redmine_issue_templates 1.1.0 redmine_x_lightbox2 1.0.0

gousekid avatar Feb 01 '23 08:02 gousekid

At the first install, it works, but now it doesn't. Even after reinstalling, the error is the same.

gousekid avatar Feb 01 '23 08:02 gousekid

image From the logs, it seems that the problem is that the ID is changed from admin to anonymous (I logged in as admin).

gousekid avatar Feb 01 '23 09:02 gousekid

Hello,

I have the same problem on redmine with the following environment: Environment: Redmine version 5.0.4.stable Ruby version 2.7.4-p191 (2021-07-07) [x86_64-linux-gnu] Rails version 6.1.7 Production environment Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp

Redmine settings: Redmine theme Redmine-theme-purplemine2 (includes JavaScript)

SCM: Git 2.30.2 Filesystem

Redmine plugins: iotbzh 1.0.0 iotbzh_menu_links 0.0.1 redmine_impersonate 2.0.0 redmine_indicator 0.2.16 redmine_issue_dynamic_edit 0.9.1 redmine_lock_out 0.0.1 redmine_openid_connect 0.9.4

The database was imported from a redmine 4.

And I have the impression that it is related to LDAP whose configuration was also imported, during my tests with a clean DB, no problem to modify dynamically, but with the imported DB it does not work, and indeed I see an anonymous user in the logs.

I also have a server identification popup, and when I log on, the plugin is working again. <-----------------------------------------------------> After removing the LDAP connector, the problem is still there

I continue to investigate ...

slykereven avatar Feb 10 '23 10:02 slykereven

Ilogeek and team, Thanks so much for making this very important plugin. I've given you a star :). Let me know if anything else would help. We use this plugin in a healthcare application and it saves a lot of headache.

I have the same issue. I'm on redmine 5.0.5 and dynamic edit 0.9.1 To reproduce, try:

  • create custom fields that have text/number types
  • make several custom fields, and delete a few and/or change their order in the custom fields list, e.g., have field IDs [1,2,5,4] where 3 was deleted, and 5 was moved above 4.
  • The PATCH call is sent with no field code, from production.log
I, [2023-03-31T22:55:47.425520 #306]  INFO -- : [XXXXX] Started PATCH "/issues/962" for XXXXX at 2023-03-31 22:55:47 -0400
I, [2023-03-31T22:55:47.426202 #306]  INFO -- : [XXXXX] Processing by IssuesController#update as */*
I, [2023-03-31T23:23:25.696092 #308]  INFO -- : [XXXXX]   Parameters: {"authenticity_token"=>"XXXXX", "id"=>"962"}
I, [2023-03-31T23:23:25.699237 #308]  INFO -- : [XXXXX]   Current user: admin (id=1)

Note Parameters have no field. For different custom field of a list type, a dynamic edit calls correctly

I, [2023-03-31T22:41:05.530059 #308]  INFO -- : [XXXXX]   Parameters: {"issue"=>{"custom_field_values"=>{"13"=>"Male"}}, "authenticity_token"=>"XXXXX", "id"=>"962"}
  • I also saw what @gousekid reported regarding a 403 error, but I logged out of all browsers and cleared passwords, and the 403 errors went away, but the Parameter problem remained

pkunduCere avatar Apr 01 '23 03:04 pkunduCere

Hello

Have same issue after migrating base from redmine 3.5 to 5.0. Using PostgreSQL on latest Ubuntu with latest Ruby, Rails and other staf.

Trol0lvl avatar Apr 03 '23 13:04 Trol0lvl