• Resolved Curtiss Grymala

    (@cgrymala)


    When I attempt to go back and view an existing report (for instance, to try to compare it with a new one), I don’t actually get to see anything. The report seems to load in the admin area, but then a modal dialog pops up with a single button inside that says “Accessibility Reports”. The only way to get out of that dialog is to click the button, which takes me back to the list of existing reports.

    Is this a bug? If this is expected behavior, is there any way for me to look back through my old reports to see what changes/improvements I’ve been able to successfully make? Thanks.

    https://www.ads-software.com/plugins/access-monitor/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    A modal dialog? That’s…weird. It seems like that must be interference from some other plug-in, but I’m not sure what it would be. There’s definitely no modal dialog in Access Monitor.

    Can you cycle your plug-ins to try and identify what might be doing this?

    Thread Starter Curtiss Grymala

    (@cgrymala)

    Looks like there is a plugin conflict. I’m working on hunting down the root cause, but it doesn’t look like it’s actually an issue with your plugin. Thanks for the help.

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks! When you find it, I’d love to know what the cause is.

    Thread Starter Curtiss Grymala

    (@cgrymala)

    Ultimately, after a lot of testing, it seems like it has something to do with me trying to instantiate an object as soon as my plugin is loaded, rather than hooking into an action to instantiate the object.

    I even tried having the __construct() method in my plugin’s class return void before doing anything at all (so, basically, all I was doing was instantiating a stdClass with a few properties, but no methods, and no hooks), and it still caused the same issue. I have no idea what ultimately caused the problem, though.

    Regarding the dialog itself, it was the dialog box you normally see when someone else is editing a page. However, instead of having text in it that indicated that (it had all of the appropriate spans, etc. inside of it, but they were all empty), it just had the button that returned me to the list of posts (in this case, the list of Accessibility Reports).

    Here’s the plugin that caused the conflict, if you think you might see anything that would have caused the issue. Like I said, even if I made the class completely empty except for the variables, it still caused the problem.

    https://github.com/UMWEDU/online-tools/commit/021deb88ca9bc3b0f91d80a4e6d1cbe9a3b8413c

    Plugin Author Joe Dolson

    (@joedolson)

    That sounds seriously interesting…and also pretty weird. I’ll take a look! Thanks!

    Plugin Author Joe Dolson

    (@joedolson)

    That’s truly strange. I didn’t have time to investigate it in depth, but I’m definitely struggling to imagine how that issue could have caused those results…it must have something to do with a core locking class, or something, but I have no idea.

    It seems like it’s unlikely to be a common issue, so I’m not going to worry about it. Thanks for sharing your results, though!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't View Existing Reports’ is closed to new replies.