Quantcast

"Array" appearing in field values after saving a page edited with a form

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

"Array" appearing in field values after saving a page edited with a form

mbenard
 Hi all
(yes me again)

Here is my problem :

1) I edit page with a form, for example I edit a description text field (F1) ,
2) I save the page
3) I  see "Myvalue1, Array, Array" in another fied (F2) on the same page, which contained "Myvalue1, MMyvalue2, Myvalue3" before the edit.

F2 is a mutivalued field, the corresponding input type in the Form is an input tree.

If
- I rollback the changes,
- edit the page again (but not using the form) ,
- make the same mofifications,
- save the page
this does not cause the problem (I still have "Myvalue1, MMyvalue2, Myvalue3")


Doing a null edit with the form (do a "edit with form", do not change anything, save) does not cause the problem.

The same problem arises with another similar (form,template) with a mutivalued field associated with an input type tree.


Thanks for you help.

Versions
- MW 1.27.3
- Page Forms 4.1.1
- SMW 2.5.1


The migration from MW 1.26/SMW2.4/Semantic Forms 3.6 is not a piece of cake after all.

 Salutations,
 
 Michel Bénard
 Urbaniste
----------------------------- Disclaimer ------------------------------
--- Ce message ainsi que les éventuelles pièces jointes constituent une
correspondance privée et confidentielle à l'attention exclusive du
destinataire désigné ci-dessus. Si vous n'êtes pas le destinataire du
présent message ou une personne susceptible de pouvoir le lui délivrer,
il vous est signifié que toute divulgation, distribution ou copie,
totale ou partielle, sur un quelconque support de cette transmission
est strictement interdite. Si vous avez recu ce message par erreur,
nous vous remercions d'en informer l'expéditeur par téléphone ou de lui
retourner le présent message, puis d'effacer immédiatement ce message
de votre systeme. Tout message électronique est susceptible
d'altération. Le "groupement des Mousquetaires" décline toute
responsabilité au titre de ce message s'il a été altéré, déformé ou
falsifié.---
--- This e-mail and any attachments is a confidential correspondence
intended only for use of the individual or entity named above. If you
are not the intended recipient or the agent responsible for delivering
the message to the intended recipient, you are hereby notified that any
disclosure, distribution or copying, either whole or partial, in any
medium of this communication is strictly prohibited. If you have
received this communication by mistake, please notify the sender by
phone or by replying this message, and then delete this message from
your system. E-mails are susceptible of alteration. The
"Mousquetaires' group" shall not therefore be liable for the message
if altered, changed or falsified.---
-----------------------------------------------------------------------

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Array" appearing in field values after saving a page edited with a form

mbenard
So, if I change the input type from "tree" to "default" (checkboxes) the problem does not appear.

And using the same form/template (with the input tree type) on the old wiki ( MW 1.26/SMW2.4/Semantic Forms 3.6) does not lead to the problem.


 Salutations,
 
 Michel Bénard
 Urbaniste


-----[hidden email] wrote: -----
To: [hidden email]
From: [hidden email]
Date: 19/05/2017 22:23
Subject: [Semediawiki-user] "Array" appearing in field values after saving a page edited with a form

 Hi all
(yes me again)

Here is my problem :

1) I edit page with a form, for example I edit a description text field (F1) ,
2) I save the page
3) I  see "Myvalue1, Array, Array" in another fied (F2) on the same page, which contained "Myvalue1, MMyvalue2, Myvalue3" before the edit.

F2 is a mutivalued field, the corresponding input type in the Form is an input tree.

If
- I rollback the changes,
- edit the page again (but not using the form) ,
- make the same mofifications,
- save the page
this does not cause the problem (I still have "Myvalue1, MMyvalue2, Myvalue3")


Doing a null edit with the form (do a "edit with form", do not change anything, save) does not cause the problem.

The same problem arises with another similar (form,template) with a mutivalued field associated with an input type tree.


Thanks for you help.

Versions
- MW 1.27.3
- Page Forms 4.1.1
- SMW 2.5.1


The migration from MW 1.26/SMW2.4/Semantic Forms 3.6 is not a piece of cake after all.

 Salutations,
 
 Michel Bénard
 Urbaniste
----------------------------- Disclaimer ------------------------------
--- Ce message ainsi que les éventuelles pièces jointes constituent une
correspondance privée et confidentielle à l'attention exclusive du
destinataire désigné ci-dessus. Si vous n'êtes pas le destinataire du
présent message ou une personne susceptible de pouvoir le lui délivrer,
il vous est signifié que toute divulgation, distribution ou copie,
totale ou partielle, sur un quelconque support de cette transmission
est strictement interdite. Si vous avez recu ce message par erreur,
nous vous remercions d'en informer l'expéditeur par téléphone ou de lui
retourner le présent message, puis d'effacer immédiatement ce message
de votre systeme. Tout message électronique est susceptible
d'altération. Le "groupement des Mousquetaires" décline toute
responsabilité au titre de ce message s'il a été altéré, déformé ou
falsifié.---
--- This e-mail and any attachments is a confidential correspondence
intended only for use of the individual or entity named above. If you
are not the intended recipient or the agent responsible for delivering
the message to the intended recipient, you are hereby notified that any
disclosure, distribution or copying, either whole or partial, in any
medium of this communication is strictly prohibited. If you have
received this communication by mistake, please notify the sender by
phone or by replying this message, and then delete this message from
your system. E-mails are susceptible of alteration. The
"Mousquetaires' group" shall not therefore be liable for the message
if altered, changed or falsified.---
-----------------------------------------------------------------------

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Array" appearing in field values after saving a page edited with a form

Yaron Koren-2
Hi,

That's unexpected. Could you send me the form and template definitions?

-Yaron

On May 19, 2017 5:21 PM, <[hidden email]> wrote:

So, if I change the input type from "tree" to "default" (checkboxes) the
problem does not appear.

And using the same form/template (with the input tree type) on the old wiki
( MW 1.26/SMW2.4/Semantic Forms 3.6) does not lead to the problem.


 Salutations,

 Michel Bénard
 Urbaniste


-----[hidden email] wrote: -----
To: [hidden email]
From: [hidden email]
Date: 19/05/2017 22:23
Subject: [Semediawiki-user] "Array" appearing in field values after saving
a    page edited with a form

 Hi all
(yes me again)

Here is my problem :

1) I edit page with a form, for example I edit a description text field
(F1) ,
2) I save the page
3) I  see "Myvalue1, Array, Array" in another fied (F2) on the same page,
which contained "Myvalue1, MMyvalue2, Myvalue3" before the edit.

F2 is a mutivalued field, the corresponding input type in the Form is an
input tree.

If
- I rollback the changes,
- edit the page again (but not using the form) ,
- make the same mofifications,
- save the page
this does not cause the problem (I still have "Myvalue1, MMyvalue2,
Myvalue3")


Doing a null edit with the form (do a "edit with form", do not change
anything, save) does not cause the problem.

The same problem arises with another similar (form,template) with a
mutivalued field associated with an input type tree.


Thanks for you help.

Versions
- MW 1.27.3
- Page Forms 4.1.1
- SMW 2.5.1


The migration from MW 1.26/SMW2.4/Semantic Forms 3.6 is not a piece of cake
after all.

 Salutations,

 Michel Bénard
 Urbaniste
----------------------------- Disclaimer ------------------------------
--- Ce message ainsi que les éventuelles pièces jointes constituent une
correspondance privée et confidentielle à l'attention exclusive du
destinataire désigné ci-dessus. Si vous n'êtes pas le destinataire du
présent message ou une personne susceptible de pouvoir le lui délivrer,
il vous est signifié que toute divulgation, distribution ou copie,
totale ou partielle, sur un quelconque support de cette transmission
est strictement interdite. Si vous avez recu ce message par erreur,
nous vous remercions d'en informer l'expéditeur par téléphone ou de lui
retourner le présent message, puis d'effacer immédiatement ce message
de votre systeme. Tout message électronique est susceptible
d'altération. Le "groupement des Mousquetaires" décline toute
responsabilité au titre de ce message s'il a été altéré, déformé ou
falsifié.---
--- This e-mail and any attachments is a confidential correspondence
intended only for use of the individual or entity named above. If you
are not the intended recipient or the agent responsible for delivering
the message to the intended recipient, you are hereby notified that any
disclosure, distribution or copying, either whole or partial, in any
medium of this communication is strictly prohibited. If you have
received this communication by mistake, please notify the sender by
phone or by replying this message, and then delete this message from
your system. E-mails are susceptible of alteration. The
"Mousquetaires' group" shall not therefore be liable for the message
if altered, changed or falsified.---
-----------------------------------------------------------------------




------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Array" appearing in field values after saving a page edited with a form

Yaron Koren-2
Okay, this was a real bug, and actually a pretty major bug - it affects
most uses of the "tree" input type. It's due to a change I made a few weeks
ago. I just checked in a fix; I should probably release a new version of
Page Forms pretty soon around that fix.

On Sun, May 21, 2017 at 10:01 PM, Yaron Koren <[hidden email]> wrote:

> Hi,
>
> That's unexpected. Could you send me the form and template definitions?
>
> -Yaron
>
>
> On May 19, 2017 5:21 PM, <[hidden email]> wrote:
>
> So, if I change the input type from "tree" to "default" (checkboxes) the
> problem does not appear.
>
> And using the same form/template (with the input tree type) on the old
> wiki ( MW 1.26/SMW2.4/Semantic Forms 3.6) does not lead to the problem.
>
>
>  Salutations,
>
>  Michel Bénard
>  Urbaniste
>
>
> -----[hidden email] wrote: -----
> To: [hidden email]
> From: [hidden email]
> Date: 19/05/2017 22:23
> Subject: [Semediawiki-user] "Array" appearing in field values after saving
> a    page edited with a form
>
>  Hi all
> (yes me again)
>
> Here is my problem :
>
> 1) I edit page with a form, for example I edit a description text field
> (F1) ,
> 2) I save the page
> 3) I  see "Myvalue1, Array, Array" in another fied (F2) on the same page,
> which contained "Myvalue1, MMyvalue2, Myvalue3" before the edit.
>
> F2 is a mutivalued field, the corresponding input type in the Form is an
> input tree.
>
> If
> - I rollback the changes,
> - edit the page again (but not using the form) ,
> - make the same mofifications,
> - save the page
> this does not cause the problem (I still have "Myvalue1, MMyvalue2,
> Myvalue3")
>
>
> Doing a null edit with the form (do a "edit with form", do not change
> anything, save) does not cause the problem.
>
> The same problem arises with another similar (form,template) with a
> mutivalued field associated with an input type tree.
>
>
> Thanks for you help.
>
> Versions
> - MW 1.27.3
> - Page Forms 4.1.1
> - SMW 2.5.1
>
>
> The migration from MW 1.26/SMW2.4/Semantic Forms 3.6 is not a piece of
> cake after all.
>
>  Salutations,
>
>  Michel Bénard
>  Urbaniste
> ----------------------------- Disclaimer ------------------------------
> --- Ce message ainsi que les éventuelles pièces jointes constituent une
> correspondance privée et confidentielle à l'attention exclusive du
> destinataire désigné ci-dessus. Si vous n'êtes pas le destinataire du
> présent message ou une personne susceptible de pouvoir le lui délivrer,
> il vous est signifié que toute divulgation, distribution ou copie,
> totale ou partielle, sur un quelconque support de cette transmission
> est strictement interdite. Si vous avez recu ce message par erreur,
> nous vous remercions d'en informer l'expéditeur par téléphone ou de lui
> retourner le présent message, puis d'effacer immédiatement ce message
> de votre systeme. Tout message électronique est susceptible
> d'altération. Le "groupement des Mousquetaires" décline toute
> responsabilité au titre de ce message s'il a été altéré, déformé ou
> falsifié.---
> --- This e-mail and any attachments is a confidential correspondence
> intended only for use of the individual or entity named above. If you
> are not the intended recipient or the agent responsible for delivering
> the message to the intended recipient, you are hereby notified that any
> disclosure, distribution or copying, either whole or partial, in any
> medium of this communication is strictly prohibited. If you have
> received this communication by mistake, please notify the sender by
> phone or by replying this message, and then delete this message from
> your system. E-mails are susceptible of alteration. The
> "Mousquetaires' group" shall not therefore be liable for the message
> if altered, changed or falsified.---
> -----------------------------------------------------------------------
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
>
>


--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Loading...