<div dir="ltr"><div><div><div><div>Hi Steffen,<br><br></div>Structure state 2 means "new", state 0 means "unchanged".<br></div>What's the colour of the folder that you see in the workplace? I guess it's black meaning it is the one with state 0 (unchanged).<br>
</div>You could change the parent id of your files to the structure id of the folder with state 0 and delete the other three folder entries. Are you sure that the problem doesn't exist with sub-files/-folders as well?<br>
In any case - make a database backup before you make any changes ;)<br><br></div>Beste regards,<br>Stephan<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 13:29 GMT+02:00 Sick, Steffen <span dir="ltr"><<a href="mailto:ssick@team.mobile.de" target="_blank">ssick@team.mobile.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span lang="DE">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p>
<p class="MsoNormal">I’m using OpenCms 7.5.4 on a productive and several test environments. I used the Database Management module to export a directory structure with files from my test environment, and then import the zip file into the productive environment.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Now the problem is: the files were imported (and can be accessed from the website, i.e. they are available in the Online project), but I cannot see them in the OpenCms Explorer. The folder where the files are supposed to be is just empty.
 I tried touching the folder, re-building the search indexes, and several things more, but no success.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">So I started investigating the database. I found out that in table CMS_OFFLINE_STRUCTURE, there are actually 4 entries for that very folder; 3 of them have STRUCTURE_STATE = 2, one has STRUCTURE_STATE = 0. Moreover, the resources that are
 supposed to be inside that folder, but are invisible, all have a PARENT_ID that matches the STRUCTURE_ID of one of the 3 folder entries with STRUCTURE_STATE = 2. It seems that this could be the root cause.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can anyone enlighten me on the semantics, or has anyone an idea how to fix this? At the moment I think about using SQL on the database, but I’m unaware about the side effects.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal">Steffen<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>