Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5453 closed defect (worksforme)

Wiki preview problem

Reported by: s.gurgul@… 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 Christian Boos, 18 years ago

Keywords: needinfo added
Milestone: 0.11

Which revision are you using? This works for me using latest trunk…

comment:2 by Christian Boos, 18 years ago

Does the #2553 fix also help here?

comment:3 by s.gurgul@…, 18 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 Christian Boos, 18 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…

comment:5 by s.gurgul@…, 18 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:6 by s.gurgul@…, 18 years ago

Sorry

future → feature

comment:7 by s.gurgul@…, 18 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

in reply to:  5 comment:8 by Christian Boos, 18 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?)

comment:9 by s.gurgul@…, 18 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 ? :)

in reply to:  9 comment:10 by Christian Boos, 18 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.

comment:11 by s.gurgul@…, 18 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) ?

in reply to:  11 comment:12 by Christian Boos, 18 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 s.gurgul@…, 18 years ago

Resolution: worksforme
Status: newclosed

Works OK with latest sources. Thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.