Modify

Opened 8 years ago

Closed 21 months ago

#13113 closed defect (duplicate)

TypeError: expecting datetime, int, long, float, or None; got <type 'unicode'>

Reported by: mx.tian@… Owned by: Jun Omae
Priority: normal Component: TicketCalendarPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description (last modified by Jun Omae)

also #13108

In the calendar click "New ticket with" 2017/02/28 "as the start date", give a new error.

2017-03-15 14:07:28,532 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/newticket?due_date=2017/02/28'">, referrer 'http://trac.xxx.cn/ticketcalendar-box?owner=!tianmingxing&status=accepted&status=assigned&status=closed&status=new&status=reopened&status=reviewing&order=priority&_month=2017-03'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in dispatch
    iterable=chrome.use_chunked_encoding)
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1159, in render_template
    encoding='utf-8')
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 184, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 58, in encode
    for chunk in iterator:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 350, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 829, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 669, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 774, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 594, in __call__
    for ev in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1426, in _strip_accesskeys
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1415, in _generate
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 1076, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 118, in __iter__
    event = self.stream.next()
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 734, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 702, in _mark
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 1127, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 118, in __iter__
    event = self.stream.next()
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 734, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 702, in _mark
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 1127, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 118, in __iter__
    event = self.stream.next()
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 734, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 702, in _mark
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 1127, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 118, in __iter__
    event = self.stream.next()
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 734, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 702, in _mark
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 1127, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 118, in __iter__
    event = self.stream.next()
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 734, in __call__
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/filters/transform.py", line 702, in _mark
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 378, in _match
    ctxt, start=idx + 1, **vars):
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 378, in _match
    ctxt, start=idx + 1, **vars):
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 362, in _match
    content = list(content)
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 326, in _match
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/path.py", line 588, in _generate
    subevent = next()
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/path.py", line 588, in _generate
    subevent = next()
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 578, in _flatten
    result = _eval_expr(data, ctxt, vars)
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 289, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "build/bdist.linux-x86_64/egg/genshi/template/eval.py", line 177, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "/usr/lib/python2.6/site-packages/trac/ticket/templates/ticket_box.html", line 94, in <Expression u"pretty_dateinfo(value, field.format, dateonly=field.format != 'relative') if value else None">
    ${pretty_dateinfo(value, field.format, dateonly=field.format != 'relative') if value else None}
  File "/usr/lib/python2.6/site-packages/trac/timeline/web_ui.py", line 281, in pretty_dateinfo
    absolute = user_time(req, format_date, date)
  File "/usr/lib/python2.6/site-packages/trac/util/datefmt.py", line 909, in user_time
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/trac/util/datefmt.py", line 318, in format_date
    return _format_datetime(t, format, tzinfo, locale, 'date')
  File "/usr/lib/python2.6/site-packages/trac/util/datefmt.py", line 268, in _format_datetime
    t = to_datetime(t, tzinfo or localtz)
  File "/usr/lib/python2.6/site-packages/trac/util/datefmt.py", line 179, in to_datetime
    type(t))
TypeError: expecting datetime, int, long, float, or None; got <type 'unicode'>

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Jun Omae

Description: modified (diff)

Please post your configuration in trac.ini. It cannot be reproduced due to less information.

comment:2 Changed 8 years ago by mx.tian@…

All the information for the configuration file:

# -*- coding: utf-8 -*-

[account-manager]
account_changes_notify_addresses = xxx@xxx.cn
htpasswd_file = /data/svndata/svnconf/passwd
htpasswd_hash_type = md5
notify_actions = new,change,delete
password_store = HtPasswdStore
reset_password = enabled

[announcer]
default_email_format = text/plain
email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, DefaultDomainEmailResolver
email_enabled = true
email_from = trac@xxx.cn
email_from_name = trac@xxx.cn
email_replyto = trac@xxx.cn
email_sender = SmtpEmailSender
email_subject_prefix = __default__
email_to = undisclosed-recipients:
mime_encoding = base64
use_public_cc = false
use_threaded_delivery = false

[attachment]
max_size = 10485760
max_zip_size = 10485760
render_unsafe_content = disabled

[authz_policy]
authz_file = /data/svndata/svnconf/authz

[blackmagic]
gray_disabled = 
permissions = 

[breadcrumbs]
ignore_pattern = 
label = 
max_crumbs = 6
paths = /wiki/,/ticket/,/milestone/

[browser]
color_scale = enabled
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 = disabled
wiki_properties = trac:description

[cc_selector]
show_fullname = disabled
username_blacklist = 

[changeset]
max_diff_bytes = 10000000
max_diff_files = 0
wiki_format_messages = enabled

[childtickets]
parent.开发.allow_child_tickets = True
parent.开发.inherit = cc,component,summary,priority
parent.开发.restrict_child_type = 讨论,事务,界面,其他,研究,开发,测试,设计,缺陷
parent.开发.table_headers = status,parent,cc,summary,version,owner,type

[components]
acct_mgr.* = enabled
acct_mgr.admin.configurationadminpanel = disabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.http.httpauthstore = disabled
acct_mgr.pwhash.* = disabled
acct_mgr.register.registrationmodule = disabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.resetpwstore = enabled
backlinks.macro.backlinksmacro = enabled
backlinks.macro.backlinksmenumacro = enabled
blackmagic.blackmagic.blackmagictickettweaks = enabled
breadcrumbsnav.breadcrumbs.breadcrumbssystem = enabled
cc_selector.cc_selector.ticketwebuiaddon = enabled
childtickets.* = enabled
childtickets.admin.childticketsadminpanel = disabled
childtickets.childtickets.tracchildticketsmodule = disabled
codeexample.* = enabled
coderev.api.codereviewersystem = enabled
coderev.web_ui.changesetticketmapper = enabled
coderev.web_ui.codereviewermodule = enabled
coderev.web_ui.cnmitticketreferencemacro = enabled
customfieldadmin.admin.customfieldadminpage = enabled
customfieldadmin.api.customfields = enabled
datasaver.datasaver.datasavermodule = enabled
dynfields.rules.clearrule = enabled
dynfields.rules.copyrule = enabled
dynfields.rules.defaultrule = enabled
dynfields.rules.hiderule = enabled
dynfields.rules.setrule = enabled
dynfields.rules.validaterule = enabled
dynfields.web_ui.dynamicfieldsmodule = enabled
ganttcalendar.admin.holidayadminpanel = disabled
ganttcalendar.cnplete_by_close.cnpleteticketobserver = disabled
ganttcalendar.ticketcalendar.ticketcalendarplugin = disabled
ganttcalendar.ticketgantt.ticketganttchartplugin = disabled
ganttcalendar.ticketvalidator.ticketvalidator = disabled
groupticketfields.ticket.groupticketfields = enabled
includemacro.macros.includemacro = enabled
inieditorpanel.default_manager.inieditorbasicsecuritymanager = disabled
inieditorpanel.default_manager.inieditoremptysecuritymanager = disabled
inieditorpanel.web_ui.traciniadminpanel = disabled
markdown.* = enabled
milncheckbox.milncheckbox = disabled
notebox.macro.noteboxmacro = enabled
permredirect.filter.permredirectmodule = enabled
plantuml.macro.plantumlmacro = enabled
projectmenu.web_ui.projectmenumodule = disabled
simplemultiproject.admin.smpadminpanel = enabled
simplemultiproject.admin_command.smpadmincommands = enabled
simplemultiproject.admin_filter.smpaddextendedversioncolumn = enabled
simplemultiproject.admin_filter.smpfilterdefaultcomponentpanels = enabled
simplemultiproject.admin_filter.smpfilterdefaultmilestonepanels = enabled
simplemultiproject.admin_filter.smpfilterdefaultversionpanels = enabled
simplemultiproject.environmentsetup.smpenvironmentsetupparticipant = enabled
simplemultiproject.milestone.smpmilestoneproject = enabled
simplemultiproject.model.smpmodel = enabled
simplemultiproject.roadmap.smproadmapgroup = enabled
simplemultiproject.roadmap.smproadmapmodule = enabled
simplemultiproject.roadmap.smproadmapprojectfilter = enabled
simplemultiproject.ticket.projectticketspolicy = enabled
simplemultiproject.ticket.smpticketproject = enabled
simplemultiproject.timeline.smptimelineprojectfilter = enabled
simplemultiproject.version.smpversionmodule = enabled
simplemultiproject.version.smpversionproject = enabled
svnauthz.* = enabled
table.table.styledtableplugin = enabled
ticketcalendar.web_ui.ticketcalendarmodule = enabled
ticketext.template.tickettemplatemodule = disabled
ticketext.template.tickettypechangehandler = disabled
ticketext.template_admin.tickettemplateadmin = disabled
trac.ticket.notification.ticketattachmentnotifier = enabled
trac.web.auth.loginmodule = disabled
tracextracturl.* = enabled
trachtmlnotification.* = enabled
tracmindmap.* = enabled
tracnumberedheadlines.plugin.numberedheadlinesplugin = enabled
tracopt.mimeview.enscript.enscriptrenderer = enabled
tracopt.mimeview.php.phprenderer = enabled
tracopt.perm.authz_policy.authzpolicy = enabled
tracopt.perm.config_perm_provider.extrapermissionsprovider = enabled
tracopt.ticket.clone.ticketclonebutton = enabled
tracopt.ticket.cnmit_updater.cnmitticketreferencemacro = disabled
tracopt.ticket.cnmit_updater.cnmitticketupdater = enabled
tracopt.ticket.deleter.ticketdeleter = enabled
tracopt.versioncontrol.git.git_fs.csetpropertyrenderer = enabled
tracopt.versioncontrol.git.git_fs.gitconnector = enabled
tracopt.versioncontrol.git.git_fs.gitwebprojectsrepositoryprovider = enabled
tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = enabled
tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled
tracpaste.* = enabled
tracsectionedit.web_ui.wikisectioneditmodule = enabled
tracsubtickets.* = enabled
tractags.admin.tagchangeadminpanel = enabled
tractags.api.tagpolicy = enabled
tractags.api.tagsystem = enabled
tractags.db.tagsetup = enabled
tractags.macros.tagwikimacros = enabled
tractags.ticket.tickettagprovider = enabled
tractags.web_ui.taginputautocomplete = enabled
tractags.web_ui.tagrequesthandler = enabled
tractags.web_ui.tagtimelineeventfilter = enabled
tractags.web_ui.tagtimelineeventprovider = enabled
tractags.wiki.tagwikisyntaxprovider = enabled
tractags.wiki.wikitaginterface = enabled
tractags.wiki.wikitagprovider = enabled
tracwikiextras.* = enabled
tracworkflowadmin.* = enabled
tracworkflowadmin.web_ui.tracworkflowadminmodule = enabled
tracwysiwyg.* = enabled
tracwysiwyg.wysiwygmodule = disabled

[datefield]
first_day = 1
format = mdy
separator = -

[gitweb-repositories]
projects_base = 
projects_list = 
projects_url = 

[group-ticket-fields]
additional_info = Zusatzinformationen
additional_info.fields = reproducibility,keywords,cc,customtext,svnversion,tester,blockedby,blocking,parents,billable,internal
additional_info.properties = foldable,collapsed
group_order = project,main,additional_info,project_planning
project = 项目
project.columns = 1
project.fields = project,milestone,version
project_planning = Projektplanung
project_planning.fields = estimatedhours,hours,remaininghours,totalhours,userfinish,userstart
project_planning.properties = foldable,collapsed

[header_logo]
alt = logo
height = -1
link = http://trac.xxx.cn/wiki
src = site/logo.png
width = -1

[inherit]
htdocs_dir = 
plugins_dir = 
templates_dir = 

[ini-editor]
password-options = 
security-manager = IniEditorBasicSecurityManager
valid-option-name-chars = ^[a-zA-Z0-9\-_\:.]+$
valid-section-name-chars = ^[a-zA-Z0-9\-_\:]+$

[ini-editor-restrictions]
default-access = readonly

[logging]
log_level = WARNING
log_type = file

[mainnav]
browser.order = 4.0
newticket.order = 6.0
roadmap.order = 3.0
search.order = 7.0
tickets.order = 5.0
timeline.order = 2.0
wiki.order = 1.0

[metanav]
about.order = 5.0
help.order = 4.0
login.order = 1.0
logout.order = 2.0
prefs.order = 3.0

[milestone]
stats_provider = DefaultTicketGroupStatsProvider

[mimeviewer]
max_preview_size = 10485760
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
mime_map_patterns = text/plain:README|INSTALL|COPYING.*
php_path = /usr/bin/php
tab_width = 8
treat_as_binary = application/octet-stream,application/pdf,application/postscript,application/msword,application/rtf

[notification]
email_sender = HtmlNotificationSmtpEmailSender
mime_encoding = base64
smtp_enabled = enabled
smtp_from = trac@xxx.cn
smtp_from_name = trac@xxx.cn
smtp_password = xxx
smtp_port = 25
smtp_server = smtp.xxx.xxx.cn
smtp_user = trac@xxx.cn
use_tls = disabled

[notification-subscriber]
always_notify_cc = CarbonCopySubscriber

[numberedheadlines]
fix_paragraph = enabled
numbered_outline = enabled
numbering_starts_at_level_two = disabled

[permredirect]
redirect_login = enabled
redirect_login_https = disabled

[plantuml]
java_bin = /usr/bin/java
plantuml_jar = /data/projects/xxx/plugins/plantuml.jar

[project]
admin = 
admin_trac_url = .
descr = xxx
footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a>
icon = common/trac.ico
name = xxx
url = http://trac.xxx.cn

[query]
default_anonymous_query = status!=closed&cc~=$USER
default_query = status!=closed&owner=$USER
items_per_page = 100
ticketlink_query = ?status=!closed

[report]
items_per_page = 100
items_per_page_rss = 0

[repositories]
.dir = /data/svndata/default

[revisionlog]
default_log_limit = 100
graph_colors = #cc0,#0c0,#0cc,#00c,#c0c,#c00

[roadmap]
stats_provider = DefaultTicketGroupStatsProvider

[search]
min_query_length = 2

[section-edit]
edit_subsections = disabled
preview_whole_page = enabled

[simple-multi-project]
milestone_without_project = disabled
roadmap_data_filters = SmpRoadmapGroup,SmpRoadmapProjectFilter
roadmap_data_provider = SmpVersionProject,SmpRoadmapGroup,SmpRoadmapProjectFilter
single_project_milestones = disabled
single_project_versions = disabled
version_without_project = disabled

[smtp]
debuglevel = 0
password = xxxx
port = 25
server = smtp.xxx.xxx.cn
timeout = 10
use_ssl = false
use_tls = false
user = trac@xxx.cn

[svn]
authz_file = /data/svndata/svnconf/authz
authz_module_name = 

[svnauthzadmin]
read_only_display = false
show_all_repos = true

[tags]
cloud_caseless_sort = disabled
cloud_mincount = 1
complete_field = keywords
complete_matchcontains = enabled
complete_sticky_tags = 
default_format = oldlist
default_table_cols = id|description|tags
exclude_realms = 
ignore_closed_tickets = enabled
listtagged_default_format = oldlist
listtagged_default_table_cols = id|description|tags
listtagged_exclude_realms = 
query_exclude_wiki_templates = enabled
revisable_realms = wiki
separator = 
ticket_fields = keywords
ticket_help = 
ticket_help_newwindow = disabled
wiki_page_link = enabled
wiki_page_prefix = 

[ticket]
default_cc = 
default_component = 
default_description = 
default_keywords = 
default_milestone = 
default_owner = < default >
default_priority = 重要
default_resolution = fixed
default_severity = 
default_summary = 
default_type = 开发
default_version = 
max_comment_size = 10485760
max_description_size = 10485760
max_summary_size = 10485760
preserve_newlines = default
restrict_owner = enabled
workflow = ConfigurableTicketWorkflow

[ticket-custom]
due_date = time
due_date.format = date
due_date.label = 预计完成时间
due_date.order = 2
project = select
project.label = 项目
project.options = xxx|xxx|
project.order = 1
project.value = 

[ticket-workflow]
accept = new -> assigned
accept.default = 997
accept.name = 领取任务
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
create = <none> -> new
create.default = 993
create.name = 创建任务
create_and_assign = <none> -> assigned
create_and_assign.default = 992
create_and_assign.name = 创建并指派任务
create_and_assign.operations = may_set_owner
create_and_assign.permissions = TICKET_MODIFY
leave = assigned,new,reviewing,accepted,reopened,closed -> *
leave.default = 1000
leave.name = 初始化
leave.operations = leave_status
reassign = assigned,new,reviewing,accepted,reopened -> assigned
reassign.default = 995
reassign.name = 指派
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reassign_reviewing = reviewing -> *
reassign_reviewing.default = 994
reassign_reviewing.name = 重新提交审查
reassign_reviewing.operations = set_owner
reassign_reviewing.permissions = TICKET_MODIFY
reopen = closed -> reopened
reopen.default = 996
reopen.name = 激活任务
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = assigned,reviewing,reopened -> closed
resolve.default = 999
resolve.name = 关闭任务
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY
review = assigned -> reviewing
review.default = 998
review.name = 提交审查
review.operations = set_owner
review.permissions = TICKET_MODIFY

[ticketcalendar]
first_week_day = -1
milestone.background-color = #c2c2c2
milestone.icon = ui-icon-flag
ticket.due_date = due_date
ticket.due_date.format = %Y/%m/%d
ticket.priority.color = #fca89e,#ffad46,#7bd148,#8db3f0,#cca6ac
ticket.start_date = start_date
ticket.start_date.format = %Y/%m/%d
ticket.type.icon = ui-icon-contact,ui-icon-lightbulb,ui-icon-check,ui-icon-gear,ui-icon-comment

[ticketext]
事务.enablefields = project,due_date
事务.template = 
其他.enablefields = project,due_date
其他.template = 
开发.enablefields = project,due_date
开发.template = [背景]\n\n[思路]\n
测试.enablefields = project,due_date
测试.template = 
界面.enablefields = project,due_date
界面.template = 
研究.enablefields = project,due_date
研究.template = 
缺陷.enablefields = project,due_date
缺陷.template = [步骤]\n\n[结果]\n\n[期望]\n
讨论.enablefields = project,due_date
讨论.template = 
设计.enablefields = project,due_date
设计.template = 

[timeline]
abbreviated_messages = enabled
changeset_collapse_events = disabled
changeset_long_messages = disabled
changeset_show_files = 0
default_daysback = 30
max_daysback = 90
newticket_formatter = oneliner
ticket_show_details = disabled

[trac]
auth_cookie_lifetime = 0
auth_cookie_path = 
auto_preview_timeout = 2.0
auto_reload = disabled
backup_dir = db
base_url = http://trac.xxx.cn
check_auth_ip = disabled
database = mysql://root:xxx@127.0.0.1/xxxx
debug_sql = disabled
default_charset = utf-8
default_date_format = iso8601
default_dateinfo_format = relative
default_handler = WikiModule
default_language = zh_CN
default_timezone = Asia/Shanghai
genshi_cache_size = 256
htdocs_location = 
ignore_auth_case = disabled
jquery_location = 
jquery_ui_location = 
jquery_ui_theme_location = 
mysqldump_path = mysqldump
never_obfuscate_mailto = disabled
permission_policies = ReadonlyWikiPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
pg_dump_path = pg_dump
resizable_textareas = enabled
secure_cookies = disabled
show_email_addresses = disabled
show_ip_addresses = disabled
timeout = 20
underscorejs_location = /data/projects/xxx/htdocs/underscore-min.js
use_base_url_for_redirect = disabled
use_chunked_encoding = disabled
use_xsendfile = disabled
wiki_toolbars = enabled
xsendfile_header = X-Sendfile

[userpictures]
pictures_provider = UserPicturesUserManagerProvider

[versioncontrol]
allowed_repository_dir_prefixes = 
default_repository_type = svn

[wiki]
ignore_missing_pages = disabled
max_size = 10485760
render_unsafe_content = disabled
safe_schemes = cvs,file,ftp,git,irc,http,https,news,sftp,smb,ssh,svn,svn+ssh
split_page_names = disabled

[workflow-admin]
auto_update_interval = 3000
default_editor = gui
diagram_cache = disabled
diagram_colors = #0000ff,#006600,#ff0000,#666600,#ff00ff
diagram_font = sans-serif
diagram_fontsize = 10.0
diagram_size = 6, 6
dot_path = dot
operations = del_owner,set_owner,set_owner_to_self,del_resolution,set_resolution,leave_status,may_set_owner


comment:3 Changed 21 months ago by Jun Omae

Resolution: duplicate
Status: newclosed

A duplicate of #13245.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.