This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 18, 2011, 3:00 PM
94 Posts

Anyone else experience duplicate tag corruption of their page?

  • Category: Custom JSF code (Eclipse IDE)
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 6
Just about every week, I'll be working in a custom control, adding features, changing items for readability or adding js to buttons - whatever... when the next time I check in my browser, my changes aren't there.    Hmm.. maybe I didn't save it - yep, it's saved.  Ok, now what - oh, look, I HAVE 81 ERRORS ON THE PAGE.  What gives?  Well, lo and behold Designer has somehow corrupted my page with multiple duplicate tags of virtually my whole page.  So, now I have to spend the next hour going through my source LINE BY LINE to delete out the duplicate code.
 
As I said, this happens quite frequently - like once a week - and sometimes more than once a day.  I thought maybe it was because I copy-and-paste code from one page to another, and thought maybe that was my problem.  But, I don't think that's it - as it has just happened again.
 
Has anyone else had this happen to them? - is their a known cause? - or, could it just be me and my setup?
 
 
Mar 18, 2011, 4:52 PM
9 Posts
Re: Anyone else experience duplicate tag corruption of their page?
 Same thing happens to me, in fact it just happened an hour ago.
 
I'm starting to take a copy of any file I'm working on so I can quickly recover a corrupted element. 
Mar 18, 2011, 4:54 PM
53 Posts
Re: Anyone else experience duplicate tag corruption of their page?
Yes I have seen it, only occassionally though and I suspected it had something to do with dragging controls into the source for the xPage then editing them, but I'm not actually sure about that any more. As I say it's very occassional for me so I haven't pinned it down at all.
Mar 18, 2011, 5:25 PM
66 Posts
Re: Anyone else experience duplicate tag corruption of their page?
Have experienced this numerous times.
Mar 18, 2011, 6:53 PM
14 Posts
Yes, yes, yes!
This has happened to me numerous times. Very frustrating! A quick tip given to me by Russell Maher (I believe) - If you right click on the custom control you will see an option Compare With => Local History. This will bring up older version of the XML which have been saved. This can be a huge time saver.
 
Elijah
Mar 18, 2011, 8:10 PM
8 Posts
Re: Anyone else experience duplicate tag corruption of their page? (Bob Cross 18.Mar.2011)
 If u copy&paste then this happens :( very frustrating. U should save after every step u do to see if there are errors. Copy&Paste in the source code view is better ;-) 
Mar 20, 2011, 5:27 PM
33 Posts
Re: Anyone else experience duplicate tag corruption of their page?
I experienced the same behaviour many times.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal