Changing dataset's category has not effect

Study Forum (Inactive)
Changing dataset's category has not effect Anthony Corbett  2014-01-10 09:51
Status: Closed
 
Using 14.1, when I try to change a dataset's category to something else it looks like it saves but nothing actually changes. Things I've tried:

1. Going through the Manage Dataset button on an individual dataset DataGrid and changing the category text field. It saves without errors but the datset's category value has't changed.

2. Going through Manage -> Manage Datasets -> Change Properties and updating the category on a few datsets. It saves without errors, but the datasets' category values haven't changed.

Is there any other way to update the category for datasets?

Thanks,

Anthony
 
 
Greg Taylor responded:  2014-01-10 16:26
Hi Anthony,
It looks as though you are seeing an error in the version of LabKey that you are running. Could you remind me of your server version again? I just tested changing a dataset catagory for a demo study on my local system and on our staging server and in both cases the category was changed correctly. Are you seeing an associated error or an exception report in your labkey.log file? Let's discuss this error in our next scheduled meeting; I suspect that a system upgrade would fix the problem.
Greg
 
Anthony Corbett responded:  2014-01-13 07:30
Greg,

This is on 13.3.

When I try editing the definition of a dataset (from the Dataset grid choose Manage Dataset -> Edit Definition), then change the category value and save. It looks like it save with out error but the value doesn't change. Here is the labkey.log output that get generated:

INFO DbScope 2014-01-13 09:58:08,506 ajp-bio-8009-exec-14 : Loading DbSchema "labkey.studydataset" (Module)
INFO DbScope 2014-01-13 09:58:08,534 ajp-bio-8009-exec-14 : no schema metadata xml found for schema 'studydataset'
INFO DbScope 2014-01-13 09:58:08,546 ajp-bio-8009-exec-14 : Loading DbSchema "labkey.studydataset" (Module)
INFO DbScope 2014-01-13 09:58:08,573 ajp-bio-8009-exec-14 : no schema metadata xml found for schema 'studydataset'
INFO DbScope 2014-01-13 09:58:08,594 ajp-bio-8009-exec-14 : Loading DbSchema "labkey.studydataset" (Module)
INFO DbScope 2014-01-13 09:58:08,622 ajp-bio-8009-exec-14 : no schema metadata xml found for schema 'studydataset'
INFO DbScope 2014-01-13 09:58:08,641 ajp-bio-8009-exec-14 : Loading DbSchema "labkey.studydataset" (Module)
INFO DbScope 2014-01-13 09:58:08,668 ajp-bio-8009-exec-14 : no schema metadata xml found for schema 'studydataset'
INFO DbScope 2014-01-13 09:58:08,686 ajp-bio-8009-exec-14 : Loading DbSchema "labkey.studydataset" (Module)
INFO DbScope 2014-01-13 09:58:08,714 ajp-bio-8009-exec-14 : no schema metadata xml found for schema 'studydataset'
INFO DbScope 2014-01-13 09:58:08,732 ajp-bio-8009-exec-14 : Loading DbSchema "labkey.studydataset" (Module)
INFO DbScope 2014-01-13 09:58:08,760 ajp-bio-8009-exec-14 : no schema metadata xml found for schema 'studydataset'

I tried changing the category value using edit definition in two variations:
  1. changing the category to one that doesn't exist yet. Expected result: It creates the new category and changes the value to this new category.

  2. First defining a new category, then updating the dataset's category value to the one just defined. Expected result: Category value is updated.


However, if I do the following: Manage Study -> Manage Datasets -> Change Properties -> click "Manage Categories" button, then I'm able to create a new category or edit the existing one and that works (the category value actually changes on the dataset).

-
Anthony
 
jeckels responded:  2014-02-19 11:10
Thank you for your the detailed repro steps. I've been able to reproduce the problem. I can set the category once, but subsequent updates are ignored.

https://www.labkey.org/issues/home/Developer/issues/details.view?issueId=19649

Thanks,
Josh