Hi,

I'm guessing that this is a bug that was fixed in later versions of SF 1.3;
if you get the current version, it should be fixed.

-Yaron

On Tue, Sep 23, 2008 at 4:05 AM, Patrick Nagel <[EMAIL PROTECTED]>wrote:

>
> Hi,
>
> I might have found a bug in SF:
>
> When no text follows the last template call, the last value won't be loaded
> into the form when attempting to 'edit with form'.
>
> Example:
>
> Page BMW
> ------------------------------------------------------------------------
> {{Organisation
> |LegalNameINT=BMW AG
> }}
> ------------------------------------------------------------------------
>
> Template:Organisation
> ------------------------------------------------------------------------
> Legal name (international): '''[[Organisation legal name
> international::{{{LegalNameINT|n/a}}}]]'''
>
> Legal name (local): '''[[Organisation legal name
> local::{{{LegalNameLOC|n/a}}}]]'''
> ------------------------------------------------------------------------
>
> Form:Organisation
> ------------------------------------------------------------------------
> <includeonly>
> {{{for template|Organisation}}}
> {| class="formtable"
> ! Legal name (international):
> | {{{field|LegalNameINT}}}
> |-
> ! Legal name (local):
> | {{{field|LegalNameLOC}}}
> |}
> {{{end template}}}
>
> '''Free text:'''
>
> {{{field|free text}}}
>
>
> {{{standard input|summary}}}
>
> {{{standard input|minor edit}}} {{{standard input|watch}}}
>
> {{{standard input|save}}} {{{standard input|preview}}} {{{standard
> input|changes}}} {{{standard input|cancel}}}
> </includeonly>
> ------------------------------------------------------------------------
>
> Now when I 'edit with form' the page BMW, the form is completely empty,
> although the first field should contain 'BMW AG'. If I add some random text
> to
> the bottom of the BMW page, 'edit with form' works as expected.
>
> Versions:
> MediaWiki 1.12.0
> Semantic MediaWiki 1.3
> Semantic Forms 1.3
>
> Patrick.
>
> --
> Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
> Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Semantic Forms" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to