Quantcast

Pointing red links to a form - jobs not being created

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

Pointing red links to a form - jobs not being created

Neill Mitchell
Hi.

I found another problem with the pointing red links to a form
functionality.
I have a property with: [[Creates pages with form::Event Form]] set.

The form has a field: !erfasst am:
|{{{field|erfasst am|property=erfasst am|default=now}}}

When a new property value is created the form is not being called. If I
look at the property page, I can see the new value and it is a redlink.
When I do a showJobs it says the queue is empty. I ran runJobs.php just
in case, but the form is still not called. If I click the red link
manually then the form is finally called.

This used to work. Not having the job run automatically is a major
problem :(

This is on MW 1.17.2 and SF 2.4

Is this a bug?

Cheers
Neill.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pointing red links to a form - jobs not being created

badon
I'm using MW 1.18 and SF 2.4, and I haven't experienced this problem yet. I push things pretty hard in testing, and I use the SF's automatic red linked page creation feature heavily. I suspect that if it is a bug, it may be specific to your particular software version combination. If it's not a bug, then I suspect you have a correctable data sync issue.

This page:

http://semantic-mediawiki.org/wiki/Help:Troubleshooting

and then this page:

http://semantic-mediawiki.org/wiki/Help:Repairing_SMW's_data

might be helpful in at least ruling out the possibility that it's a data sync issue. Normally, data sync problems are solved by editing the page that is the source of the data that needs to be sync'd. If you're only clicking on the red link, and nothing else, then that makes it less likely you're experiencing a sync problem (as far as I know).

Note that some sync issues do not show up in MW jobs. Off the top of my head, one instance where that problem occurs is when you are populating properties with queries, and the results of the query have changed, but not the page with the property. If I understand correctly how SMW handles this, there is no way for SMW to find out that a page's properties have been change if there have been no edits to the page.

One way I have found to get around that problem on many pages at once is to put the property definition in a template. Then, you only need to make some insignificant change to the template to force an update throughout all the pages in your wiki that use that property. I suppose that could be automated, but I haven't done that yet. I'm currently working on finding a solution in my data design that eliminates the need for dynamically assigned properties where this problem occurs.

If you run:

php SMW_refreshData.php -v

and it solves your problem, that would be a clue that you need to look for the source of the problem in a queried property assignment.

I'm hoping that a way will be found to avoid this kind of issue in SMW, but I'm not familiar enough with it to say whether it's even possible or not.

Let me know if any of this helps you solve your issue.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pointing red links to a form - jobs not being created

badon
Good news - If I'm reading this correctly, it looks like a solution to the SMW sync issues has been proposed:

http://semantic-mediawiki.org/wiki/GSoC_2012#Query_management_and_smart_updates
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pointing red links to a form - jobs not being created

Neill Mitchell
Hi.

Thanks for your reply.

No immediate good news as my site is currently not doing it ;) The first
thing I tried was a SMW_refreshData, but no joy.

I have this working on another site running older components - SMW
1.5.6, MW 1.16.5 and SF 2.2.1, so I suspect it is a bug introduced in a
later version.

Cheers
Neill.

On 21/02/12 22:25, badon wrote:

> Good news - If I'm reading this correctly, it looks like a solution to the
> SMW sync issues has been proposed:
>
> http://semantic-mediawiki.org/wiki/GSoC_2012#Query_management_and_smart_updates
>
> --
> View this message in context: http://wikimedia.7.n6.nabble.com/Pointing-red-links-to-a-form-jobs-not-being-created-tp4492977p4493148.html
> Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Loading...