Prechádzať zdrojové kódy

Fix of read_only flags for some attributes (previous verison had typos, i.e. "readonly" instead of "read_only", which made the factorisation of the state flags incorrect)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3416 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 10 rokov pred
rodič
commit
39345cf0db

+ 16 - 18
datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml

@@ -499,7 +499,7 @@
                 <hidden/>
               </attribute>
               <attribute id="tto_escalation_deadline">
-                <readonly/>
+                <read_only/>
               </attribute>
               <attribute id="sla_tto_passed">
                 <hidden/>
@@ -589,9 +589,15 @@
               <attribute id="tto_escalation_deadline">
                 <hidden/>
               </attribute>
-              <attribute id="sla_tto_passed"/>
-              <attribute id="sla_tto_over"/>
-              <attribute id="ttr_escalation_deadline"/>
+              <attribute id="sla_tto_passed">
+                <read_only/>
+              </attribute>
+              <attribute id="sla_tto_over">
+                <read_only/>
+              </attribute>
+              <attribute id="ttr_escalation_deadline">
+                <read_only/>
+              </attribute>
               <attribute id="caller_id"/>
               <attribute id="escalation_flag"/>
               <attribute id="escalation_reason"/>
@@ -855,11 +861,15 @@
               <attribute id="pending_reason">
                 <read_only/>
               </attribute>
-              <attribute id="sla_ttr_passed"/>
+              <attribute id="sla_ttr_passed">
+                <read_only/>
+              </attribute>
               <attribute id="ttr_escalation_deadline">
                 <hidden/>
               </attribute>
-              <attribute id="sla_ttr_over"/>
+              <attribute id="sla_ttr_over">
+                <read_only/>
+              </attribute>
             </flags>
             <transitions>
               <transition id="ev_close">
@@ -931,18 +941,6 @@
               <attribute id="user_comment">
                 <must_prompt/>
               </attribute>
-              <attribute id="sla_tto_passed">
-                <read_only/>
-              </attribute>
-              <attribute id="sla_tto_over">
-                <read_only/>
-              </attribute>
-              <attribute id="sla_ttr_passed">
-                <read_only/>
-              </attribute>
-              <attribute id="sla_ttr_over">
-                <read_only/>
-              </attribute>
             </flags>
             <transitions/>
           </state>