Adding new container was not saved in correct section - Forum

Forum Navigation
You need to log in to create posts and topics.

Adding new container was not saved in correct section

Hi @luishp, I was working on a project for many weeks wiithout issue. A few days ago, I was checking on some sample files downloaded from your site, to learn how its done.  I was cautious about having my project active (multiple projects opened), so I closed them before loading samples.

After closing all sample source, I loaded my project and resume work. I add a container, that's where the symptom appears.

From layout, I could see the new container (c4) placed correctly with the main container (c1). I could click and drag them as well. However, when I run from browser, I could not see container c4.

Out of curosity, I saved and loaded the source file to NotePad++, and searched for container c4. I noted the section for container c4 was misplaced wrongly - outside the main container c1. I then copy,cut, paste to the correct location, within the Container c1 section. And the problem is resolved.

I suspect there could be buffer/cache where strings are not cleared correctly/fully, when opening and closing a project, while VisualNeo Web client is still active. Or the exact location where container c4 was wrongly set along the way...

Before Container c4 is added

<Container id="c1">
 <Components>
  <Container id="c2">
  </Container>
        
  <Container id="c3">
  </Container>
 </Components>
</Container>

 

Container c4 is added, after opening/closing other same projects

<Container id="c1">
 <Components>
  <Container id="c2">
  </Container>
        
  <Container id="c3">
  </Container>
 </Components>
</Container>

<Container id="c4">
</Container>

 

By right, container c4 should be in below section

<Container id="c1">
 <Components>
  <Container id="c2">
  </Container>
        
  <Container id="c3">
  </Container>
  
  <Container id="c4">
  </Container>
 </Components>
</Container>

 

asmat has reacted to this post.
asmat

Hi @ronnie, in order to understand what's happening I would need a step by step procedure to reproduce the problem.
Thank you!

Hi @luishp, I agree it's difficult to reproduce with a sample source as my project has hundreds of containers. If I can reproduce the symptom with a sample project, I'll let you know...