Menu

Toolkit show Data model error

2015-08-04
2015-08-10
  • Thiago Arcanjo

    Thiago Arcanjo - 2015-08-04

    How solved this problem

    Class Incident
    Unknown function 'Reset' in transition [assigned/ev_dispatch] for state attribute 'status' (Specify a function which prototype is in the form [public function Reset(...){return true;}])

    Class UserRequest
    Unknown function 'Reset' in transition [assigned/ev_dispatch] for state attribute 'status' (Specify a function which prototype is in the form [public function Reset(...){return true;}])

    Someone?

     
  • Thiago Arcanjo

    Thiago Arcanjo - 2015-08-04

    This error its in Data Model Toolkit > Data Model Consistency

     
  • Fotios Kossyvas

    Fotios Kossyvas - 2015-08-05

    I suppose you have created an extension for adding a "Reset" stimulus.
    I had the same problem with you and this was because i didn't have insered the delta's

        <lifecycle>     
            <attribute>status</attribute>
            <stimuli _delta="redefine">
            ...
                 <stimulus id="ev_requirements" xsi:type="StimulusUserAction"/>
             ...
    

    .
    or
    <state id="user-content-requirements" _delta="define_if_not_exists"></state>

     
  • Thiago Arcanjo

    Thiago Arcanjo - 2015-08-05

    But, insert delsta where?
    This error appeared after installing some extention, I think that one changed lifecycle of the incident and UserRequest. You managed to solve?

     
  • lbatistadelima

    lbatistadelima - 2015-08-10

    I'm with the same problem, but it isn't relative the stimuli. It's when i try to merge a new function (method) inside a transition.

     

    Last edit: lbatistadelima 2015-08-10
  • lbatistadelima

    lbatistadelima - 2015-08-10

    I discovered the problem, but not solution yet. I have some extensions and one is deppending another. The question is: How to define this precedence, or dependence?

    I'm trying to modify a state that was created in another extension and if I use delta="merge" it does not recognize de state defined in the other extension. Maybe the simplest way will be put the both together, but it's not insteresting to me.

     

    Last edit: lbatistadelima 2015-08-10
  • lbatistadelima

    lbatistadelima - 2015-08-10

    I solved changing the name of extension (with a "z" before). The toolkit process the extensions in alphabetical order.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.