Page breaks with most things I do right now

  • 1
  • Problem
  • Updated 4 years ago
  • Acknowledged
I am having an issue with the page builder for my page. I have a popup that I am trying to configure and add more fields to it but everytime I add a field, try to add a rendering condition the builder configuration is going blank and thinking that I have made changes that I have not. I also have seen a couple times when dragging a component that the Orange Line for placement will get frozen and in both cases the pages breaks if you save it and then I have to Back Door in and revert the XML from a manual backup of the XML (Versions never loads just sits at loading UI block). I have taken some screenshots and below is the error the actual page & the builder gives if you save the Page Builder, reverting the XML then fixes it but I cannot make any changes through the builder as the weird blank configuration thing happens.

I need help, any Ideas why the builder keeps crapping out?

Also,
When trying to Add a field from the model the popup where i pick the field will freeze and not go away when clicking Save it just craps out as well and the same issue happens if you save the page.

I am able to make some changes to the page once I restore the working XML but not much of anything useful. I am using the Superbank release.




Encountered premature end of XML: no more data available - expected end tags </jsitem></javascript></resources></skuidpage> to close start tag <jsitem> from line 133 and start tag <javascript> from line 66 and start tag <resources> from line 1 and start tag <skuidpage> from line 1, parser stopped on START_TAG seen ...ata.length){\n\t\t childModel.createRow();\n\t\t childModel.save()... @140:24 

An unexpected error has occurred. Your solution provider has been notified. (skuid)
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb

Posted 4 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Whoa!!! That's a doozy. Something went haywire with the XML it seems. Can you copy and paste it here?
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
The contents of the tabs are different also, I show forms inputs on the the orange tab and then the green tabs are for read only fields and layed out differently. I like the two tab approach I just need this thing to not break at 20540 lines.
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
20540 lines = 20 KB , this has to be some kind of bug/limitation set inside Skuid
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Just throwing stuff at the wall to see if you like any of it. :D
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
appreciate it man, maybe Skuid can up the limit or has an easy fix to go past 20540 XML lines. If not I might have to start moving things to page includes and do full page refresh's. I would think XML should be allowed to go further, heap size is still low this is all just html.
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
appreciate it man, maybe Skuid can up the limit or has an easy fix to go past 20540 XML lines. If not I might have to start moving things to page includes and do full page refresh's. I would think XML should be allowed to go further, heap size is still low this is all just html.
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
Heres another error that i get that is different but caused by adding a new field to the model using the model popup when adding to a field editor.

Encountered premature end of XML: no more data available - expected end tags </resources></skuidpage> to close start tag <resources> from line 1 and start tag <skuidpage> from line 1, parser stopped on END_TAG seen ...</javascript></resource... @143:43 

An unexpected error has occurred. Your solution provider has been notified. (skuid)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I don't they're going to change that limit all that soon. Well you probably well of all the options to trim it down. Page includes is likely the easiest way to go.
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
20540 just doesn't seem that high to me. How many lines is one of your biggest pages?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Typically between 2-6000 lines.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
There is a limit to how big your page can be.  If you look carefully at the Skuid Page object - you will find that we use 5 "Long text" fields to hold your XML file.  32000 characters x 5 = largest page size...

Check out this forum post with a tool Zach created to see if your page is really too big.. 
https://community.skuidify.com/skuid/topics/my_skuid_page_is_really_big

Jarrod,  hopefully that is the answer.  But if not - we'd like to explore further what is going on with your XML wierdness..