It's all about the answers!

Ask a question

A feasible workaround to avoid creating invisible new RRC folders ?


long TRUONG (3654118146) | asked Jul 16 '14, 9:29 p.m.
 As per post https://jazz.net/forum/questions/153229/why-newly-created-rrc-subfolders-are-invisible and others, RRC folders may become invisible right after creation if there are too many folders.

There is a hot fix for Defect 71478, which was also fixed in 4.0.4.

While waiting for implementation of either the hot fix or the upgrade, we are contemplating recommendation to the project team to simplify their dir structure.

However while exploring import/export via reqIF files, we wonder if we found an effective workaround as well, by taking advantage of a reqIF file which could retain the directory structure. We will be experimenting with this workaround, but it may take us some time and efforts to reproduce the issue first in a test env. 

Hence we wonder if the community has any thoughts on this and if those who know the code would think this is feasible:
  • On a test project, create 1 dummy artifact under each leaf-subdir (bottom subdir) of a desired dir subtree which could not be added to a PA with ghost folders issue.
  • Export all such artifacts to a reqIF file.
  • Import the resulting reqIF file
  • If -- by a miracle, or by chance short of a miracle -- the import is not hampered by the Defect 71478 via a different folder creation process, and the import to the project with issue would provide the missing folders. Then voila, the workaround.
  • The dummy artifacts can be removed, and the newly created, regardless of existing types, artifact types can also be deleted.

Accepted answer


permanent link
Mike Jaworski (1.4k6) | answered Jul 17 '14, 8:19 a.m.
JAZZ DEVELOPER
 Hi,

I think you may be misunderstanding the core issue which is reported by RM Defect 71478. The problem is not that you cannot create more folders once the 100-grandchild folder limit has been encountered; the problem is that the system is unable to display anything after the 100 limit, since the underlying query to collect all folders is limited to 100 results. So, unfortunately, I don't think that the ReqIF Import workaround will allow all of the folders in your directory structure to become visible again (sorry ...). However, all of the folders which you have created should in fact still exist in your DB, and once you either upgrade to 4.0.4 or else apply the corresponding Hotfix for this defect, these folders will become visible again.

Hope this helps,
Mike Jaworski
long TRUONG selected this answer as the correct answer

Comments
long TRUONG commented Jul 17 '14, 9:26 p.m.

Thx Mike,


What's about deleting existing visible (but unused/unpopulated) folders, would each deletion allow one formerly invisible folder to be displayed.


Mike Jaworski commented Jul 18 '14, 8:23 a.m.
JAZZ DEVELOPER

 Yes this should work, however I would not advise this unless you have no other option. By deleting visible folders in the UI, you should be able to regain the same number of "invisible" folders afterward (though you will most likely need to click the refresh button in the grid afterward, in order to force a refresh of the folder cache), but you have the down-side of losing folder data.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.