Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Issue: Template Assignment can disassociate projects and remove lists and other properties


#1

We recently upgraded to 5.2.1.3472.

I found an issue pertaining to associating fields to a template. If I do not edit existing Projects and Objects, once I save it and re-edit, my project information is gone.

Repro:
Have a field that is unique, has different projects and has supporting options like a multi-select list, etc

  • note - I repro’d this with the estimate time, system field but the above has a greater impact.
  1. Edit a field which previously applies to all templates.
  2. Select This field applies to the following templates only
  3. Select a template
  4. Save the Field and return to the Customization Screen
  5. Re-edit the field, notice the project and options are blank.

This causes the loss of multi-select lists, etc so I have to cautiously back them up so I can recreate them if I miss the below workaround and loose my information.

In order for this to not happen, I need to edit existing Projects & Options and then save them again, even if I don’t need to change anything within it.


#2

Hi Steve,

Thanks for your posting. I just checked this and cannot confirm this behavior and couldn’t reproduce this. Can you check if you have any UI scripts activated under Administration > Customizations?

Cheers,
Tobias


#3

Yes, we have 4 active UI overrides, they exclude the admin/projects but not the customization and looked to be the issue.

On that note. Is there a way to exclude all pages except the pages wanting to include?
i.e. exclude all admin pages?


#4

Hi Steve,

You can use a whitelist (includes directive) or a blacklist approach (excludes). To include all pages by default and exclude just some pages you can use the following:

includes: ^
excludes: ^admin

I hope this helps!

Cheers,
Tobias