to add a little more detail:
I was lookign at the categorylinks table, and noticed that the category information for the new article is dropped, after the page is saved again, or if I do a runJobs after editing the template (hence causing a SMWUpdatejob)

Any idea why that would happen? Maybe there's an erro in my template code? I can't figure it out.
Any and all help would be greatly appreciated.

Thanks very much!



From: don undeen <donundeen@yahoo.com>
To: smw dev list <semediawiki-devel@lists.sourceforge.net>
Sent: Wed, December 8, 2010 5:33:40 PM
Subject: [SMW-devel] Semantic forms not "Edit With Form"-ing?

Hey guys,
I've got a simple semantic form and template, which I can use successfully to create a new page.
Then, I can click "Edit With Form" and edit (or not) and re-save the page.
However, once I've done that, I can no longer "Edit with form"; the link isn't there, and when I try to just enter the original "edit form form" link, I'm told it's not a valid URL.

Any idea what could be going on?
Version Info (the latest supported by SMWHalo):
MW 1.15.3
SF 1.9.1_1 (w/ halo patches)
Header Table 0.6.6
SMW 1.5.1_1 (w/ halo patches)
SMWHalo Version 1.5.1_4-for-SMW-1.5.1 [B47]


My Form Code is:
<noinclude>
This is the "Thematic Tour" form.
To create a page with this form, enter the page name below;
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:form=Thematic Tour}}
</noinclude><includeonly>
{{{info|add title=Add a new Thematic Tour|page name=<Thematic Tour[Thematic Tour Name]>}}}

<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Thematic Tour}}}
{| class="formtable"
! Thematic Tour Name:
| {{{field|Thematic Tour Name}}}
|-
! Highlights Objects:
| {{{field|Highlights Objects|autocomplete from url=met_objects}}}
|-
! Related Activities:
| {{{field|Related Activities|input type=textarea}}}
|}
{{{end template}}}

'''Free text:'''

{{{standard input|free text|rows=10}}}


{{{standard input|summary}}}

{{{standard input|minor edit}}} {{{standard input|watch}}}

{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>

And My template code is:
<noinclude>
This is the "Thematic Tour" template.
It should be called in the following format:
<pre>
{{Thematic Tour
|Thematic Tour Name=
|Highlights Objects=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>
__SHOWFACTBOX__

{| class="wikitable"
! Thematic Tour Name
| [[ThematicTourName::{{{Thematic Tour Name|}}}]]
|-
! Highlights Objects
| {{#arraymap:{{{Highlights Objects|}}}|,|x|[[HighlightsObject::x]]}}
|-
! Related Activities
| {{{Related Activities|}}}
|}

[[Category:Thematic Tour]]
</includeonly>

Any Ideas?

Thanks all!