Change mgmt state

Moderator: crythias

Locked
thomkortekaas
Znuny newbie
Posts: 61
Joined: 17 Dec 2010, 13:22
Znuny Version: 3.0

Change mgmt state

Post by thomkortekaas »

Hello,


This might be a bug.
It concerns the ITSM module "Change Management" .
When I put certain state in "ITSM::ChangeManagement::Change::State" to invalid it succesfully saves it.
But when I want to change the state of a Change it shows the empty space where the state should have been.
I added a partial screenshot (it's in dutch, but it makes my point clear).

The page source shows me this:

Code: Select all

<label for="ChangeStateID">Status:</label>
                    <div class="Field">
                        <select name="ChangeStateID" id="ChangeStateID">
  <option value="128" selected="selected">In uitvoering</option>
  <option value="129"></option>
  <option value="130">Succesvol</option>
  <option value="131"></option>
  <option value="132">Gecanceld</option>

  <option value="133"></option>
</select>
So it does hides the names, but it still generates html with the ID. Therefore I get those white spaces in my SelectBox.
I guess there's a check missing or something?

What I also found in the Database is this table "Change_State_Machine". It shows that State_id is connected to state_id 128 until 132, those are the ones that are showing up in the SelectBox. Some sort of link there I guess.

2nd think what I couldn't find. I put the default state on invalid, so whenever I create a Change there isn't a value filled in. How can I change the default state value for a new Change.

I ran the DeleteCache and REbuildConfig perl scripts and rebooted the Apache server without any luck.
You do not have the required permissions to view the files attached to this post.
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Change mgmt state

Post by jojo »

you also need to adjust the state machine
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked