ress. publiée mais tjs modifiable

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:df8028d652f18e330c8db89e0a24ba02' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">\n<p>Bonjour,</p>\n<p>Lorsque je fais une recherche vcard dans le<br />\nformulaire de l\'&eacute;diteur, je suppose que c\'est le vocabulaire<br />\npeople_vcard qui est interrog&eacute;. (j\'ai&nbsp;ceci dans main-model.xml<br />\n:&nbsp;\n</div>\n', created = 1507746913, expire = 1507833313, headers = '', serialized = 0 WHERE cid = '4:df8028d652f18e330c8db89e0a24ba02' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:df8028d652f18e330c8db89e0a24ba02' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">\n<p>Bonjour,</p>\n<p>Lorsque je fais une recherche vcard dans le<br />\nformulaire de l\'&eacute;diteur, je suppose que c\'est le vocabulaire<br />\npeople_vcard qui est interrog&eacute;. (j\'ai&nbsp;ceci dans main-model.xml<br />\n:&nbsp;\n</div>\n', created = 1507746913, expire = 1507833313, headers = '', serialized = 0 WHERE cid = '4:df8028d652f18e330c8db89e0a24ba02' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:1a6715eedbb6bdcdd95fa30b8c5dece9' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n\n <meta http-equiv=\"content-type\" content=\"text/html; charset=ISO-8859-1\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n Bonjour,<br>\n <br>\n <br>\n Une fois la ressource publi&eacute;e, chaque ressource peut &ecirc;tre renvoy&eacute;e\n au SCD, au SEMM, ou &agrave; l\'auteur.<br>\n Par contre, lorsque la ressource est publi&eacute;e, le SCD ne devrait pas\n pouvoir modifier la feuille de m&eacute;tadonn&eacute;es.<br>\n <br>\n <img src=\"#\" alt=\"\"><br>\n Or, d\'apr&egrave;s cette image, on peut.<br>\n <br>\n <br>\n Je viens de v&eacute;rifier &agrave; nouveau mon workflow, je ne vois pas ou cela\n coince :<br>\n <br>\n <br>\n <br>\n &lt;action id=\"4\" name=\"lom_lille1.Publish_SCD\"&gt; <b>//dans le\n cas ou le SCD publie</b><br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;restrict-to&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;conditions type=\"OR\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;conditions type=\"AND\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;condition type=\"spring\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"bean.name\"&gt;hasRole&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"mask\"&gt;LOMLILLE1_SCD_MODERATOR&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;condition type=\"spring\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"bean.name\"&gt;verifySchematron&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\nname=\"schematronFile\"&gt;/properties/workflows/contrib_lom_lille1/sch/[LOM_FORMAT]-ori-i18n-scd.sch&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/conditions&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;condition type=\"spring\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"bean.name\"&gt;hasRole&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"mask\"&gt;LOMLILLE1_ADMINISTRATOR&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/conditions&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/restrict-to&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;results&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;unconditional-result status=\"Underway\"<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; old-status=\"Finished\" step=\"4\" /&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/results&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;post-functions&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;function type=\"spring\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"bean.name\"&gt;deletePermission&lt;/arg&gt; <b>// je retire la\n permission de supprimer ou d\'utiliser le form. lom du SCD</b><br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg name=\"mask\"&gt;LOMLILLE1_DELETE\n LOMLILLE1_USE_LOM_SCD_FORM&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"recipient\"&gt;LOMLILLE1_SCD_MODERATOR&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/function&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;function type=\"spring\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"bean.name\"&gt;saveXmlHistory&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/function&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;function type=\"spring\"&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"bean.name\"&gt;saveOrUpdateIndex&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;arg\n name=\"idOriIndexing\"&gt;indexingServicePublic&lt;/arg&gt;<br>\n &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/function&gt;<br>\n <br>\n <br>\n <br>\n <br>\n Plus loin, si je d&eacute;publie la ressource vers le SCD, SEMM ou auteur,\n je redonne le droit de la modifier via le formulaire ad&eacute;quat.<br>\n <br>\n Pouvez vous m\'&eacute;clairer ?<br>\n Merci<br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n </body>\n</html>\n</div>', created = 1507746913, expire = 1507833313, headers = '', serialized = 0 WHERE cid = '4:1a6715eedbb6bdcdd95fa30b8c5dece9' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
francoislefebvre
ress. publiée mais tjs modifiable
Bonjour,


Une fois la ressource publiée, chaque ressource peut être renvoyée au SCD, au SEMM, ou à l'auteur.
Par contre, lorsque la ressource est publiée, le SCD ne devrait pas pouvoir modifier la feuille de métadonnées.


Or, d'après cette image, on peut.


Je viens de vérifier à nouveau mon workflow, je ne vois pas ou cela coince :



<action id="4" name="lom_lille1.Publish_SCD"> //dans le cas ou le SCD publie
                    <restrict-to>
                        <conditions type="OR">
                            <conditions type="AND">
                                <condition type="spring">
                                    <arg name="bean.name">hasRole</arg>
                                    <arg name="mask">LOMLILLE1_SCD_MODERATOR</arg>
                                </condition>
                                <condition type="spring">
                                    <arg name="bean.name">verifySchematron</arg>
                                    <arg name="schematronFile">/properties/workflows/contrib_lom_lille1/sch/[LOM_FORMAT]-ori-i18n-scd.sch</arg>
                                </condition>
                            </conditions>
                                <condition type="spring">
                                    <arg name="bean.name">hasRole</arg>
                                    <arg name="mask">LOMLILLE1_ADMINISTRATOR</arg>
                                </condition>
                        </conditions>
                    </restrict-to>
                    <results>
                        <unconditional-result status="Underway"
                            old-status="Finished" step="4" />
                    </results>
                    <post-functions>
                        <function type="spring">
                            <arg name="bean.name">deletePermission</arg> // je retire la permission de supprimer ou d'utiliser le form. lom du SCD
                            <arg name="mask">LOMLILLE1_DELETE LOMLILLE1_USE_LOM_SCD_FORM</arg>
                            <arg name="recipient">LOMLILLE1_SCD_MODERATOR</arg>
                        </function>
                        <function type="spring">
                            <arg name="bean.name">saveXmlHistory</arg>
                        </function>
                        <function type="spring">
                            <arg name="bean.name">saveOrUpdateIndex</arg>
                            <arg name="idOriIndexing">indexingServicePublic</arg>
                        </function>




Plus loin, si je dépublie la ressource vers le SCD, SEMM ou auteur, je redonne le droit de la modifier via le formulaire adéquat.

Pouvez vous m'éclairer ?
Merci
-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73