Rt-4.0.8 - Custom Field Values Sources will not change once selected

Hello,

            I made a custom field values source to look up data

directly from the database. My code is working well, however, once I select
my custom code in the custom field settings under “Field values source:”
and save my selection, I can then no longer edit the drop down value to
select “Provide a list of values below” again. It seems that when clicking
“Save Changes”, it simply doesn’t save the changes to the Field values
source field.

Image Attachment screenshot1
[image: Inline image 1]

I looked at the customfields table in the database, and sure enough even
after changing the settings the valuesclass field still contained
RT::CustomFieldValues::Groups. I removed this value directly from the DB
and the field then reverted back to “Provide a list of values below”.

Image Attachment Screenshot2
[image: Inline image 1]

Can anyone else confirm this issue? If so I can open a bug.

Thanks,
Jim

I made a custom field values source to look up data directly from the database. My code is
working well, however, once I select my custom code in the custom field settings under “Field
values source:” and save my selection, I can then no longer edit the drop down value to select
“Provide a list of values below” again. It seems that when clicking “Save Changes”, it simply
doesn’t save the changes to the Field values source field.

I looked at the customfields table in the database, and sure enough even after changing the
settings the valuesclass field still contained RT::CustomFieldValues::Groups. I removed this
value directly from the DB and the field then reverted back to “Provide a list of values
below”.
Can anyone else confirm this issue? If so I can open a bug.

As far as I know, this is a known bug. The proposed patch has some
flaws though.
http://issues.bestpractical.com/Ticket/Display.html?id=18274

-kevin

Thanks - That looks like the issue I am seeing too.On Thu, Jan 17, 2013 at 5:45 PM, Kevin Falcone falcone@bestpractical.comwrote:

On Thu, Jan 17, 2013 at 05:11:14PM -0500, Jim Lesinski wrote:

I made a custom field values source to look up data directly from the
database. My code is
working well, however, once I select my custom code in the custom
field settings under “Field
values source:” and save my selection, I can then no longer edit the
drop down value to select
“Provide a list of values below” again. It seems that when clicking
“Save Changes”, it simply
doesn’t save the changes to the Field values source field.

I looked at the customfields table in the database, and sure enough
even after changing the
settings the valuesclass field still contained
RT::CustomFieldValues::Groups. I removed this
value directly from the DB and the field then reverted back to
“Provide a list of values
below”.
Can anyone else confirm this issue? If so I can open a bug.

As far as I know, this is a known bug. The proposed patch has some
flaws though.
Login

-kevin