-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Editing Queries Fails After [TBD?] for All 2sxc Queries - 2sxc 19.03.01 #3585
Comments
I have to mention that this is really urgent for us, this is an in-development project and it would require quite a bit of effort to work around NOT being able to use the Visual Query Edit UI. I am available (contact me via Discord) if you have trouble reproducing this. Its happening on multiple projects now and easy to reproduce in a clean local install of DNN+2sxc. |
Additional weirdness - Please read, especially the item at the bottom!!Once the problem happens and all attempts in any app to edit any existing Query fails, we tried the following to get it working again, all failed:
Weird way to get it working again... and then fail again (WTF?)After it fails and you are ready to give up, try this:
|
I need to know where the failure happens. If a "broken" app is installed on another DNN, is it still broken? if yes, could you upload such an app to speed up testing? |
Just FYI, this continues to happen once or twice each work day here. No reproducible pattern. I've adjusted the steps above to eliminate some things that made no difference. |
Since we have this happening for two people on two different machines in 3 projects with any browser, I just want to recap the key observations.
|
Another un-scientific observationIf you go into DevTools, Console, Network tab and slow things down > set the Throttling down to 3G (or Slow 4G), the problem is MORE LIKELY to happen. But then again, I also have the impression its more likely to happen in the morning than in the afternoon. :/ |
Note: I don't do Angular at all, so I might be saying things (about modules or routes) that are wrong... After a week of playing with this on and off and at different times, my general impression is that this is a timing issue. Something that normally (lazy) loads fast-enough is sometimes a little late (not there when needed) and (Angular?) routes fail. When launching in to a new tab (/desktopmodules/tosic_sexycontent/dist/ng-edit/), was anything about the loading modules or routes changed recently? Maybe in relation to the newer ctrl-click feature that forces various front-end edit UIs in to a new tab? |
The timing thing could be a lead. I don't think it's related to the open-link-in-new-window, because the query always opened in a new window. But we did refactor some services to use signals instead of Observables inside Angular. It's possible that something wasn't done quite correctly. Maybe @paulpietzko could look at this next week? |
Tested again by upgrading a site from 2sxc 19.03.01 to v19.03.02. Same error. could not find any differences to what has been reported so far (above). |
After playing some more, I did get something new to happen. After the upgrade, the error happened immediately on the first Query I tried to edit. I tried a few more queries, all new tab > blank+error. Suspiscious of the "timing" issue I made note of the upgrade install happening at 10:01 am. I set a timer to try again after 20 mins. No diff, still broken. Then, I set another timer to try again after 10:31am... and presto, it started working again; I could edit a Visual Query and everything was working like normal for all queries!! So almost exactly 30 mins after the install of the 2sxc upgrade, suddenly the Visual Queries are working completely normal again. I hope this is somehow a helpful clue. |
@Dominikg77 is probably the better one to solve this. |
Bug Affects...
[x] edit experience / UI
[x] admin experience UI
Current Behavior
After adding, editing and saving Visual Queries (which works at first), we add another new one filling out just the Query Name (we named it, "EDN Event Articles by Params", though I doubt that matters), clicked save, then clicked on the new Query's Name field to open the Visual Query editor in a new tab. The tab opens, the page is blank/white. Reloading the new tab makes no difference.
This is the error that appears in the Chrome DevTools/Console log - note that this is in the NEW TAB that opens for the Visual Query edit UI
Expected Behavior
We should be able to Edit Visual Queries like normal.
To Reproduce (Steps, Videos, Screenshots, Apps)
New tab opens, stays blank, error in Console of new tab
The text was updated successfully, but these errors were encountered: