Welcome, guest ( Login )

WikiHome » BugTracker » Bug41

Bug41

Version 6, changed by jotspot_reuben. 10/21/2004.   Show version history

Bug ID#: Bug41

Summary (short description): pageName/createPage gotcha
OS: WinXP
Browser: FireFox
Bug Description: More of a gotcha than a bug. See steps to reproduce
Steps to Reproduce: Pretend you are an ignorant Wiki user. Create a createPage control. On the defaultForm for this control, use a pageName property so new pages get named NewPage1?, NewPage2?, etc. Make some nodes using the createPage control. Get annoyed at seeing the pageName field on the form. Change that field to hidden="true". Make another node using the createPage control. This node is now created with the name of the createPage control (i.e. NewPage? or similar). Think "Oops, I didn't want the page named that. I'll delete it." Do so. Think "Hmm...his probably happened because I hid that field. I'll remove hidden="true". Do so. Try and create a new page using the createPage control. Get into a weird loop. Rename createPage control to fix problem and remember not to do hidden="true" on the pageName field, silly wabbit.
Your name: Chad
Your wiki domain name (*.jot.com): redpoint

Comments (2)

jotspot_reuben said, 10/21/2004:

Hi Chad,
If I'm understanding you correctly, you tried to add "hidden=true" to an input field inside of a wiki:form?
Thanks,
-reuben@jot.com

cdyer@redpoint said, 10/29/2004:

I created a form with an input field of type pageName. Then I created some nodes with the form, auto-generating the page names as that field type does. Then after I had already created some nodes with that form I tried to hide the field by adding hidden="true". Then I tried to add some new nodes with the form and oddness ensued.

Attachments (0)

  File By Size Attached Ver.