Edgewall Software
Modify

Ticket #8902 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

"edit this page" button in wiki doesn't send version number

Reported by: anonymous Owned by:
Priority: highest Milestone:
Component: wiki system Version: 0.11.6
Severity: blocker Keywords: wiki edit version needinfo
Cc:
Release Notes:
API Changes:

Description

How to reproduce:
Create a new page, save it, go to the page, click on "edit this page".
What should happen: The new contents of the page should be displayed in the edit box.
What does actually happen: An empty edit box is displayed, like when creating a new page.
How to fix it:
add <input type="hidden" name="version" value="$page.version" /> at the appropriate place in wiki_view.html

Attachments

Change History

comment:1 Changed 2 years ago by rblank

  • Keywords needinfo added

I can't seem to reproduce what you describe. If I create a new page, navigate to it and click "Edit this page", I get the page text in the edit box. Do you have any plugins installed?

comment:2 Changed 2 years ago by kim.stebel@…

TracAccountManager? 0.2.1dev-r7163

TracWikiPrintPlugin? 1.6

I also use TracTags? now, but that was installed after the bug occured.

System Information

Trac: 	0.11.6
Python: 	2.5.2 (r252:60911, Jul 22 2009, 15:50:42) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
setuptools: 	0.6c11
SQLite: 	3.4.2
pysqlite: 	2.4.0
Genshi: 	0.5.1
mod_python: 	3.3.1
jQuery:	1.2.6
Configuration
Section 	Name 	Value
account-manager 	account_changes_notify_addresses 	
authentication_url 	
force_passwd_change 	True
generated_password_length 	8
hash_method 	HtDigestHashMethod
htdigest_realm 	
notify_actions 	
password_file 	/var/lib/trac/.htpasswd
password_format 	htpasswd
password_store 	HtPasswdStore
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 	enabled
acct_mgr.htfile.abstractpasswordfilestore 	enabled
acct_mgr.htfile.htpasswdstore 	enabled
acct_mgr.notification.accountchangelistener 	enabled
acct_mgr.notification.accountchangenotificationadminpanel 	enabled
acct_mgr.pwhash.htdigesthashmethod 	enabled
acct_mgr.pwhash.htpasswdhashmethod 	enabled
acct_mgr.web_ui.accountmodule 	enabled
acct_mgr.web_ui.emailverificationmodule 	enabled
acct_mgr.web_ui.loginmodule 	enabled
tractags.* 	enabled
wikiprint.formats.wikiprintoutput 	enabled
wikiprint.web_ui.wikiprintadmin 	enabled
wikiprint.wikiprint.wikiprint 	enabled
wikiprint.wikiprint.wikitohtmlpage 	enabled
wikiprint.wikiprint.wikitopdfpage 	enabled
header_logo 	alt 	(please configure the [header_logo] section in trac.ini)
height 	-1
link 	
src 	site/your_project_logo.png
width 	-1
inherit 	plugins_dir 	
templates_dir 	
logging 	log_file 	trac.log
log_format 	
log_level 	DEBUG
log_type 	none
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
treat_as_binary 	application/octet-stream,application/pdf,application/postscript,application/rtf
notification 	admit_domains 	
always_notify_owner 	false
always_notify_reporter 	false
always_notify_updater 	true
ignore_domains 	
mime_encoding 	none
smtp_always_bcc 	
smtp_always_cc 	
smtp_default_domain 	
smtp_enabled 	false
smtp_from 	trac@localhost
smtp_from_name 	
smtp_password 	
smtp_port 	25
smtp_replyto 	trac@localhost
smtp_server 	localhost
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 	
admin_trac_url 	.
descr 	
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 	SWT
url 	
query 	default_anonymous_query 	status!=closed&cc~=$USER
default_query 	status!=closed&owner=$USER
items_per_page 	100
report 	items_per_page 	100
items_per_page_rss 	0
revisionlog 	default_log_limit 	100
roadmap 	stats_provider 	DefaultTicketGroupStatsProvider
search 	min_query_length 	3
svn 	branches 	trunk,branches/*
tags 	tags/*
tags 	ignore_closed_tickets 	True
ticket_fields 	keywords
ticket 	default_cc 	
default_component 	
default_description 	
default_keywords 	
default_milestone 	
default_owner 	
default_priority 	major
default_resolution 	fixed
default_severity 	
default_summary 	
default_type 	defect
default_version 	
max_comment_size 	262144
max_description_size 	262144
preserve_newlines 	default
restrict_owner 	false
workflow 	ConfigurableTicketWorkflow
ticket-workflow 	accept 	new,assigned,accepted,reopened -> accepted
accept.operations 	set_owner_to_self
accept.permissions 	TICKET_MODIFY
leave 	* -> *
leave.default 	1
leave.operations 	leave_status
reassign 	new,assigned,accepted,reopened -> assigned
reassign.operations 	set_owner
reassign.permissions 	TICKET_MODIFY
reopen 	closed -> reopened
reopen.operations 	del_resolution
reopen.permissions 	TICKET_CREATE
resolve 	new,assigned,accepted,reopened -> closed
resolve.operations 	set_resolution
resolve.permissions 	TICKET_MODIFY
timeline 	abbreviated_messages 	True
changeset_collapse_events 	false
changeset_long_messages 	false
changeset_show_files 	0
default_daysback 	30
max_daysback 	90
newticket_formatter 	oneliner
ticket_show_details 	false
trac 	authz_file 	
authz_module_name 	
auto_reload 	False
backup_dir 	db
base_url 	
check_auth_ip 	false
database 	sqlite:db/trac.db
debug_sql 	False
default_charset 	iso-8859-15
default_handler 	WikiModule
default_timezone 	
htdocs_location 	
ignore_auth_case 	false
mainnav 	wiki,timeline,roadmap,browser,tickets,newticket,search
metanav 	login,logout,prefs,help,about
mysqldump_path 	mysqldump
never_obfuscate_mailto 	false
permission_policies 	DefaultPermissionPolicy, LegacyAttachmentPolicy
permission_store 	DefaultPermissionStore
pg_dump_path 	pg_dump
repository_dir 	
repository_type 	svn
request_filters 	
secure_cookies 	False
show_email_addresses 	false
show_ip_addresses 	false
timeout 	20
use_base_url_for_redirect 	False
wiki 	ignore_missing_pages 	false
max_size 	262144
render_unsafe_content 	false
split_page_names 	false
wikiprint 	article_css_url 	
book_css_url 	
css_url 	
extracontent_url 	
frontpage_url 	
toc_title 	Table of Contents
Last edited 2 years ago by cboos (previous) (diff)

comment:3 Changed 2 years ago by kim.stebel@…

damn formatting...

I suppose you missed the Edit button ;-)

(snip)

Last edited 2 years ago by cboos (previous) (diff)

comment:4 follow-up: Changed 2 years ago by kim.stebel@…

haha :-p
not logged in -> no edit button

comment:5 in reply to: ↑ 4 Changed 2 years ago by Carsten Klein <carsten.klein@…>

  • Resolution set to invalid
  • Status changed from new to closed

Replying to kim.stebel@…:

haha :-p
not logged in -> no edit button

may i?

closing this as invalid

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.