Discussion:
"Array" appearing in field values after saving a page edited with a form
(too old to reply)
m***@mousquetaires.com
2017-05-19 20:22:53 UTC
Permalink
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.---
-----------------------------------------------------------------------
m***@mousquetaires.com
2017-05-19 21:21:12 UTC
Permalink
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


-----***@mousquetaires.com wrote: -----
To: semediawiki-***@lists.sourceforge.net
From: ***@mousquetaires.com
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
Semediawiki-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Yaron Koren
2017-05-22 02:01:18 UTC
Permalink
Hi,

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

-Yaron

On May 19, 2017 5:21 PM, <***@mousquetaires.com> 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


-----***@mousquetaires.com wrote: -----
To: semediawiki-***@lists.sourceforge.net
From: ***@mousquetaires.com
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
Semediawiki-***@lists.sourceforge.net
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
Semediawiki-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Yaron Koren
2017-05-22 16:38:42 UTC
Permalink
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.
Post by Yaron Koren
Hi,
That's unexpected. Could you send me the form and template definitions?
-Yaron
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
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)
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
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
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
Loading...