SMF: Forms bug- quote in hidden field

View: New views
4 Messages — Rating Filter:   Alert me  

SMF: Forms bug- quote in hidden field

by Phlox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bug: hidden field is only partially preserved if a double quote occurs in a
hidden field

Repro steps:
1) Edit the article and set a parameter with a double quote " somewhere mid
string.
2) Edit using a form that declares the field as hidden.  Save the form.

Bug: On subsequent editing the article, you will notice that the parameter
has now been right trimmed up to and including the first double quote.

If you cannot repro, whoever is interested let me know and I wll do a simple
example on the demo wiki.  The type of this field property being hidden is
code.

-Phlox
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: SMF: Forms bug- quote in hidden field

by Robert Murphy-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I couldn't reproduce it on scratchpad.referata.com

But it so reminded me of http://bobby-tables.com/ !

On Sun, Nov 8, 2009 at 2:45 PM, Phlox <makthorpe@...> wrote:

> Bug: hidden field is only partially preserved if a double quote occurs in a
> hidden field
>
> Repro steps:
> 1) Edit the article and set a parameter with a double quote " somewhere mid
> string.
> 2) Edit using a form that declares the field as hidden.  Save the form.
>
> Bug: On subsequent editing the article, you will notice that the parameter
> has now been right trimmed up to and including the first double quote.
>
> If you cannot repro, whoever is interested let me know and I wll do a
> simple
> example on the demo wiki.  The type of this field property being hidden is
> code.
>
> -Phlox
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: SMF: Forms bug- quote in hidden field

by Phlox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://scratchpad.referata.com/w/index.php?title=Phlox_demo1&action=edit

On Sun, Nov 8, 2009 at 3:27 PM, Robert Murphy <mrandmrsmurphy@...>wrote:

> I couldn't reproduce it on scratchpad.referata.com
>
> But it so reminded me of http://bobby-tables.com/ !
>
> On Sun, Nov 8, 2009 at 2:45 PM, Phlox <makthorpe@...> wrote:
>
>> Bug: hidden field is only partially preserved if a double quote occurs in
>> a
>> hidden field
>>
>> Repro steps:
>> 1) Edit the article and set a parameter with a double quote " somewhere
>> mid
>> string.
>> 2) Edit using a form that declares the field as hidden.  Save the form.
>>
>> Bug: On subsequent editing the article, you will notice that the parameter
>> has now been right trimmed up to and including the first double quote.
>>
>> If you cannot repro, whoever is interested let me know and I wll do a
>> simple
>> example on the demo wiki.  The type of this field property being hidden is
>> code.
>>
>> -Phlox
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Semediawiki-user mailing list
>> Semediawiki-user@...
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: SMF: Forms bug- quote in hidden field

by Phlox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The link below demonstrates the bug seen.  However it is much lower
severity, since it does not happen as I reported to hidden fields, but to
fields unmentioned on the form.

The form on my site had an encoding error that effectively meant that the
fields were not mentioned on the form.  I don't personally see the need for
any support for fields unmentioned on a form, but if there is supposed to be
a defined behavior, then the example below shows it breaking.

http://scratchpad.referata.com/w/index.php?title=Phlox_demo1&action=edit

On Mon, Nov 9, 2009 at 10:49 PM, Phlox <makthorpe@...> wrote:

> http://scratchpad.referata.com/w/index.php?title=Phlox_demo1&action=edit
>
>
> On Sun, Nov 8, 2009 at 3:27 PM, Robert Murphy <mrandmrsmurphy@...>wrote:
>
>> I couldn't reproduce it on scratchpad.referata.com
>>
>> But it so reminded me of http://bobby-tables.com/ !
>>
>> On Sun, Nov 8, 2009 at 2:45 PM, Phlox <makthorpe@...> wrote:
>>
>>>  Bug: hidden field is only partially preserved if a double quote occurs
>>> in a
>>> hidden field
>>>
>>> Repro steps:
>>> 1) Edit the article and set a parameter with a double quote " somewhere
>>> mid
>>> string.
>>> 2) Edit using a form that declares the field as hidden.  Save the form.
>>>
>>> Bug: On subsequent editing the article, you will notice that the
>>> parameter
>>> has now been right trimmed up to and including the first double quote.
>>>
>>> If you cannot repro, whoever is interested let me know and I wll do a
>>> simple
>>> example on the demo wiki.  The type of this field property being hidden
>>> is
>>> code.
>>>
>>> -Phlox
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Semediawiki-user mailing list
>>> Semediawiki-user@...
>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>>
>>
>>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user