Opened 17 years ago
Closed 17 years ago
#5453 closed defect (worksforme)
Wiki preview problem
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to reproduce:
- open new/existing wiki page
- edit
- try to preview
Expected result:
- preview section should contain latest modifications
Real result:
- preview section presents old version of the page (without latest modifications)
Environment:
- Trac 0.11dev
- Firefox 2.0.0.4/IE 7/Opera 9.20
Is it a bug or there is some configuration problem ?
Attachments (0)
Change History (13)
comment:1 by , 17 years ago
Keywords: | needinfo added |
---|---|
Milestone: | 0.11 |
comment:3 by , 17 years ago
Unfortunatelly No. Preview problem still exists.
I am not sure which revision do we use - I have to consult it with our Network Administrator.
We started to use Trac about two weeks ago and we installed latest sources.
comment:4 by , 17 years ago
And does the Preview changes feature work?
If you don't have that button, then maybe it's because you're using the "tags" plugin, which replaces the Wiki module…
follow-up: 8 comment:5 by , 17 years ago
Well… Generally the future works. I have the preview button and when I click it the preview screen appears (with 'Draft' image background).
The problem is that the preview completely ignores modifications which I want to preview and simply shows previous version of the content…
comment:7 by , 17 years ago
And about the plugins… We do not use 'tags'.
The only plugin which we use is 'export to PDF': http://trac-hacks.org/wiki/PageToPdfPlugin
comment:8 by , 17 years ago
Replying to s.gurgul@fqs.pl:
I have the preview button and when I click it the preview screen appears (with 'Draft' image background).
There should be two preview buttons: Preview Page and Review Changes
If not, then you're not using the normal trunk wiki module, for some reason. So the question was: do you actually see those 2 buttons and if yes, is the second one also defective (i.e. showing an empty diff?)
follow-up: 10 comment:9 by , 17 years ago
I have only one. It is labeled 'Preview'.
My Trac looks exaclty the same like the demo-one accessible here http://www.hosted-projects.com/trac/TracDemo/Demo
When you click 'Edit this page' on the demo page you will get exactly what I see on my screen. There are three buttons on the bottom: 'Preview', 'Submit changes' and 'Cancel'.
Does it mean that I am using wrong version of Wiki module ? :)
comment:10 by , 17 years ago
Replying to s.gurgul@fqs.pl:
Does it mean that I am using wrong version of Wiki module ? :)
Yes, one possibility would be you're using the Tags plugin (possibility you ruled out), another would be that you're using a very outdated trunk (as the Review changes was introduced in r4795). Of course, there can be other reasons I don't see yet.
follow-up: 12 comment:11 by , 17 years ago
Are the sources from February 12th 'very outdated trunk' ? :) It seems that it is the date when we get the 0.11dev sources and we use it until now.
I understand that you suggest to upgrade 0.11dev to the latest versions. Can it cause some inconsistences with existing database entries (created by Trac users) ?
comment:12 by , 17 years ago
Replying to s.gurgul@fqs.pl:
Are the sources from February 12th 'very outdated trunk' ? :) It seems that it is the date when we get the 0.11dev sources and we use it until now.
He, yes, as that was roughly 900 changesets ago ;-)
I understand that you suggest to upgrade 0.11dev to the latest versions. Can it cause some inconsistences with existing database entries (created by Trac users) ?
No it shouldn't. A trac-admin resync
is needed, but that's only for not mixing up the old way of caching changesets and the new one.
But run a test installation first, to pick a stable revision (I'd say latest should do). If everything works after the upgrade, please don't forget to come back and close the issue as worksforme.
comment:13 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Works OK with latest sources. Thanks.
Which revision are you using? This works for me using latest trunk…