#4099 closed defect (fixed)
Submit button missing when editting read only wiki pages
Reported by: | PBruin | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.10.1 |
Component: | wiki system | Version: | 0.10 |
Severity: | major | Keywords: | |
Cc: | peter.bruin@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Attachments (2)
Change History (31)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Sorry, I mean r4041, the other one was the trunk version I used before going back to the stable 0.10-stable branch.
comment:3 by , 18 years ago
comment:4 by , 18 years ago
Cc: | added |
---|
Actually, not just the buttons are missing. The whole footer is missing.
by , 18 years ago
Attachment: | faulty page.txt added |
---|
html generated for page without footer and buttons with r4145
by , 18 years ago
Attachment: | not read only page.txt added |
---|
html generated for page that is not checked as read only with r4145
comment:5 by , 18 years ago
Milestone: | → 0.10.1 |
---|---|
Severity: | normal → major |
I have added two files that contain the same page when I click preview. Once I have the read-only box checked and the other time not. This was tested on 0.10-stable without any plugins or other additions.
comment:6 by , 18 years ago
Milestone: | 0.10.1 → 0.10.2 |
---|
Well, it's too late for milestone:0.10.1 which has been released. Can you try again with that released version or at least r4155, to check if the problem is still present with the latest incarnation of the CSRF fix?
comment:7 by , 18 years ago
Ah, wait, it's probably related to r4184, so yes, try again with the released milestone:0.10.1 …
comment:8 by , 18 years ago
Status: | new → assigned |
---|
This was probably fixed by r4184. Either update to the latest 0.10-stable or the 0.10.1 release.
comment:9 by , 18 years ago
Ok, this fixes it for this test site. However, my main site has the th:wiki:TracBlogPlugin setup and there it is still present. They use the same installation and I have the plugin in the local configuration of that site. Any tips or do I need to take this to Trac-Hacks?
comment:10 by , 18 years ago
Are you sure you have restarted your main site, and does disabling the plugin "fix" the issue?
comment:11 by , 18 years ago
Both run on the same apache server. These are the two config I used. First one works, then to test I changed back to the second one and the problem is back.
[components] acct_mgr.* = enabled tblog.* = disabled trac.wiki.web_ui.wikimodule = enabled tracchangelog.* = enabled tractags.* = enabled webadmin.* = enabled
[components] acct_mgr.* = enabled tblog.* = enabled trac.wiki.web_ui.wikimodule = disabled tracchangelog.* = enabled tractags.* = enabled webadmin.* = enabled
comment:12 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Got it. It was due to the th:wiki:TagsPlugin as this had the same problem as was fixed in wiki.cs in r4184. Thanks for your help!
comment:13 by , 18 years ago
It's a bit strange though, as from what you posted in comment:11, the tractags plugin was enabled in both configurations…
comment:14 by , 18 years ago
Correct. But the wiki module was not disabled. The tags plugin uses its own wiki module to display the tags in the page and on the edit properties as you can see in this file. I have attached the fixed file to the th:wiki:TagsPlugin page for people to use.
comment:16 by , 18 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
We are running trac-0.10.2 as released via the CentOS-4 team and have this problem with read only pages.
comment:17 by , 18 years ago
Supplemental correction to above. The repository that provided us with the trac-0.10-2 rpm that wee are using is actually found at http://dag.wieers.com/packages/trac/
follow-ups: 19 20 21 comment:18 by , 18 years ago
It has been six weeks since this issue was reopened. Is there any hope of a repair release or a patch to 0.10.2 in the very near future? If not, then how does one revert to an earlier version?
comment:19 by , 18 years ago
Replying to byrnejb@harte-lyne.ca:
It has been six weeks since this issue was reopened. Is there any hope of a repair release or a patch to 0.10.2 in the very near future? If not, then how does one revert to an earlier version?
Are you absolutely sure you are using the default wiki module?
comment:20 by , 18 years ago
Also, have you tried upgrading to the trac-0.10.3-1
which is available in that repository you mentioned?
comment:21 by , 18 years ago
Keywords: | needinfo added; read only buttons wiki removed |
---|
Replying to byrnejb@harte-lyne.ca:
It has been six weeks since this issue was reopened. Is there any hope of a repair release or a patch to 0.10.2 in the very near future? If not, then how does one revert to an earlier version?
I've checked the contents of the Trac 0.10.2 RPM and it contains the fix from r4184, so this is most likely due to the use of the th:TagsPlugin as mentioned above. You will need to upgrade this plugin to fix the issue.
comment:22 by , 18 years ago
I removed TracTags many months ago because I could never get it to work. There is nothing to upgrade and, as far as I can see, nothing in the trac.ini file that references any of trhe TracTags components except a few comments preserving some of the former settings. I have removed these and altered the trac.ini file to conform with the recommendations of the trac project "trac.ini wiki page. Restarting the httpd server following these changes did not correct the problem.
I was unaware that Dag had updated trac to 0.10.3 (on last Wednesday, Dec. 13). I will apply this update directly and see if this fixes the problem.
comment:23 by , 18 years ago
I have updated to 0.10.3 and restarted the httpd server. The missing submit buttons have not returned for the read-only pages. I can edit, but I cannot save changes. If this is an artifact of the previous tractags plugin then I would really appreciate some guidance as to how to rid myself of all traces of this component.
comment:24 by , 18 years ago
comment:25 by , 18 years ago
Double check that you do not have any local modifications to the wiki template (possibly in <env>/templates/wiki.cs
).
A copy of the tags plugin page can be found here.
comment:26 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Yes! That was the problem. The earlier install of TracTags must have modified the wiki.cs because its fingerprints were all over the version I had in templates. Copying over the default version of wiki.cs cured the problem.
comment:27 by , 18 years ago
Keywords: | needinfo removed |
---|---|
Milestone: | → 0.10.1 |
Ok, good. It looks like the fix for Trac was originally released in 0.10.1.
comment:29 by , 17 years ago
I think that a read only page should be editable only by user with a TRAC_ADMIN permission.
I confirm that reverting back to r4050 resolves the issue