Menu

ev_close and ev_reopen button doesn't work

Romain A.
2020-08-31
2020-09-22
  • Romain A.

    Romain A. - 2020-08-31

    Hello everyone,

    I've an issue in my portal user. I've created a personalized ticket, and at the end of the lifecycle, the user can see 2 buttons on his ticket. First one is for ev_close and the second one is for ev_reopen. I don't know why but this button do nothing when the user clicks on it.

    Here is my user rights :

    <user_rights>
        <groups>
          <group id="FNCNPI" _delta="define">
            <classes>
              <class id="FNCNPI"/>
            </classes>
          </group>
        </groups>
        <profiles>
          <profile id="2">
            <groups>
              <group id="FNCNPI" _delta="define">
                <actions>
                  <action id="action:write">allow</action>
                  <action id="stimulus:ev_close">allow</action>
                  <action id="stimulus:ev_reopen">allow</action>
                </actions>
              </group>
            </groups>
          </profile>
        </profiles>
    </user_rights>
    

    If anyone has an idea.

    Have a nice day,
    Thank you,

    Romain.

     
  • Guillaume Lajarige

    Hello Romain,

    Those buttons should open a transition form, if nothing happens you might have an issue in your browser. Can you do the following:
    - Open the form in a recent browser like Chrome or Firefox
    - Open the dev. tools by hitting F12
    - Go to the "Console" tab
    - Click on one of the "Close" / "Re-open" buttons
    - Check the error message in the "Console" tab

    Hope this helps,
    Guillaume

     
  • Romain A.

    Romain A. - 2020-08-31

    Hello Guillaume,

    Thanks for this quick answer.

    Here is the error message :

    TypeError: oRes is undefined field_set.js:234:10
        _onValidate http://itop/js/field_set.js?itopversion=2.7.0-1:234
        t.widget/</l[e]</< jQuery
        _create http://itop/js/field_set.js?itopversion=2.7.0-1:71
        jQuery 4
            dispatch
            handle
            trigger
            triggerHandler
        _onSubmitClick http://itop/env-production/itop-portal-base/portal/public/js/portal_form_handler.js?itopversion=2.7.0-1:101
        t.widget/</l[e]</< jQuery
        _create http://itop/js/form_handler.js?itopversion=2.7.0-1:58
        jQuery 2
            dispatch 
            handle
    

    I'm using Firefox 69.0.1.

    Thanks,

    Have a nice day,
    Romain

     
  • Guillaume Lajarige

    This is weird, did you customized the form of the object with some new fields or something else?
    Are you using the "custom request forms" extension ? With this object?

    Guillaume

     
  • Romain A.

    Romain A. - 2020-09-01

    Hello Guillaume,

    I'm using new extension for a custom request. I'm not sure to understand what you say, sorry...
    Here is the datamodel of my extension

    Thanks,
    Romain

     
  • Guillaume Lajarige

    I asked if you were using this extension because it could have been the source of a bug, not sure.

    I'm sorry but I don't know how to help you to troubleshoot this remotely 😥

     
  • Guillaume Lajarige

    Do you have the same problem on a vanilla iTop installation? Or on the online demo ? (demo.combodo.com/full portal / portal)

     
  • Romain A.

    Romain A. - 2020-09-01

    Guillaume,

    I'm not using this extension because I do it myself to modify all fields.

    Do you have the same problem on a vanilla iTop installation? Or on the online demo ? (demo.combodo.com/full portal / portal)

    In fact, not working only for my extension. For example, if the user opens an incident ticket, those 2 buttons works perfectly :(

    Thanks,
    Romain

     
  • Romain A.

    Romain A. - 2020-09-07

    Hello,

    I think when I resolve my issue here, I resolve this issue.
    My bad

    Thanks for help,
    Have a nice day,
    Romain

     

    Last edit: Romain A. 2020-09-07
    • Pierre Goiffon

      Pierre Goiffon - 2020-09-22

      Ok, good to hear, thanks for the feedback !

       
      ❤️
      1

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.