[rt-users] Problem : A custom field edited via REST will be disabled

Sylvain Auguy s.auguy at gmail.com
Mon Feb 10 08:16:50 EST 2014


Ok my bad... It does as you said Kevin, but I still have a problem.
The new customer
field values are not recognized properly by the pages Modify.html and
ModifyAll.html and it acts as if these fields were without any value (while
they appear correctly on Display.html).

When I perform a request with the mysql CLI client, the display is very
weird. While it is correct with a graphical client like mysql workbench.
You can see it on the attached screenshots (the 3 last lines are the custom
fields which have a problem).

Any idea why these outputs differ depending on the mysql client and why it
interferes with RT behavior ?


[image: Images intégrées 1]

[image: Images intégrées 2]


Sylvain



2014-02-10 7:11 GMT+01:00 Sylvain Auguy <s.auguy at gmail.com>:

> Thanks Kevin
>
> This is the behavior I was expecting, except that in my case, it adds a
> new row with the field "disabled = 1"
> Is it a known bug that has been solved in a later version ?
>
> Sylvain
>
>
> 2014-02-07 17:51 GMT+01:00 Kevin Falcone <falcone at bestpractical.com>:
>
> On Fri, Feb 07, 2014 at 11:05:04AM +0100, Sylvain Auguy wrote:
>> >    When I edit a custom field via REST, the associated
>> "ObjectCustomFieldValue" will, by default,
>> >    appear as disabled in the database.
>> >    Is there any reason for that ? How can I avoid it ?
>> >    I use RT 3.8.4.
>>
>> When you update the value of a custom field on a ticket, the old
>> ObjectCustomFieldValue is disabled and a new row with the current
>> value is inserted.
>>
>> -kevin
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140210/e753e244/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysql workbench query.PNG
Type: image/png
Size: 46407 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140210/e753e244/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysql client query.PNG
Type: image/png
Size: 47808 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140210/e753e244/attachment-0001.png>


More information about the rt-users mailing list