-
Notifications
You must be signed in to change notification settings - Fork 2
template build problems #29
Comments
Do you have any example situations of where this was happening (any particular pages)? Does it just stop responding after a while? Is it for any particular browser? I'll keep an eye out for this happening and i'll check the console for errors, but I haven't seen it myself so far.
|
It seems to break just after I modify some JS code or PHP and then I see that error, not very consistent though, a refresh usually fixes it but would lose the clients info. The main place I noticed this was when adding/removing roles and an error like missing parameter would be in the console and the role would have been added but the box would not have reloaded. |
Okay, can you reproduce this..!
|
Yes I'm getting your situation in IE8. I'm also getting the console errors you mentioned: when you try to edit the new user's details, it throws up I'll keep looking. |
I think I've found the cause, although not the solution. Notice that the "DoB" value reads 'undefined' for new entries (I should possibly define something else as default value), so when the template is built with the values of the new data an error is thrown when that 'undefined' variable is reached. For some reason, if some full data has already been loaded, then replaced by the row with the missing value the variable name now exists but the value is set to 'undefined' so no error finding this missing variable (because name now defined). I'm not sure quite how this works (i.e. the difference between an undefined variable and a variable with undefined value, or why replacing/updating the row [in JS page memory] keeps the previous (now empty) elements). Clearly this needs to be fixed. Unfortunately the code |
Hi K,
I have noticed that in some situations pages will stop loading, could you narrow this down for me?
You should see an error in the console about template building.
Cheers
The text was updated successfully, but these errors were encountered: