login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #76 Cannot edit status fields of issue pages with Page type: Plain text revision 1 of 1

1
Editor:
Time: 2007/11/17 23:02:05 GMT-8
Note: works

changed:
-
If in edit 'Page type:' is changed to 'Plain text' then the status
fields are not display. To work-around, change the 'Page type:' to
something else, Save, change status, edit change 'Page type:' back
to 'Plain text'.

From unknown Tue Jan 25 02:14:50 -0600 2005
From: 
Date: Tue, 25 Jan 2005 02:14:50 -0600
Subject: patch to plaintext.py
Message-ID: <20050125021450-0600@page.axiom-developer.org>

The following patch adds the IssueForm to pages of type Plain text::

  diff --exclude='*.pyc' -Naur test/Products/ZWiki/pagetypes/plaintext.py main/Products/ZWiki/pagetypes/plaintext.py
  --- test/Products/ZWiki/pagetypes/plaintext.py  2004-11-17 14:57:59.000000000 -0600
  +++ main/Products/ZWiki/pagetypes/plaintext.py  2005-01-25 01:47:04.000000000 -0600
  @@ -18,6 +18,8 @@

       def render(self, page, REQUEST={}, RESPONSE=None, **kw):
           t = page.preRendered()
  +        if page.isIssue() and kw.get('show_issueproperties',1):
  +            t = page.addIssueFormTo(t)
           t = page.renderMidsectionIn(t,**kw)
           t = page.addSkinTo(t,**kw)
           return t


From unknown Tue Jan 25 02:15:37 -0600 2005
From: 
Date: Tue, 25 Jan 2005 02:15:37 -0600
Subject: property change
Message-ID: <20050125021537-0600@page.axiom-developer.org>

Status: assigned => testing 


From billpage Sat Nov 26 23:34:19 -0600 2005
From: billpage
Date: Sat, 26 Nov 2005 23:34:19 -0600
Subject: works
Message-ID: <20051126233419-0600@wiki.axiom-developer.org>

Status: testing => closed 


Submitted by : (unknown) at: 2007-11-17T23:02:05-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

If in edit Page type: is changed to Plain text then the status fields are not display. To work-around, change the Page type: to something else, Save, change status, edit change Page type: back to Plain text.

patch to plaintext.py
Tue, 25 Jan 2005 02:14:50 -0600 reply
The following patch adds the IssueForm? to pages of type Plain text:
  diff --exclude='*.pyc' -Naur test/Products/ZWiki/pagetypes/plaintext.py main/Products/ZWiki/pagetypes/plaintext.py
  --- test/Products/ZWiki/pagetypes/plaintext.py  2004-11-17 14:57:59.000000000 -0600
  +++ main/Products/ZWiki/pagetypes/plaintext.py  2005-01-25 01:47:04.000000000 -0600
  @@ -18,6 +18,8 @@

       def render(self, page, REQUEST={}, RESPONSE=None, **kw):
           t = page.preRendered()
  +        if page.isIssue() and kw.get('show_issueproperties',1):
  +            t = page.addIssueFormTo(t)
           t = page.renderMidsectionIn(t,**kw)
           t = page.addSkinTo(t,**kw)
           return t
property change
Tue, 25 Jan 2005 02:15:37 -0600 reply
Status: assigned => testing

Status: testing => closed