Menu

simple extension that works in itop 2.0.1 fails to install in 2.0.3

isaac
2014-11-11
2014-11-12
  • isaac

    isaac - 2014-11-11

    Hi,
    I have written a simple itop extension module, which adds another option to the ticket drop down menu "origin". I can instal it in itop 2.0.1 and it works, but when I try to install it in itop 2.0.3, I get "Unknown class - classes" at 80% upgrading the database. Here is my XML:

    <?xml version="1.0" encoding="UTF-8"?>
    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
        <classes>
            <class id="UserRequest">
                <fields>
                    <field id="origin" xsi:type="AttributeEnum" _delta="redefine">
                        <values>
                            <value>mail</value>
                            <value>phone</value>
                            <value>portal</value>
                            <value>self</value>
                        </values>
                        <sql>origin</sql>
                        <default_value>mail</default_value>
                        <is_null_allowed>true</is_null_allowed>
                    </field>
                </fields>
            </class>
        </classes>
    </itop_design>
    

    Is my design wrong, or is this a bug in itop? Or did I miss something in the release notes?

     
  • isaac

    isaac - 2014-11-12

    I decided it is a bug and opened a ticket: https://sourceforge.net/p/itop/tickets/1018/

     

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.