Folders deleted from the UI, keep coming back

Folders deleted from the UI, keep coming back

avatar

on version 2021.1.44.0 of RDM
Folders that have been deleted are reappearing after some time. if I do a get-rdmsession from powershell the folders do not show up, but they are showing in the UI. how can I get rid of the deleted folders?

thanks
Ross

All Comments (19)

avatar

Hello Ross,

It is most likely the offline cache that is causing the issue. Could you press ctrl+f5 in RDM and see if the folders are still present?

Also, what type of data source are you using?

Best regards,

Richard Boisvert

avatar

Richard,

             
Yes the folders are still present after a refresh.  Data source is SQL

avatar

Hello Ross,

Are the folders present if you go under Administration > Deleted Entries?

Also, if you go in offline mode, is the folder still present? And does turning back online mode still show the folders?

Finally, if you right-click on one of the folder, View - Entry History, do you see anything of interest?
forum image

Best regards,

Richard Boisvert

avatar

Richard,
the folders are in delete entries, I clear them from there and they come right back. offline online the folders are there.
the view entry history only shows updated back in February of this year.
they just keep coming back.

Ross

avatar

i have upgraded to 2012.2.20.0 and still have the same issue.

avatar

Hello,

You also posted in the forum https://forum.devolutions.net/topics/36340/folders-deleted-from-the-console-keep-coming-back, I just wanted to validate if you had a Devolutions Server or SQL data source?

Best regards,

Richard Boisvert

avatar

Sorry about that when I logged in it put me in the devolutions server forum and I did not see that until after I posted. I am using RDM and the data source is SQL so weird, I logged in this morning and the folders did not display, but after a crtl-f5 they came back. How can I get rid of these folders.

Ross

avatar

Hello Ross,

We spoke about your case internally, it seems to be an issue with virtual folders. Do you have any entries inside the folder(s) that you want to delete? If so, first delete the entries, and then the folders. When you just delete the virtual folders, the entries inside are still referencing it, and recreate it as a virtual folder.

Best regards,

Richard Boisvert

avatar

I have done that several times by the UI and also wrote a powershell script to take them out in that order and still after ctrl-F5 they come back.

avatar

Hello Ross,

If you right-click on the folder when it comes back, is there anything under View > Entry History?
forum image

Also, could you provide the entry information (Clipboard > Copy > Preview):

forum image
forum image

If there is more sensitive information, you can send it to me via PM.

Best regards,

Richard Boisvert

avatar

the only data in the entry history is an update done back in February 2021.

here is the details from the copy steps.
<?xml version="1.0"?>
<ArrayOfConnection>
<Connection>
<ConnectionType>Group</ConnectionType>
<CreatedBy>CORP\ross.jurek</CreatedBy>
<CreationDateTime>2021-02-18T21:13:15</CreationDateTime>
<Group>Nebula Service Fabric</Group>
<ID>1ac16c4e-b786-444c-b71c-bfb441386f26</ID>
<Name>Nebula Service Fabric</Name>
<Stamp>78bdd6f9-35d5-4ea2-807c-9afa9713c29f</Stamp>
<TemplateSourceID>d1248a93-94a0-4ba7-9323-aaee1a2806cb</TemplateSourceID>
</Connection>

avatar

here is the copy preview for the top level folder that is flagged as virtual.

<?xml version="1.0"?>
<ArrayOfConnection>
<Connection>
<ConnectionType>Group</ConnectionType>
<Group>Toronto</Group>
<ID>fbfe3a07-8cce-43fc-8524-90fb2cfd6466</ID>
<Name>Toronto</Name>
<Stamp>a81d868e-74e4-4bf4-a8d2-4db21b147088</Stamp>
</Connection>
<Connection>
<ConnectionType>Group</ConnectionType>
<CreatedBy>CORP\ross.jurek</CreatedBy>
<CreationDateTime>2021-02-18T16:57:00</CreationDateTime>
<Group>Toronto\Production</Group>
<ID>c0f284f3-d8ae-42a1-8085-380fb18e78b7</ID>
<Name>Production</Name>
<Stamp>a6cb47d1-99d1-4dfc-8a89-724564cace84</Stamp>
<TemplateSourceID>2c1b95b7-070c-4c4e-b777-58b82aa1da0f</TemplateSourceID>
</Connection>
<Connection>
<ConnectionType>Group</ConnectionType>
<CreatedBy>CORP\ross.jurek</CreatedBy>
<CreationDateTime>2021-02-18T21:14:26</CreationDateTime>
<Group>Toronto\Production\Nebula</Group>
<ID>48c398f1-a85d-46d8-b91e-a11619af09d6</ID>
<Name>Nebula</Name>
<Stamp>dc8295a5-a976-4343-9576-19a8173db088</Stamp>
<TemplateSourceID>0c85d729-f05a-4682-9870-e727644a247a</TemplateSourceID>
</Connection>
<Connection>
<ConnectionType>Group</ConnectionType>
<CreatedBy>CORP\ross.jurek</CreatedBy>
<CreationDateTime>2021-02-18T21:14:46</CreationDateTime>
<Group>Toronto\Production\Nebula\Nebula Service Fabric</Group>
<ID>2e611cae-8960-4542-8eb3-d0c540d7cd37</ID>
<Name>Nebula Service Fabric</Name>
<Stamp>3233506e-70c3-4803-8b5a-1718ffd2dc16</Stamp>
<TemplateSourceID>7ed44df1-208b-4978-8132-020583c5e976</TemplateSourceID>
</Connection>
<Connection>
<ConnectionType>Group</ConnectionType>
<CreatedBy>CORP\ross.jurek</CreatedBy>
<CreationDateTime>2021-02-18T16:40:07</CreationDateTime>
<Group>Toronto\Production\Relativty</Group>
<ID>47b9c1d0-4eac-443d-96e0-74e342bb86c1</ID>
<Name>Relativty</Name>
<Stamp>7ae3ba9d-bfae-49ee-8e1e-80a3edc0218f</Stamp>
<TemplateSourceID>5efdb9fc-f115-44b8-a2b9-ec0eb44cb909</TemplateSourceID>
</Connection>
</ArrayOfConnection>

avatar

Hello Ross,

In the top-level folder, that is virtual, could you type anything in the credentials, for example put the username as test, and click OK. This will make it a "real" folder.

You should no longer see the Virtual folder if you go back to the properties. Once that is completed, could you try to remove the "Nebula Service Fabric" folder again?

Virtual folders often times cause weird behaviour, we do not recommend using them, if possible. To view what folders are currently set as virtual folders, you can view it in the diagnostic:
forum image

Best regards,

Richard Boisvert

avatar

I added some details to the top level folder that was flagged as virtual, it shows as not virtual now.. I deleted the folders from the bottom up, then deleted the top level, all gone.. CRTL-F5 all come back and the top level changes I made are gone and back to virtual.

avatar

I ran the diagnostics on the DS and the virtual folders tab was empty, so wierd.

forum image

forum image

forum image

avatar

Hello Ross,

Very curious.

Could you go back to System Diagnostic / Data Source

forum image

Go to the bottom and make sure all 3 values are the same. Let me know if it is not the case.

Also, do the Virtual folders show 0 above?

Best regards,

Richard Boisvert

avatar

forum image

avatar

Hello Ross,

I noticed you have a ticket with us regarding this issue (DEVO-37498). We will continue there since we will most likely need a session to troubleshoot.

We will report back our findings here afterward.

Best regards,

Richard Boisvert

avatar

Hello,

@everyone , the issue was with the SQL database itself; after recreating a fresh instance, the issue has not reoccured.

Best regards,

Richard Boisvert