Opened 5 years ago
Closed 5 years ago
#13630 closed defect (fixed)
Fields disappear after selection
Reported by: | Andreas | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
In combination with SimpleMultiProjectPlugin, when I select a Milestone (same with Version), the milestone disappears 2-3 seconds after I have selected it. I don't get any errors in the browser console. Please see the attached video. When I deactivate SimpleMultiProjectPlugin, it's working again.
Attachments (1)
Change History (20)
Changed 5 years ago by
Attachment: | 10-10-_2019_18-59-22.mp4 added |
---|
comment:1 Changed 5 years ago by
comment:2 Changed 5 years ago by
Status: | new → accepted |
---|
comment:3 Changed 5 years ago by
As far as I know, I didn't change anything...seems like I didn't test is good enough
comment:4 Changed 5 years ago by
Are you running r17526 of TracDynamicFields? Is your [ticket-custom]
section still the same as in comment:7:ticket:13609?
comment:5 Changed 5 years ago by
Exactly, I can confirm both. I also did a redeployment again, restarted the server and used Ctrl + F5 to refresh the browser
comment:8 follow-ups: 9 13 Changed 5 years ago by
Is there anything (testing etc.) where I can help you?
comment:9 Changed 5 years ago by
Replying to Andreas:
Is there anything (testing etc.) where I can help you?
You can debug the code using browser tools, to try and locate the problem.
comment:10 Changed 5 years ago by
I found that this only appears when I have one or more show_when_project
-functions enabled, the rest seems to work.
For example:
testfield.show_when_project = testproject
comment:11 Changed 5 years ago by
Thank you for the further investigation. I will try to reproduce this weekend.
comment:13 Changed 5 years ago by
Replying to Andreas:
Is there anything (testing etc.) where I can help you?
I finally have some time to investigate.
There have been recent changes to DynamicFieldsPlugin. Please install and test with 2.5.0dev.
Next, can you provide a minimal [ticket-custom]
section that reproduces the problem? Per comment:10, is it just?:
testfield1.show_when_project = testproject testfield2.show_when_project = testproject
comment:14 Changed 5 years ago by
Okay, I have just downloaded and installed version 17738 (latest trunk), but unfortunately, nothing has changed.
This is my full ticket-custom:
[ticket-custom] estimatedhours = text estimatedhours.label = Estimated Hours estimatedhours.value = 0 klstime = time klstime.format = date klstime.label = Implementation until parent = text parent.format = wiki parent.label = Parent ID project = select project.label = Customer project.options = Customer1|Customer2|Customer3|Alltheothercustomers project.set_to_!_when_type = Defect project.value = Customer1 servicemanager = select servicemanager.label = Service Manager servicemanager.options = |SM1|SM2|SM3|SM4|SM5|SM6 servicemanager.show_when_project = Customer1 status = select status.label = Status status.options = |Status1|Status2|Status3|Status4|Status5|Status6|Status7 totalhours = text totalhours.label = Total Hours totalhours.value = 0
And here is the list of my installed plugins:
ComponentDependencyPlugin 0.1 SimpleMultiProject 0.6.0.dev0 TicketSidebarProvider 0.0.post0 TracAccountManager 0.6.dev0 TracAutocompleteUsersPlugin 0.4.4.dev0 TracAwesomeAttachments 0.4.dev0 Tracchildtickets 2.5.6.dev0 TracDragDrop 0.12.0.14 TracDynamicFields 2.5.0.dev0 TracHours 0.7.4.dev0
I don't know if this helps, but here you can find my System Information:
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 Trac 1.2.5 Babel 2.4.0 Genshi 0.7.3 (with speedups) mod_wsgi 4.5.17 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}) pysqlite 2.6.0 Python 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0] pytz 2018.3 setuptools 39.0.1 SQLite 3.22.0 jQuery 1.11.3 jQuery UI 1.11.4 jQuery Timepicker 1.5.5
The whole thing is running on Ubuntu 18.04.4 LTS
comment:16 Changed 5 years ago by
Component: | DynamicFieldsPlugin → SimpleMultiProjectPlugin |
---|
comment:17 Changed 5 years ago by
Could you please update SimpleMultiProjectPlugin to r17743 and retest?
comment:18 follow-up: 19 Changed 5 years ago by
With the latest version, the selected value doesn't disappear anymore - thanks for fixing this!
Unfortunately, I found another bug related to these two plugins / to this issue: When I open the dropdown menu for e.g. Customer for the first time in "/newticket", the menu automatically closes after ~1,5 seconds. Same behavior with other dropdown menus. If I open the menu for the second time, it stays open.
comment:19 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Replying to Andreas:
Unfortunately, I found another bug related to these two plugins / to this issue: When I open the dropdown menu for e.g. Customer for the first time in "/newticket", the menu automatically closes after ~1,5 seconds. Same behavior with other dropdown menus. If I open the menu for the second time, it stays open.
This behavior occurs even without SimpleMultiProjectPlugin installed => #13821.
Was it working after we resolved #13609? If yes, what changed about your configuration in the time since?