Edgewall Software

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#5534 closed defect (invalid)

Assign-to as Drop-Down List not working

Reported by: bill.meyer@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: normal Keywords: drop-down
Cc: volker@… Branch:
Release Notes:
API Changes:
Internal Changes:


According to the documentation:

Assign-to as Drop-Down List ¶ If the list of possible ticket owners is finite, you can change the assign-to ticket field from a text input to a drop-down list. This is done by setting the restrict_owner option of the [ticket] section in trac.ini to “true”. In that case, Trac will use the list of all users who have logged in and set their email address to populate the drop-down field.

To appear in the dropdown list, a user needs be registered with the project, i.e. a user session should exist in the database. Such an entry is automatically created in the database the first time the user submits a change in the project, for example when editing the user's details in the Settings page. Also, the user must have TICKET_MODIFY permissions.

In reality - I tested this - added two users (after struggling with the absolutely horrendous user administration), it does not populate the Assign to field. Edited the ini file, restarted the web server, created new user, logged in as new user, modified user info, logged in and out, restarted the server, repeated the process with a number of users… just not working - only gives the admin user…

My opinion is that it seems asif trac is falling apart from all the patches

Attachments (0)

Change History (9)

in reply to:  description comment:1 by Emmanuel Blot, 13 years ago

Component: generalticket system

Replying to bill.meyer@eskom.co.za:

My opinion is that it seems asif trac is falling apart from all the patches

Not sure to understand which patches you're refering to.

I agree that making a username appears in the drop-down list is really frustrating, and this is something that needs to be improved. It got on my nerve the first time I tried ;-)

Anyway there are several operations you made that are not related to this issue. It would help if you specify which version of Trac you're using.

comment:2 by bill.meyer@…, 13 years ago

Keywords: drop-down added
Milestone: 0.11
Version: devel

Using Trac 0.11dev-r5661. Had so much trouble trying to get the Windows version on previous (stable?) releases - tried the latest - which seemed to work - installation was a *lot* easier compared to the previous versions on Windows… then I tried to do - you know - basic things. Like adding users and managing them via the WebAdmin interface. After struggling with the options until it started working, I decided to try and get the users on the drop down list….

So far the experience is that things don't just work. The instructions states a number of things, and after double checking, re-checking, redoing again and again… it still does not work.

comment:3 by bill.meyer@…, 13 years ago

Checked the session database…(Sqlite) Six users logged in incl adm Not apearing in the drop down list… Is there a way to manually populate the list? In what .py file cna I check for the code where the list gets populated?

comment:4 by bill.meyer@…, 13 years ago

Can someone post info of a setup that works with drop-down list. Mys system is:

System Information Trac: 0.11dev-r5661 Python: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c6 SQLite: 3.3.4 pysqlite: 2.3.2 Genshi: 0.4.1 Subversion: 1.4.4 (r25188) jQuery: 1.1.2

Configuration Section Name Value account-manager password_file c:\*\svnpass.file password_store SvnServePasswordStore attachment max_size 262144 render_unsafe_content false browser color_scale True downloadable_paths /trunk, /branches/*, /tags/* hide_properties svk:merge intermediate_color intermediate_point newest_color (255, 136, 136) oldest_color (136, 136, 255) oneliner_properties trac:summary render_unsafe_content false wiki_properties trac:description changeset max_diff_bytes 10000000 max_diff_files 0 wiki_format_messages true components acct_mgr.admin.accountmanageradminpage enabled acct_mgr.api.accountmanager enabled acct_mgr.db.sessionstore disabled acct_mgr.htfile.htdigeststore disabled acct_mgr.htfile.htpasswdstore disabled acct_mgr.http.httpauthstore disabled acct_mgr.pwhash.htdigesthashmethod enabled acct_mgr.svnserve.svnservepasswordstore enabled acct_mgr.web_ui.accountmodule enabled acct_mgr.web_ui.loginmodule enabled acct_mgr.web_ui.registrationmodule enabled trac.web.auth.loginmodule disabled header_logo alt height -1 link http://********/ src common/logo.jpg width -1 inherit plugins_dir templates_dir logging log_file trac.log log_level DEBUG log_type file milestone stats_provider DefaultTicketGroupStatsProvider mimeviewer enscript_modes text/x-dylan:dylan:4 enscript_path enscript max_preview_size 262144 mime_map text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb php_path php tab_width 8 notification admit_domains always_notify_owner false always_notify_reporter false always_notify_updater true ignore_domains mime_encoding base64 smtp_always_bcc smtp_always_cc smtp_default_domain smtp_enabled true smtp_from trac@localhost smtp_from_name smtp_password smtp_port 25 smtp_replyto smtp_server smtp_subject_prefix default smtp_user ticket_subject_template $prefix #$ticket.id: $summary use_public_cc false use_short_addr false use_tls false project admin descr footer * name url http:// query default_anonymous_query status!=closed&cc~=$USER default_query status!=closed&owner=$USER revisionlog default_log_limit 100 roadmap stats_provider DefaultTicketGroupStatsProvider search min_query_length 3 svn branches trunk,branches/* tags tags/* ticket default_component default_milestone default_priority major default_resolution New default_type defect default_version max_description_size 262144 restrict_owner true workflow ConfigurableTicketWorkflow ticket-custom

timeline abbreviated_messages true changeset_collapse_events true changeset_long_messages false changeset_show_files 0 default_daysback 30 newticket_formatter oneliner ticket_show_details false trac authz_file authz_module_name auto_reload False base_url check_auth_ip true database sqlite:db/trac.db default_charset iso-8859-15 htdocs_location ignore_auth_case false mainnav wiki,timeline,roadmap,tickets,newticket,search metanav login,logout,prefs,help,about permission_policies DefaultPermissionPolicy, LegacyAttachmentPolicy permission_store DefaultPermissionStore repository_dir c:\* repository_type svn show_email_addresses true timeout 20 wiki ignore_missing_pages false render_unsafe_content false split_page_names false

comment:5 by bill.meyer@…, 13 years ago

Funny thing is - in the admin interface - when in the "component" area - the users does show up - but not in the ticket… In the ticket only the adm user is listed

in reply to:  4 comment:6 by Christian Boos, 13 years ago

Replying to bill.meyer@eskom.co.za:

I take the garbled comment as a vote for either #454 or #2914 ;-)

In this case, it would have probably been a better idea to add this information as an attachment anyway.

comment:7 by bill.meyer@…, 13 years ago

Resolution: invalid
Status: newclosed

Must have user (1) added to TICKET_ADMIN, (2) Login once

before appearing in drop-down list

comment:8 by Volker <volker@…>, 12 years ago

Cc: volker@… added

comment:9 by Christian Boos, 8 years ago

Milestone: 0.11

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.