Parser function for storing semantic data fails for new pages
Dear SMW developers,
when implementing a parser function that adds some semantic data
to a page I see some funny behavior that I cannot explain.
When adding the parser function to a page and saving it, the
parser function gets called, its output is displayed and I get
the expected facts available for queries and in the fact box.
That is good.
When creating a new page (directly or with SemanticForms) and
adding the parser function to the page before the initial save
happens, the parser function gets called, its output is
displayed BUT I DO NOT GET the expected facts. That is NOT good.
Since parser functions are not registered to any specific hooks I
am lost here, why SMW seems to behave differently for the initial
and for later save-actions.
Has anyone noticed the same "error" before? How can I prevent it?
As a last resort I would even like to know of a patch for MW or
Dr. Michael Erdmann | [hidden email] | +49 151 6140 1790
DIQA Projektmanagement GmbH | Pfinztalstr. 90 | 76227 Karlsruhe, Germany
Handelsregister: Amtsgericht Mannheim HRB 715454 | USt-IdNr: DE283037270
Geschäftsführer: Dr. Michael Erdmann, Dipl.-Wirtsch.-Inf. Daniel Hansch
This email may contain confidential information. If
you are not the
intended recipient please notify the sender immediately and
email. Any unauthorized copying, disclosure or distribution of
email is strictly forbidden.