I really can't understand what's happening with my form/template !!!

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

I really can't understand what's happening with my form/template !!!

mbenard
Dear all

As far as I can say here is what's happening :

* define a property P of type Number
* create a template/form using a field associated with property P
* create a page using the form
* display the page properties : the property P shows up ... with an
hyperlink
* display all the semantic properties of the wiki : P appears twice :!!!
*** once as a property of type Number, which is not used at all
*** once as a property of ype Page which is used once !! (on the page
created above)

If I run a query to display all pages containing the property P , none
appears !

Any ideas ? Thanks



Greetings

MB


----------------------------- 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
|

Re: I really can't understand what's happening with my form/template !!!

Yaron Koren-2
Hi,

What does your template look like?

-Yaron

On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:

> Dear all
>
> As far as I can say here is what's happening :
>
> * define a property P of type Number
> * create a template/form using a field associated with property P
> * create a page using the form
> * display the page properties : the property P shows up ... with an
> hyperlink
> * display all the semantic properties of the wiki : P appears twice :!!!
> *** once as a property of type Number, which is not used at all
> *** once as a property of ype Page which is used once !! (on the page
> created above)
>
> If I run a query to display all pages containing the property P , none
> appears !
>
> Any ideas ? Thanks
>
>
>
> Greetings
>
> MB
>
>
> ----------------------------- 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
>
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: I really can't understand what's happening with my form/template !!!

mbenard
Hi all

I've been spending many hours on that, I narrowed down the problem, but
still have no clue on how to solve it.

Here are the steps

a) create a property A of type Number
b) create a property B of type Number
c) on a sandbox page put
A : [[A::2]]]
B : [[B::2]]
d) looking at the sandbox page , you can see that the second "2" is an
hyperlink
e) looking at the semantic properties of the sandbox page, you can see
that property B is seen as of type Page, and is listed as such in
Special::Properties  with one usage, and as as Porperty of type Number
with 0 usage

so
f) drop all smw tables : setupStore.php --delete
g) rebuilt the tables : setupStore.php
h) edit/save the sandbox page : now both "2" are hyperlinks
g) run php SMW_refreshData.php -ftpv
i) edit and  save the sandbox page (ull edit) : now property A is of the
good type (number, no hyperlink), and property B is still of the wrong
type : page , the second "2" is still an hyperlink


any idea what may causes this and how to fix it ?


The actual property pages :


the good one (mywykurul//Attribut:Has_standard_data)

Cette propriété est de type [[A le type::Nombre]].
* [[Valeur possible::-1]]
* [[Valeur possible::-2]]
* [[Valeur possible::0]]
* [[Valeur possible::1]]
* [[Valeur possible::3]]


the bad one (mywikyurl/Attribut:Has_standard_interface)
Cette propriété est de type [[A le type::Nombre]].

* [[Valeur possible::-1]]
* [[Valeur possible::-2]]
* [[Valeur possible::0]]
* [[Valeur possible::1]]
* [[Valeur possible::3]]




Salutations,

Michel Bénard
Urbaniste
DOSI Groupement des Mousquetaires
Montrouge/France
Tél. +33 1 41 48 30 16



De :    Yaron Koren <[hidden email]>
A :     [hidden email]
Cc :    Semantic MediaWiki users <[hidden email]>
Date :  21/03/2017 16:41
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!
Envoyé par :    [hidden email]



Hi,

What does your template look like?

-Yaron

On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
Dear all

As far as I can say here is what's happening :

* define a property P of type Number
* create a template/form using a field associated with property P
* create a page using the form
* display the page properties : the property P shows up ... with an
hyperlink
* display all the semantic properties of the wiki : P appears twice :!!!
*** once as a property of type Number, which is not used at all
*** once as a property of ype Page which is used once !! (on the page
created above)

If I run a query to display all pages containing the property P , none
appears !

Any ideas ? Thanks



Greetings

MB


----------------------------- 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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: I really can't understand what's happening with my form/template !!!

mbenard
And if this may help :


{{#ask:[[B‎::2]]|?B‎|format=debug}}


outputs

SELECT DISTINCT
  t3.smw_id AS id,t3.smw_title AS t,t3.smw_namespace AS ns,t3.smw_iw AS
iw,t3.smw_subobject AS so,t3.smw_sortkey AS sortkey
FROM
  `smw_object_ids` AS t3
INNER JOIN
  `smw_di_wikipage` AS t0 ON t3.smw_id=t0.s_id
WHERE
  (t0.p_id='2305' AND t0.o_id='2306')
ORDER BY
  t3.smw_sortkey ASC
LIMIT
  55
OFFSET
  0


After the INNER JOIN clause you can read "smw_di_wikipage" where it should
be "smw_di_number"

...;


Salutations,

Michel Bénard
Urbaniste




De :    [hidden email]
A :     Yaron Koren <[hidden email]>
Cc :    [hidden email], Semantic MediaWiki users
<[hidden email]>
Date :  23/03/2017 12:41
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!



Hi all

I've been spending many hours on that, I narrowed down the problem, but
still have no clue on how to solve it.

Here are the steps

a) create a property A of type Number
b) create a property B of type Number
c) on a sandbox page put
A : [[A::2]]]
B : [[B::2]]
d) looking at the sandbox page , you can see that the second "2" is an
hyperlink
e) looking at the semantic properties of the sandbox page, you can see
that property B is seen as of type Page, and is listed as such in
Special::Properties  with one usage, and as as Porperty of type Number
with 0 usage

so
f) drop all smw tables : setupStore.php --delete
g) rebuilt the tables : setupStore.php
h) edit/save the sandbox page : now both "2" are hyperlinks
g) run php SMW_refreshData.php -ftpv
i) edit and  save the sandbox page (ull edit) : now property A is of the
good type (number, no hyperlink), and property B is still of the wrong
type : page , the second "2" is still an hyperlink


any idea what may causes this and how to fix it ?


The actual property pages :


the good one (mywykurul//Attribut:Has_standard_data)

Cette propriété est de type [[A le type::Nombre]].
* [[Valeur possible::-1]]
* [[Valeur possible::-2]]
* [[Valeur possible::0]]
* [[Valeur possible::1]]
* [[Valeur possible::3]]


the bad one (mywikyurl/Attribut:Has_standard_interface)
Cette propriété est de type [[A le type::Nombre]].

* [[Valeur possible::-1]]
* [[Valeur possible::-2]]
* [[Valeur possible::0]]
* [[Valeur possible::1]]
* [[Valeur possible::3]]




Salutations,

Michel Bénard
Urbaniste
DOSI Groupement des Mousquetaires
Montrouge/France
Tél. +33 1 41 48 30 16



De :    Yaron Koren <[hidden email]>
A :     [hidden email]
Cc :    Semantic MediaWiki users <[hidden email]>
Date :  21/03/2017 16:41
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!
Envoyé par :    [hidden email]



Hi,

What does your template look like?

-Yaron

On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
Dear all

As far as I can say here is what's happening :

* define a property P of type Number
* create a template/form using a field associated with property P
* create a page using the form
* display the page properties : the property P shows up ... with an
hyperlink
* display all the semantic properties of the wiki : P appears twice :!!!
*** once as a property of type Number, which is not used at all
*** once as a property of ype Page which is used once !! (on the page
created above)

If I run a query to display all pages containing the property P , none
appears !

Any ideas ? Thanks



Greetings

MB


----------------------------- 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




--
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


------------------------------------------------------------------------------
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
|

Re: I really can't understand what's happening with my form/template !!!

kghbln
In reply to this post by mbenard
Heiya,

which versions of Semantic MediaWiki and MediaWiki are you using or in
other words make sure that you are using a current version.

SMW_refreshData.php suggests that you may be using an outdated version.

Cheers Karsten


Am 23.03.2017 um 12:04 schrieb [hidden email]:

> Hi all
>
> I've been spending many hours on that, I narrowed down the problem, but
> still have no clue on how to solve it.
>
> Here are the steps
>
> a) create a property A of type Number
> b) create a property B of type Number
> c) on a sandbox page put
> A : [[A::2]]]
> B : [[B::2]]
> d) looking at the sandbox page , you can see that the second "2" is an
> hyperlink
> e) looking at the semantic properties of the sandbox page, you can see
> that property B is seen as of type Page, and is listed as such in
> Special::Properties  with one usage, and as as Porperty of type Number
> with 0 usage
>
> so
> f) drop all smw tables : setupStore.php --delete
> g) rebuilt the tables : setupStore.php
> h) edit/save the sandbox page : now both "2" are hyperlinks
> g) run php SMW_refreshData.php -ftpv
> i) edit and  save the sandbox page (ull edit) : now property A is of the
> good type (number, no hyperlink), and property B is still of the wrong
> type : page , the second "2" is still an hyperlink
>
>
> any idea what may causes this and how to fix it ?
>
>
> The actual property pages :
>
>
> the good one (mywykurul//Attribut:Has_standard_data)
>
> Cette propriété est de type [[A le type::Nombre]].
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
> the bad one (mywikyurl/Attribut:Has_standard_interface)
> Cette propriété est de type [[A le type::Nombre]].
>
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
>
>
> Salutations,
>
> Michel Bénard
> Urbaniste
> DOSI Groupement des Mousquetaires
> Montrouge/France
> Tél. +33 1 41 48 30 16
>
>
>
> De :    Yaron Koren <[hidden email]>
> A :     [hidden email]
> Cc :    Semantic MediaWiki users <[hidden email]>
> Date :  21/03/2017 16:41
> Objet : Re: [Semediawiki-user] I really can't understand what's happening
> with my form/template !!!
> Envoyé par :    [hidden email]
>
>
>
> Hi,
>
> What does your template look like?
>
> -Yaron
>
> On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
> Dear all
>
> As far as I can say here is what's happening :
>
> * define a property P of type Number
> * create a template/form using a field associated with property P
> * create a page using the form
> * display the page properties : the property P shows up ... with an
> hyperlink
> * display all the semantic properties of the wiki : P appears twice :!!!
> *** once as a property of type Number, which is not used at all
> *** once as a property of ype Page which is used once !! (on the page
> created above)
>
> If I run a query to display all pages containing the property P , none
> appears !
>
> Any ideas ? Thanks
>
>
>
> Greetings
>
> MB
>
>
> ----------------------------- 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
|

Re: I really can't understand what's happening with my form/template !!!

mbenard
At the moment I'm stuck with a Redhat 6.x which is pretty old ...

which means :

- Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
- MySql is 5.1.73
- Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and this
MW version is no more supported)
- SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same problem
occurs
-  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms

This setup was working well up to know with 100+ properties of different
types, and  1000+ pages with semantic properties.

Do you think upgrading the components may solve the issue ? If so I'll
have a hard time with the IT Team to get a virtual machine with an up to
date distro ;-)


MB




De :    "[[kgh]]" <[hidden email]>
A :     [hidden email]
Date :  23/03/2017 15:12
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!



Heiya,

which versions of Semantic MediaWiki and MediaWiki are you using or in
other words make sure that you are using a current version.

SMW_refreshData.php suggests that you may be using an outdated version.

Cheers Karsten


Am 23.03.2017 um 12:04 schrieb [hidden email]:

> Hi all
>
> I've been spending many hours on that, I narrowed down the problem, but
> still have no clue on how to solve it.
>
> Here are the steps
>
> a) create a property A of type Number
> b) create a property B of type Number
> c) on a sandbox page put
> A : [[A::2]]]
> B : [[B::2]]
> d) looking at the sandbox page , you can see that the second "2" is an
> hyperlink
> e) looking at the semantic properties of the sandbox page, you can see
> that property B is seen as of type Page, and is listed as such in
> Special::Properties  with one usage, and as as Porperty of type Number
> with 0 usage
>
> so
> f) drop all smw tables : setupStore.php --delete
> g) rebuilt the tables : setupStore.php
> h) edit/save the sandbox page : now both "2" are hyperlinks
> g) run php SMW_refreshData.php -ftpv
> i) edit and  save the sandbox page (ull edit) : now property A is of the
> good type (number, no hyperlink), and property B is still of the wrong
> type : page , the second "2" is still an hyperlink
>
>
> any idea what may causes this and how to fix it ?
>
>
> The actual property pages :
>
>
> the good one (mywykurul//Attribut:Has_standard_data)
>
> Cette propriété est de type [[A le type::Nombre]].
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
> the bad one (mywikyurl/Attribut:Has_standard_interface)
> Cette propriété est de type [[A le type::Nombre]].
>
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
>
>
> Salutations,
>
> Michel Bénard
> Urbaniste
> DOSI Groupement des Mousquetaires
> Montrouge/France
> Tél. +33 1 41 48 30 16
>
>
>
> De :    Yaron Koren <[hidden email]>
> A :     [hidden email]
> Cc :    Semantic MediaWiki users
<[hidden email]>
> Date :  21/03/2017 16:41
> Objet : Re: [Semediawiki-user] I really can't understand what's
happening

> with my form/template !!!
> Envoyé par :    [hidden email]
>
>
>
> Hi,
>
> What does your template look like?
>
> -Yaron
>
> On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
> Dear all
>
> As far as I can say here is what's happening :
>
> * define a property P of type Number
> * create a template/form using a field associated with property P
> * create a page using the form
> * display the page properties : the property P shows up ... with an
> hyperlink
> * display all the semantic properties of the wiki : P appears twice :!!!
> *** once as a property of type Number, which is not used at all
> *** once as a property of ype Page which is used once !! (on the page
> created above)
>
> If I run a query to display all pages containing the property P , none
> appears !
>
> Any ideas ? Thanks
>
>
>
> Greetings
>
> MB
>
>
> ----------------------------- 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
|

Re: I really can't understand what's happening with my form/template !!!

kghbln
There have been several issues with MediaWiki 1.26 especially when using
it in conjunction with the ConfirmEdit extension but I think there were
other issues too so I am not surprised that you ran into issues.

You could try downgrading SMW and see if there is a version working with
1.26 or downgrade to MediaWiki 1.25 which is one thing I have not done
before (scary and probably not a thing one would usually do). Using the
tarballs to install SMW is not helping either.

This is indeed a pretty muddled situation for you.


Am 23.03.2017 um 15:27 schrieb [hidden email]:

> At the moment I'm stuck with a Redhat 6.x which is pretty old ...
>
> which means :
>
> - Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
> - MySql is 5.1.73
> - Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and
> this MW version is no more supported)
> - SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
> version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same
> problem occurs
> -  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms
>
> This setup was working well up to know with 100+ properties of
> different types, and  1000+ pages with semantic properties.
>
> Do you think upgrading the components may solve the issue ? If so I'll
> have a hard time with the IT Team to get a virtual machine with an up
> to date distro ;-)
>
>
> MB
>
>
>
>
> De : "[[kgh]]" <[hidden email]>
> A : [hidden email]
> Date : 23/03/2017 15:12
> Objet : Re: [Semediawiki-user] I really can't understand what's
> happening with my form/template !!!
> ------------------------------------------------------------------------
>
>
>
> Heiya,
>
> which versions of Semantic MediaWiki and MediaWiki are you using or in
> other words make sure that you are using a current version.
>
> SMW_refreshData.php suggests that you may be using an outdated version.
>
> Cheers Karsten
>
>
> Am 23.03.2017 um 12:04 schrieb [hidden email]:
> > Hi all
> >
> > I've been spending many hours on that, I narrowed down the problem, but
> > still have no clue on how to solve it.
> >
> > Here are the steps
> >
> > a) create a property A of type Number
> > b) create a property B of type Number
> > c) on a sandbox page put
> > A : [[A::2]]]
> > B : [[B::2]]
> > d) looking at the sandbox page , you can see that the second "2" is an
> > hyperlink
> > e) looking at the semantic properties of the sandbox page, you can see
> > that property B is seen as of type Page, and is listed as such in
> > Special::Properties  with one usage, and as as Porperty of type Number
> > with 0 usage
> >
> > so
> > f) drop all smw tables : setupStore.php --delete
> > g) rebuilt the tables : setupStore.php
> > h) edit/save the sandbox page : now both "2" are hyperlinks
> > g) run php SMW_refreshData.php -ftpv
> > i) edit and  save the sandbox page (ull edit) : now property A is of the
> > good type (number, no hyperlink), and property B is still of the wrong
> > type : page , the second "2" is still an hyperlink
> >
> >
> > any idea what may causes this and how to fix it ?
> >
> >
> > The actual property pages :
> >
> >
> > the good one (mywykurul//Attribut:Has_standard_data)
> >
> > Cette propriété est de type [[A le type::Nombre]].
> > * [[Valeur possible::-1]]
> > * [[Valeur possible::-2]]
> > * [[Valeur possible::0]]
> > * [[Valeur possible::1]]
> > * [[Valeur possible::3]]
> >
> >
> > the bad one (mywikyurl/Attribut:Has_standard_interface)
> > Cette propriété est de type [[A le type::Nombre]].
> >
> > * [[Valeur possible::-1]]
> > * [[Valeur possible::-2]]
> > * [[Valeur possible::0]]
> > * [[Valeur possible::1]]
> > * [[Valeur possible::3]]
> >
> >
> >
> >
> > Salutations,
> >
> > Michel Bénard
> > Urbaniste
> > DOSI Groupement des Mousquetaires
> > Montrouge/France
> > Tél. +33 1 41 48 30 16
> >
> >
> >
> > De :    Yaron Koren <[hidden email]>
> > A :     [hidden email]
> > Cc :    Semantic MediaWiki users
> <[hidden email]>
> > Date :  21/03/2017 16:41
> > Objet : Re: [Semediawiki-user] I really can't understand what's
> happening
> > with my form/template !!!
> > Envoyé par :    [hidden email]
> >
> >
> >
> > Hi,
> >
> > What does your template look like?
> >
> > -Yaron
> >
> > On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
> > Dear all
> >
> > As far as I can say here is what's happening :
> >
> > * define a property P of type Number
> > * create a template/form using a field associated with property P
> > * create a page using the form
> > * display the page properties : the property P shows up ... with an
> > hyperlink
> > * display all the semantic properties of the wiki : P appears twice :!!!
> > *** once as a property of type Number, which is not used at all
> > *** once as a property of ype Page which is used once !! (on the page
> > created above)
> >
> > If I run a query to display all pages containing the property P , none
> > appears !
> >
> > Any ideas ? Thanks
> >
> >
> >
> > Greetings
> >
> > MB
> >
> >
> > ----------------------------- 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
|

Re: I really can't understand what's happening with my form/template !!!

mbenard
Thanks Karsten  for letting me know about the MW 1.26 problems.

In addition I could not install Semantic Result Formats using composer
with this configuration, due to php 5.3 problems. ( It worked on a machine
equipped with Redhat 7 and php 5.4 but I had to get back to the RedHat 6
machine though as theMW  ldap authentication was erratic)

I guess I  really should upgrade to the latest components and convince the
colleagues to install  an uptodate debian based machine.

I'll ask this list about the best way to migrate my data from MW 1.26/SMW
2.4/Semantic Forms 3.6 to the new setup.

Salutations,

Michel Bénard
Urbaniste




De :    "[[kgh]]" <[hidden email]>
A :     [hidden email]
Cc :    [hidden email]
Date :  23/03/2017 15:48
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!



There have been several issues with MediaWiki 1.26 especially when using
it in conjunction with the ConfirmEdit extension but I think there were
other issues too so I am not surprised that you ran into issues.

You could try downgrading SMW and see if there is a version working with
1.26 or downgrade to MediaWiki 1.25 which is one thing I have not done
before (scary and probably not a thing one would usually do). Using the
tarballs to install SMW is not helping either.

This is indeed a pretty muddled situation for you.


Am 23.03.2017 um 15:27 schrieb [hidden email]:
At the moment I'm stuck with a Redhat 6.x which is pretty old ...

which means :

- Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
- MySql is 5.1.73
- Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and this
MW version is no more supported)
- SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same problem
occurs
-  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms

This setup was working well up to know with 100+ properties of different
types, and  1000+ pages with semantic properties.

Do you think upgrading the components may solve the issue ? If so I'll
have a hard time with the IT Team to get a virtual machine with an up to
date distro ;-)


MB




De :        "[[kgh]]" <[hidden email]>
A :        [hidden email]
Date :        23/03/2017 15:12
Objet :        Re: [Semediawiki-user] I really can't understand what's
happening with my form/template !!!



Heiya,

which versions of Semantic MediaWiki and MediaWiki are you using or in
other words make sure that you are using a current version.

SMW_refreshData.php suggests that you may be using an outdated version.

Cheers Karsten


Am 23.03.2017 um 12:04 schrieb [hidden email]:

> Hi all
>
> I've been spending many hours on that, I narrowed down the problem, but
> still have no clue on how to solve it.
>
> Here are the steps
>
> a) create a property A of type Number
> b) create a property B of type Number
> c) on a sandbox page put
> A : [[A::2]]]
> B : [[B::2]]
> d) looking at the sandbox page , you can see that the second "2" is an
> hyperlink
> e) looking at the semantic properties of the sandbox page, you can see
> that property B is seen as of type Page, and is listed as such in
> Special::Properties  with one usage, and as as Porperty of type Number
> with 0 usage
>
> so
> f) drop all smw tables : setupStore.php --delete
> g) rebuilt the tables : setupStore.php
> h) edit/save the sandbox page : now both "2" are hyperlinks
> g) run php SMW_refreshData.php -ftpv
> i) edit and  save the sandbox page (ull edit) : now property A is of the
> good type (number, no hyperlink), and property B is still of the wrong
> type : page , the second "2" is still an hyperlink
>
>
> any idea what may causes this and how to fix it ?
>
>
> The actual property pages :
>
>
> the good one (mywykurul//Attribut:Has_standard_data)
>
> Cette propriété est de type [[A le type::Nombre]].
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
> the bad one (mywikyurl/Attribut:Has_standard_interface)
> Cette propriété est de type [[A le type::Nombre]].
>
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
>
>
> Salutations,
>
> Michel Bénard
> Urbaniste
> DOSI Groupement des Mousquetaires
> Montrouge/France
> Tél. +33 1 41 48 30 16
>
>
>
> De :    Yaron Koren <[hidden email]>
> A :     [hidden email]
> Cc :    Semantic MediaWiki users
<[hidden email]>
> Date :  21/03/2017 16:41
> Objet : Re: [Semediawiki-user] I really can't understand what's
happening

> with my form/template !!!
> Envoyé par :    [hidden email]
>
>
>
> Hi,
>
> What does your template look like?
>
> -Yaron
>
> On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
> Dear all
>
> As far as I can say here is what's happening :
>
> * define a property P of type Number
> * create a template/form using a field associated with property P
> * create a page using the form
> * display the page properties : the property P shows up ... with an
> hyperlink
> * display all the semantic properties of the wiki : P appears twice :!!!
> *** once as a property of type Number, which is not used at all
> *** once as a property of ype Page which is used once !! (on the page
> created above)
>
> If I run a query to display all pages containing the property P , none
> appears !
>
> Any ideas ? Thanks
>
>
>
> Greetings
>
> MB
>
>
> ----------------------------- 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
|

Re: I really can't understand what's happening with my form/template !!!

mbenard
Deat all,


I finally found out why I had duplicates properties with the same name
breaking my semantic wiki :

What was puzzling me:

1) I  had a "myproperty" property of type number
2)  Creating pages holding that property using  a semantic form  was
causing the creation of another "myproperty" of type Page, listed in
special:properties.
3) The two properties had different ids
4) Both properties listed in special:properties had a link to the same
wiki page describing the property (property:myproperty)
5) Semantic queries on the property failed to get pages using "myproperty"

As a matter of fact there was an invisible character (hexadecimal code
e2808e)  in the semantic template, which I mark as X :

[[mypropertyX::{{{formfield|}}}]]

This invisible character was the cause of the errors.



By the way I upgraded from

MW 1.26.3 (no more supported)
SMW 2.4.1
Semantic Forms 3.6
PHP 5.3.3
Redhat 6

to
MW 1.28
SMW 2.5.1
Page forms 4.1
PHP 5.6
Centos 7

Without problems regarding Semantic Mediawiki and Semantic/Page forms (I
had a lot of problems with MW though , mainly with other extensions :
PdfExport, S5slideshow, Ldap authentication, ....)

Regards

MB









De :    [hidden email]
A :     [hidden email]
Cc :    [hidden email]
Date :  23/03/2017 16:21
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!



Thanks Karsten  for letting me know about the MW 1.26 problems.

In addition I could not install Semantic Result Formats using composer
with this configuration, due to php 5.3 problems. ( It worked on a machine

equipped with Redhat 7 and php 5.4 but I had to get back to the RedHat 6
machine though as theMW  ldap authentication was erratic)

I guess I  really should upgrade to the latest components and convince the

colleagues to install  an uptodate debian based machine.

I'll ask this list about the best way to migrate my data from MW 1.26/SMW
2.4/Semantic Forms 3.6 to the new setup.

Salutations,

Michel Bénard
Urbaniste




De :    "[[kgh]]" <[hidden email]>
A :     [hidden email]
Cc :    [hidden email]
Date :  23/03/2017 15:48
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!



There have been several issues with MediaWiki 1.26 especially when using
it in conjunction with the ConfirmEdit extension but I think there were
other issues too so I am not surprised that you ran into issues.

You could try downgrading SMW and see if there is a version working with
1.26 or downgrade to MediaWiki 1.25 which is one thing I have not done
before (scary and probably not a thing one would usually do). Using the
tarballs to install SMW is not helping either.

This is indeed a pretty muddled situation for you.


Am 23.03.2017 um 15:27 schrieb [hidden email]:
At the moment I'm stuck with a Redhat 6.x which is pretty old ...

which means :

- Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
- MySql is 5.1.73
- Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and this
MW version is no more supported)
- SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same problem

occurs
-  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms

This setup was working well up to know with 100+ properties of different
types, and  1000+ pages with semantic properties.

Do you think upgrading the components may solve the issue ? If so I'll
have a hard time with the IT Team to get a virtual machine with an up to
date distro ;-)


MB




De :        "[[kgh]]" <[hidden email]>
A :        [hidden email]
Date :        23/03/2017 15:12
Objet :        Re: [Semediawiki-user] I really can't understand what's
happening with my form/template !!!



Heiya,

which versions of Semantic MediaWiki and MediaWiki are you using or in
other words make sure that you are using a current version.

SMW_refreshData.php suggests that you may be using an outdated version.

Cheers Karsten


Am 23.03.2017 um 12:04 schrieb [hidden email]:

> Hi all
>
> I've been spending many hours on that, I narrowed down the problem, but
> still have no clue on how to solve it.
>
> Here are the steps
>
> a) create a property A of type Number
> b) create a property B of type Number
> c) on a sandbox page put
> A : [[A::2]]]
> B : [[B::2]]
> d) looking at the sandbox page , you can see that the second "2" is an
> hyperlink
> e) looking at the semantic properties of the sandbox page, you can see
> that property B is seen as of type Page, and is listed as such in
> Special::Properties  with one usage, and as as Porperty of type Number
> with 0 usage
>
> so
> f) drop all smw tables : setupStore.php --delete
> g) rebuilt the tables : setupStore.php
> h) edit/save the sandbox page : now both "2" are hyperlinks
> g) run php SMW_refreshData.php -ftpv
> i) edit and  save the sandbox page (ull edit) : now property A is of the
> good type (number, no hyperlink), and property B is still of the wrong
> type : page , the second "2" is still an hyperlink
>
>
> any idea what may causes this and how to fix it ?
>
>
> The actual property pages :
>
>
> the good one (mywykurul//Attribut:Has_standard_data)
>
> Cette propriété est de type [[A le type::Nombre]].
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
> the bad one (mywikyurl/Attribut:Has_standard_interface)
> Cette propriété est de type [[A le type::Nombre]].
>
> * [[Valeur possible::-1]]
> * [[Valeur possible::-2]]
> * [[Valeur possible::0]]
> * [[Valeur possible::1]]
> * [[Valeur possible::3]]
>
>
>
>
> Salutations,
>
> Michel Bénard
> Urbaniste
> DOSI Groupement des Mousquetaires
> Montrouge/France
> Tél. +33 1 41 48 30 16
>
>
>
> De :    Yaron Koren <[hidden email]>
> A :     [hidden email]
> Cc :    Semantic MediaWiki users
<[hidden email]>
> Date :  21/03/2017 16:41
> Objet : Re: [Semediawiki-user] I really can't understand what's
happening

> with my form/template !!!
> Envoyé par :    [hidden email]
>
>
>
> Hi,
>
> What does your template look like?
>
> -Yaron
>
> On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
> Dear all
>
> As far as I can say here is what's happening :
>
> * define a property P of type Number
> * create a template/form using a field associated with property P
> * create a page using the form
> * display the page properties : the property P shows up ... with an
> hyperlink
> * display all the semantic properties of the wiki : P appears twice :!!!
> *** once as a property of type Number, which is not used at all
> *** once as a property of ype Page which is used once !! (on the page
> created above)
>
> If I run a query to display all pages containing the property P , none
> appears !
>
> Any ideas ? Thanks
>
>
>
> Greetings
>
> MB
>
>
> ----------------------------- 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

------------------------------------------------------------------------------
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
|

Re: I really can't understand what's happening with my form/template !!!

kghbln
Heiya,

indeed, something is utterly painful to pick. Just this week I ran into
a similar issue with a soft hyphen. [0] Basically you have two different
names which look alike. You must have been in tears. :|

Thanks for following up and making us aware that things like this may
indeed happen on copy and paste of seemingly harmless strings.

Cheers Karsten


[0] https://en.wikipedia.org/wiki/Soft_hyphen

Am 25.04.2017 um 17:42 schrieb [hidden email]:

> Deat all,
>
>
> I finally found out why I had duplicates properties with the same name
> breaking my semantic wiki :
>
> What was puzzling me:
>
> 1) I  had a "myproperty" property of type number
> 2)  Creating pages holding that property using  a semantic form  was
> causing the creation of another "myproperty" of type Page, listed in
> special:properties.
> 3) The two properties had different ids
> 4) Both properties listed in special:properties had a link to the same
> wiki page describing the property (property:myproperty)
> 5) Semantic queries on the property failed to get pages using
> "myproperty"
>
> As a matter of fact there was an invisible character (hexadecimal code
>   e2808e)  in the semantic template, which I mark as X :
>
> [[mypropertyX::{{{formfield|}}}]]
>
> This invisible character was the cause of the errors.
>
>
>
> By the way I upgraded from
>
> MW 1.26.3 (no more supported)
> SMW 2.4.1
> Semantic Forms 3.6
> PHP 5.3.3
> Redhat 6
>
> to
> MW 1.28
> SMW 2.5.1
> Page forms 4.1
> PHP 5.6
> Centos 7
>
> Without problems regarding Semantic Mediawiki and Semantic/Page forms
> (I had a lot of problems with MW though , mainly with other extensions
> : PdfExport, S5slideshow, Ldap authentication, ....)
>
> Regards
>
> MB
>
>
>
>
>
>
>
>
>
> De : [hidden email]
> A : [hidden email]
> Cc : [hidden email]
> Date : 23/03/2017 16:21
> Objet : Re: [Semediawiki-user] I really can't understand what's
> happening with my form/template !!!
> ------------------------------------------------------------------------
>
>
>
> Thanks Karsten  for letting me know about the MW 1.26 problems.
>
> In addition I could not install Semantic Result Formats using composer
> with this configuration, due to php 5.3 problems. ( It worked on a
> machine
> equipped with Redhat 7 and php 5.4 but I had to get back to the RedHat 6
> machine though as theMW  ldap authentication was erratic)
>
> I guess I  really should upgrade to the latest components and convince
> the
> colleagues to install  an uptodate debian based machine.
>
> I'll ask this list about the best way to migrate my data from MW 1.26/SMW
> 2.4/Semantic Forms 3.6 to the new setup.
>
> Salutations,
>
> Michel Bénard
> Urbaniste
>
>
>
>
> De :    "[[kgh]]" <[hidden email]>
> A :     [hidden email]
> Cc :    [hidden email]
> Date :  23/03/2017 15:48
> Objet : Re: [Semediawiki-user] I really can't understand what's happening
> with my form/template !!!
>
>
>
> There have been several issues with MediaWiki 1.26 especially when using
> it in conjunction with the ConfirmEdit extension but I think there were
> other issues too so I am not surprised that you ran into issues.
>
> You could try downgrading SMW and see if there is a version working with
> 1.26 or downgrade to MediaWiki 1.25 which is one thing I have not done
> before (scary and probably not a thing one would usually do). Using the
> tarballs to install SMW is not helping either.
>
> This is indeed a pretty muddled situation for you.
>
>
> Am 23.03.2017 um 15:27 schrieb [hidden email]:
> At the moment I'm stuck with a Redhat 6.x which is pretty old ...
>
> which means :
>
> - Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
> - MySql is 5.1.73
> - Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and this
> MW version is no more supported)
> - SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
> version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same
> problem
> occurs
> -  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms
>
> This setup was working well up to know with 100+ properties of different
> types, and  1000+ pages with semantic properties.
>
> Do you think upgrading the components may solve the issue ? If so I'll
> have a hard time with the IT Team to get a virtual machine with an up to
> date distro ;-)
>
>
> MB
>
>
>
>
> De :        "[[kgh]]" <[hidden email]>
> A :        [hidden email]
> Date :        23/03/2017 15:12
> Objet :        Re: [Semediawiki-user] I really can't understand what's
> happening with my form/template !!!
>
>
>
> Heiya,
>
> which versions of Semantic MediaWiki and MediaWiki are you using or in
> other words make sure that you are using a current version.
>
> SMW_refreshData.php suggests that you may be using an outdated version.
>
> Cheers Karsten
>
>
> Am 23.03.2017 um 12:04 schrieb [hidden email]:
> > Hi all
> >
> > I've been spending many hours on that, I narrowed down the problem, but
> > still have no clue on how to solve it.
> >
> > Here are the steps
> >
> > a) create a property A of type Number
> > b) create a property B of type Number
> > c) on a sandbox page put
> > A : [[A::2]]]
> > B : [[B::2]]
> > d) looking at the sandbox page , you can see that the second "2" is an
> > hyperlink
> > e) looking at the semantic properties of the sandbox page, you can see
> > that property B is seen as of type Page, and is listed as such in
> > Special::Properties  with one usage, and as as Porperty of type Number
> > with 0 usage
> >
> > so
> > f) drop all smw tables : setupStore.php --delete
> > g) rebuilt the tables : setupStore.php
> > h) edit/save the sandbox page : now both "2" are hyperlinks
> > g) run php SMW_refreshData.php -ftpv
> > i) edit and  save the sandbox page (ull edit) : now property A is of the
> > good type (number, no hyperlink), and property B is still of the wrong
> > type : page , the second "2" is still an hyperlink
> >
> >
> > any idea what may causes this and how to fix it ?
> >
> >
> > The actual property pages :
> >
> >
> > the good one (mywykurul//Attribut:Has_standard_data)
> >
> > Cette propriété est de type [[A le type::Nombre]].
> > * [[Valeur possible::-1]]
> > * [[Valeur possible::-2]]
> > * [[Valeur possible::0]]
> > * [[Valeur possible::1]]
> > * [[Valeur possible::3]]
> >
> >
> > the bad one (mywikyurl/Attribut:Has_standard_interface)
> > Cette propriété est de type [[A le type::Nombre]].
> >
> > * [[Valeur possible::-1]]
> > * [[Valeur possible::-2]]
> > * [[Valeur possible::0]]
> > * [[Valeur possible::1]]
> > * [[Valeur possible::3]]
> >
> >
> >
> >
> > Salutations,
> >
> > Michel Bénard
> > Urbaniste
> > DOSI Groupement des Mousquetaires
> > Montrouge/France
> > Tél. +33 1 41 48 30 16
> >
> >
> >
> > De :    Yaron Koren <[hidden email]>
> > A :     [hidden email]
> > Cc :    Semantic MediaWiki users
> <[hidden email]>
> > Date :  21/03/2017 16:41
> > Objet : Re: [Semediawiki-user] I really can't understand what's
> happening
> > with my form/template !!!
> > Envoyé par :    [hidden email]
> >
> >
> >
> > Hi,
> >
> > What does your template look like?
> >
> > -Yaron
> >
> > On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
> > Dear all
> >
> > As far as I can say here is what's happening :
> >
> > * define a property P of type Number
> > * create a template/form using a field associated with property P
> > * create a page using the form
> > * display the page properties : the property P shows up ... with an
> > hyperlink
> > * display all the semantic properties of the wiki : P appears twice :!!!
> > *** once as a property of type Number, which is not used at all
> > *** once as a property of ype Page which is used once !! (on the page
> > created above)
> >
> > If I run a query to display all pages containing the property P , none
> > appears !
> >
> > Any ideas ? Thanks
> >
> >
> >
> > Greetings
> >
> > MB
> >
> >
> > ----------------------------- 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
>

------------------------------------------------------------------------------
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
|

Re: I really can't understand what's happening with my form/template !!!

mbenard
In reply to this post by mbenard
Hi

> I not quite understand how the e2808e (or better &lrm; [0]) ended up
as part of your annotation

I wish I knew  :-)

> it would help us if you could re-create your example on ....
Here you are

https://sandbox.semantic-mediawiki.org/wiki/Property_with_invisible_character


Salutations,

Michel Bénard
Urbaniste
DOSI Groupement des Mousquetaires
Montrouge/France
Tél. +33 1 41 48 30 16



De :    James HK <[hidden email]>
A :     [hidden email]
Date :  26/04/2017 00:35
Objet : Re: [Semediawiki-user] I really can't understand what's happening
with my form/template !!!



Hi,

> As a matter of fact there was an invisible character (hexadecimal code
> e2808e)  in the semantic template, which I mark as X :
>
> [[mypropertyX::{{{formfield|}}}]]

I not quite understand how the e2808e (or better &lrm; [0]) ended up
as part of your annotation but it would help us if you could re-create
your example on [1] so that we might come up with a solution that
avoids similar situation in future as there are not really intuitive
or easily detectable.

[0] http://www.fileformat.info/info/unicode/char/200e/index.htm
[1]
https://secure-web.cisco.com/1kgJ2isoIvFjYQMOoyH6nUectsAU4UQohIfSdRyRkqmvRnrjkzlKMicOW_BR8CKVoLDcdapWlXJGer_QSRGURkiep79ObjyK8gT1Tv-aa2Sdygkccl7LydWhUjCIaeV4UEr6KbWg0rUuRsX8kdLqNgnJ3B1pAr5U2toFd5hfHjoKVq5TYXvTnLKjIR7rmJ6wfbFUgr66kE7xntVGiz9wy6-ulr0yT1lG4-MENhv3onKgR4BZhK-UsEu5Z3asKCv7N5EnXxNA3_SHUCXlRHJELGQ/https%3A%2F%2Fsandbox.semantic-mediawiki.org%2F


Cheers

On 4/26/17, [hidden email] <[hidden email]> wrote:

> Deat all,
>
>
> I finally found out why I had duplicates properties with the same name
> breaking my semantic wiki :
>
> What was puzzling me:
>
> 1) I  had a "myproperty" property of type number
> 2)  Creating pages holding that property using  a semantic form  was
> causing the creation of another "myproperty" of type Page, listed in
> special:properties.
> 3) The two properties had different ids
> 4) Both properties listed in special:properties had a link to the same
> wiki page describing the property (property:myproperty)
> 5) Semantic queries on the property failed to get pages using
"myproperty"

>
> As a matter of fact there was an invisible character (hexadecimal code
> e2808e)  in the semantic template, which I mark as X :
>
> [[mypropertyX::{{{formfield|}}}]]
>
> This invisible character was the cause of the errors.
>
>
>
> By the way I upgraded from
>
> MW 1.26.3 (no more supported)
> SMW 2.4.1
> Semantic Forms 3.6
> PHP 5.3.3
> Redhat 6
>
> to
> MW 1.28
> SMW 2.5.1
> Page forms 4.1
> PHP 5.6
> Centos 7
>
> Without problems regarding Semantic Mediawiki and Semantic/Page forms (I
> had a lot of problems with MW though , mainly with other extensions :
> PdfExport, S5slideshow, Ldap authentication, ....)
>
> Regards
>
> MB
>
>
>
>
>
>
>
>
>
> De :    [hidden email]
> A :     [hidden email]
> Cc :    [hidden email]
> Date :  23/03/2017 16:21
> Objet : Re: [Semediawiki-user] I really can't understand what's
happening
> with my form/template !!!
>
>
>
> Thanks Karsten  for letting me know about the MW 1.26 problems.
>
> In addition I could not install Semantic Result Formats using composer
> with this configuration, due to php 5.3 problems. ( It worked on a
machine
>
> equipped with Redhat 7 and php 5.4 but I had to get back to the RedHat 6
> machine though as theMW  ldap authentication was erratic)
>
> I guess I  really should upgrade to the latest components and convince
the
>
> colleagues to install  an uptodate debian based machine.
>
> I'll ask this list about the best way to migrate my data from MW
1.26/SMW

> 2.4/Semantic Forms 3.6 to the new setup.
>
> Salutations,
>
> Michel Bénard
> Urbaniste
>
>
>
>
> De :    "[[kgh]]" <[hidden email]>
> A :     [hidden email]
> Cc :    [hidden email]
> Date :  23/03/2017 15:48
> Objet : Re: [Semediawiki-user] I really can't understand what's
happening

> with my form/template !!!
>
>
>
> There have been several issues with MediaWiki 1.26 especially when using
> it in conjunction with the ConfirmEdit extension but I think there were
> other issues too so I am not surprised that you ran into issues.
>
> You could try downgrading SMW and see if there is a version working with
> 1.26 or downgrade to MediaWiki 1.25 which is one thing I have not done
> before (scary and probably not a thing one would usually do). Using the
> tarballs to install SMW is not helping either.
>
> This is indeed a pretty muddled situation for you.
>
>
> Am 23.03.2017 um 15:27 schrieb [hidden email]:
> At the moment I'm stuck with a Redhat 6.x which is pretty old ...
>
> which means :
>
> - Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
> - MySql is 5.1.73
> - Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and
this
> MW version is no more supported)
> - SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
> version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same
problem

>
> occurs
> -  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms
>
> This setup was working well up to know with 100+ properties of different
> types, and  1000+ pages with semantic properties.
>
> Do you think upgrading the components may solve the issue ? If so I'll
> have a hard time with the IT Team to get a virtual machine with an up to
> date distro ;-)
>
>
> MB
>
>
>
>
> De :        "[[kgh]]" <[hidden email]>
> A :        [hidden email]
> Date :        23/03/2017 15:12
> Objet :        Re: [Semediawiki-user] I really can't understand what's
> happening with my form/template !!!
>
>
>
> Heiya,
>
> which versions of Semantic MediaWiki and MediaWiki are you using or in
> other words make sure that you are using a current version.
>
> SMW_refreshData.php suggests that you may be using an outdated version.
>
> Cheers Karsten
>
>
> Am 23.03.2017 um 12:04 schrieb [hidden email]:
>> Hi all
>>
>> I've been spending many hours on that, I narrowed down the problem, but
>> still have no clue on how to solve it.
>>
>> Here are the steps
>>
>> a) create a property A of type Number
>> b) create a property B of type Number
>> c) on a sandbox page put
>> A : [[A::2]]]
>> B : [[B::2]]
>> d) looking at the sandbox page , you can see that the second "2" is an
>> hyperlink
>> e) looking at the semantic properties of the sandbox page, you can see
>> that property B is seen as of type Page, and is listed as such in
>> Special::Properties  with one usage, and as as Porperty of type Number
>> with 0 usage
>>
>> so
>> f) drop all smw tables : setupStore.php --delete
>> g) rebuilt the tables : setupStore.php
>> h) edit/save the sandbox page : now both "2" are hyperlinks
>> g) run php SMW_refreshData.php -ftpv
>> i) edit and  save the sandbox page (ull edit) : now property A is of
the

>> good type (number, no hyperlink), and property B is still of the wrong
>> type : page , the second "2" is still an hyperlink
>>
>>
>> any idea what may causes this and how to fix it ?
>>
>>
>> The actual property pages :
>>
>>
>> the good one (mywykurul//Attribut:Has_standard_data)
>>
>> Cette propriété est de type [[A le type::Nombre]].
>> * [[Valeur possible::-1]]
>> * [[Valeur possible::-2]]
>> * [[Valeur possible::0]]
>> * [[Valeur possible::1]]
>> * [[Valeur possible::3]]
>>
>>
>> the bad one (mywikyurl/Attribut:Has_standard_interface)
>> Cette propriété est de type [[A le type::Nombre]].
>>
>> * [[Valeur possible::-1]]
>> * [[Valeur possible::-2]]
>> * [[Valeur possible::0]]
>> * [[Valeur possible::1]]
>> * [[Valeur possible::3]]
>>
>>
>>
>>
>> Salutations,
>>
>> Michel Bénard
>> Urbaniste
>> DOSI Groupement des Mousquetaires
>> Montrouge/France
>> Tél. +33 1 41 48 30 16
>>
>>
>>
>> De :    Yaron Koren <[hidden email]>
>> A :     [hidden email]
>> Cc :    Semantic MediaWiki users
> <[hidden email]>
>> Date :  21/03/2017 16:41
>> Objet : Re: [Semediawiki-user] I really can't understand what's
> happening
>> with my form/template !!!
>> Envoyé par :    [hidden email]
>>
>>
>>
>> Hi,
>>
>> What does your template look like?
>>
>> -Yaron
>>
>> On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
>> Dear all
>>
>> As far as I can say here is what's happening :
>>
>> * define a property P of type Number
>> * create a template/form using a field associated with property P
>> * create a page using the form
>> * display the page properties : the property P shows up ... with an
>> hyperlink
>> * display all the semantic properties of the wiki : P appears twice
:!!!

>> *** once as a property of type Number, which is not used at all
>> *** once as a property of ype Page which is used once !! (on the page
>> created above)
>>
>> If I run a query to display all pages containing the property P , none
>> appears !
>>
>> Any ideas ? Thanks
>>
>>
>>
>> Greetings
>>
>> MB
>>
>>
>> ----------------------------- 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
>
>
------------------------------------------------------------------------------
> 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
|

Re: I really can't understand what's happening with my form/template !!!

James HK
Hi,

>> it would help us if you could re-create your example on ....
> Here you are
>
> https://sandbox.semantic-mediawiki.org/wiki/Property_with_invisible_character

The examples were indeed very useful and highlighted the issue
together with its symptoms. It has now been addressed and fixed by [0]
and your cited examples should work now with or without "invisible"
characters.

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2435

Cheers

On 4/26/17, [hidden email] <[hidden email]> wrote:

> Hi
>
>> I not quite understand how the e2808e (or better &lrm; [0]) ended up
> as part of your annotation
>
> I wish I knew  :-)
>
>> it would help us if you could re-create your example on ....
> Here you are
>
> https://sandbox.semantic-mediawiki.org/wiki/Property_with_invisible_character
>
>
> Salutations,
>
> Michel Bénard
> Urbaniste
> DOSI Groupement des Mousquetaires
> Montrouge/France
> Tél. +33 1 41 48 30 16
>
>
>
> De :    James HK <[hidden email]>
> A :     [hidden email]
> Date :  26/04/2017 00:35
> Objet : Re: [Semediawiki-user] I really can't understand what's happening
> with my form/template !!!
>
>
>
> Hi,
>
>> As a matter of fact there was an invisible character (hexadecimal code
>> e2808e)  in the semantic template, which I mark as X :
>>
>> [[mypropertyX::{{{formfield|}}}]]
>
> I not quite understand how the e2808e (or better &lrm; [0]) ended up
> as part of your annotation but it would help us if you could re-create
> your example on [1] so that we might come up with a solution that
> avoids similar situation in future as there are not really intuitive
> or easily detectable.
>
> [0] http://www.fileformat.info/info/unicode/char/200e/index.htm
> [1]
> https://secure-web.cisco.com/1kgJ2isoIvFjYQMOoyH6nUectsAU4UQohIfSdRyRkqmvRnrjkzlKMicOW_BR8CKVoLDcdapWlXJGer_QSRGURkiep79ObjyK8gT1Tv-aa2Sdygkccl7LydWhUjCIaeV4UEr6KbWg0rUuRsX8kdLqNgnJ3B1pAr5U2toFd5hfHjoKVq5TYXvTnLKjIR7rmJ6wfbFUgr66kE7xntVGiz9wy6-ulr0yT1lG4-MENhv3onKgR4BZhK-UsEu5Z3asKCv7N5EnXxNA3_SHUCXlRHJELGQ/https%3A%2F%2Fsandbox.semantic-mediawiki.org%2F
>
>
> Cheers
>
> On 4/26/17, [hidden email] <[hidden email]> wrote:
>> Deat all,
>>
>>
>> I finally found out why I had duplicates properties with the same name
>> breaking my semantic wiki :
>>
>> What was puzzling me:
>>
>> 1) I  had a "myproperty" property of type number
>> 2)  Creating pages holding that property using  a semantic form  was
>> causing the creation of another "myproperty" of type Page, listed in
>> special:properties.
>> 3) The two properties had different ids
>> 4) Both properties listed in special:properties had a link to the same
>> wiki page describing the property (property:myproperty)
>> 5) Semantic queries on the property failed to get pages using
> "myproperty"
>>
>> As a matter of fact there was an invisible character (hexadecimal code
>> e2808e)  in the semantic template, which I mark as X :
>>
>> [[mypropertyX::{{{formfield|}}}]]
>>
>> This invisible character was the cause of the errors.
>>
>>
>>
>> By the way I upgraded from
>>
>> MW 1.26.3 (no more supported)
>> SMW 2.4.1
>> Semantic Forms 3.6
>> PHP 5.3.3
>> Redhat 6
>>
>> to
>> MW 1.28
>> SMW 2.5.1
>> Page forms 4.1
>> PHP 5.6
>> Centos 7
>>
>> Without problems regarding Semantic Mediawiki and Semantic/Page forms (I
>> had a lot of problems with MW though , mainly with other extensions :
>> PdfExport, S5slideshow, Ldap authentication, ....)
>>
>> Regards
>>
>> MB
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> De :    [hidden email]
>> A :     [hidden email]
>> Cc :    [hidden email]
>> Date :  23/03/2017 16:21
>> Objet : Re: [Semediawiki-user] I really can't understand what's
> happening
>> with my form/template !!!
>>
>>
>>
>> Thanks Karsten  for letting me know about the MW 1.26 problems.
>>
>> In addition I could not install Semantic Result Formats using composer
>> with this configuration, due to php 5.3 problems. ( It worked on a
> machine
>>
>> equipped with Redhat 7 and php 5.4 but I had to get back to the RedHat 6
>> machine though as theMW  ldap authentication was erratic)
>>
>> I guess I  really should upgrade to the latest components and convince
> the
>>
>> colleagues to install  an uptodate debian based machine.
>>
>> I'll ask this list about the best way to migrate my data from MW
> 1.26/SMW
>> 2.4/Semantic Forms 3.6 to the new setup.
>>
>> Salutations,
>>
>> Michel Bénard
>> Urbaniste
>>
>>
>>
>>
>> De :    "[[kgh]]" <[hidden email]>
>> A :     [hidden email]
>> Cc :    [hidden email]
>> Date :  23/03/2017 15:48
>> Objet : Re: [Semediawiki-user] I really can't understand what's
> happening
>> with my form/template !!!
>>
>>
>>
>> There have been several issues with MediaWiki 1.26 especially when using
>> it in conjunction with the ConfirmEdit extension but I think there were
>> other issues too so I am not surprised that you ran into issues.
>>
>> You could try downgrading SMW and see if there is a version working with
>> 1.26 or downgrade to MediaWiki 1.25 which is one thing I have not done
>> before (scary and probably not a thing one would usually do). Using the
>> tarballs to install SMW is not helping either.
>>
>> This is indeed a pretty muddled situation for you.
>>
>>
>> Am 23.03.2017 um 15:27 schrieb [hidden email]:
>> At the moment I'm stuck with a Redhat 6.x which is pretty old ...
>>
>> which means :
>>
>> - Php version is 5.3.3 ( I'm stuck with tis too, which is pretty old)
>> - MySql is 5.1.73
>> - Mediawiki is 1.26.3  (I cannot upgrade due to the php version, and
> this
>> MW version is no more supported)
>> - SMW was 2.3.1 when I ran the tests. I upgraded to the most recent
>> version of SMW compatible with php 5.3.3 which is SMW 2.4.1 . Same
> problem
>>
>> occurs
>> -  I'm still with Semantic Forms (3.6) as I cannot upgrade to Page Forms
>>
>> This setup was working well up to know with 100+ properties of different
>> types, and  1000+ pages with semantic properties.
>>
>> Do you think upgrading the components may solve the issue ? If so I'll
>> have a hard time with the IT Team to get a virtual machine with an up to
>> date distro ;-)
>>
>>
>> MB
>>
>>
>>
>>
>> De :        "[[kgh]]" <[hidden email]>
>> A :        [hidden email]
>> Date :        23/03/2017 15:12
>> Objet :        Re: [Semediawiki-user] I really can't understand what's
>> happening with my form/template !!!
>>
>>
>>
>> Heiya,
>>
>> which versions of Semantic MediaWiki and MediaWiki are you using or in
>> other words make sure that you are using a current version.
>>
>> SMW_refreshData.php suggests that you may be using an outdated version.
>>
>> Cheers Karsten
>>
>>
>> Am 23.03.2017 um 12:04 schrieb [hidden email]:
>>> Hi all
>>>
>>> I've been spending many hours on that, I narrowed down the problem, but
>>> still have no clue on how to solve it.
>>>
>>> Here are the steps
>>>
>>> a) create a property A of type Number
>>> b) create a property B of type Number
>>> c) on a sandbox page put
>>> A : [[A::2]]]
>>> B : [[B::2]]
>>> d) looking at the sandbox page , you can see that the second "2" is an
>>> hyperlink
>>> e) looking at the semantic properties of the sandbox page, you can see
>>> that property B is seen as of type Page, and is listed as such in
>>> Special::Properties  with one usage, and as as Porperty of type Number
>>> with 0 usage
>>>
>>> so
>>> f) drop all smw tables : setupStore.php --delete
>>> g) rebuilt the tables : setupStore.php
>>> h) edit/save the sandbox page : now both "2" are hyperlinks
>>> g) run php SMW_refreshData.php -ftpv
>>> i) edit and  save the sandbox page (ull edit) : now property A is of
> the
>>> good type (number, no hyperlink), and property B is still of the wrong
>>> type : page , the second "2" is still an hyperlink
>>>
>>>
>>> any idea what may causes this and how to fix it ?
>>>
>>>
>>> The actual property pages :
>>>
>>>
>>> the good one (mywykurul//Attribut:Has_standard_data)
>>>
>>> Cette propriété est de type [[A le type::Nombre]].
>>> * [[Valeur possible::-1]]
>>> * [[Valeur possible::-2]]
>>> * [[Valeur possible::0]]
>>> * [[Valeur possible::1]]
>>> * [[Valeur possible::3]]
>>>
>>>
>>> the bad one (mywikyurl/Attribut:Has_standard_interface)
>>> Cette propriété est de type [[A le type::Nombre]].
>>>
>>> * [[Valeur possible::-1]]
>>> * [[Valeur possible::-2]]
>>> * [[Valeur possible::0]]
>>> * [[Valeur possible::1]]
>>> * [[Valeur possible::3]]
>>>
>>>
>>>
>>>
>>> Salutations,
>>>
>>> Michel Bénard
>>> Urbaniste
>>> DOSI Groupement des Mousquetaires
>>> Montrouge/France
>>> Tél. +33 1 41 48 30 16
>>>
>>>
>>>
>>> De :    Yaron Koren <[hidden email]>
>>> A :     [hidden email]
>>> Cc :    Semantic MediaWiki users
>> <[hidden email]>
>>> Date :  21/03/2017 16:41
>>> Objet : Re: [Semediawiki-user] I really can't understand what's
>> happening
>>> with my form/template !!!
>>> Envoyé par :    [hidden email]
>>>
>>>
>>>
>>> Hi,
>>>
>>> What does your template look like?
>>>
>>> -Yaron
>>>
>>> On Tue, Mar 21, 2017 at 10:55 AM, <[hidden email]> wrote:
>>> Dear all
>>>
>>> As far as I can say here is what's happening :
>>>
>>> * define a property P of type Number
>>> * create a template/form using a field associated with property P
>>> * create a page using the form
>>> * display the page properties : the property P shows up ... with an
>>> hyperlink
>>> * display all the semantic properties of the wiki : P appears twice
> :!!!
>>> *** once as a property of type Number, which is not used at all
>>> *** once as a property of ype Page which is used once !! (on the page
>>> created above)
>>>
>>> If I run a query to display all pages containing the property P , none
>>> appears !
>>>
>>> Any ideas ? Thanks
>>>
>>>
>>>
>>> Greetings
>>>
>>> MB
>>>
>>>
>>> ----------------------------- 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
>>
>>
> ------------------------------------------------------------------------------
>> 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