J-Novel Club
    • Categories
    • Recent
    • Tags
    • Users
    • Login

    Library updating problem

    Scheduled Pinned Locked Moved Support
    19 Posts 7 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TerabyteT
      Terabyte
      last edited by Terabyte

      I've tested in Win 10 - Chrome 67.0.3396.99 (64 bit) and search works just fine for me after a hard refresh.

      1 Reply Last reply Reply Quote 0
      • Sam PinanskyS
        Sam Pinansky Translators @Drone205
        last edited by

        @drone205 That's really odd behavior I'm not seeing on my end. Which browser are you using?
        Are you sure when you reloaded you fully reloaded the entire page? Try going to the j-novel.club top page and going back to your library from there.
        If you know how, open up a developer console and tell me if you see any errors there.

        1 Reply Last reply Reply Quote 0
        • Sam PinanskyS
          Sam Pinansky Translators
          last edited by

          This is all a side effect of a tweak I made thanks to New Life + going away.

          In order to make sure people could still see it in their library if they bought it, I changed the way the list ordering works. It used to order by "series" then "volume number", but since the "series" is now private I changed it to ordering based on the volume title alone...

          Hmm, maybe it's an error that only occurs when people have books in their library with a certain property. I thought javascript would let me get away with it but maybe not?

          Someone with the issue open up the developer's console and show me the errors you're seeing there, I have a hunch why it's only effecting certain people.

          M _ 2 Replies Last reply Reply Quote 1
          • M
            MiHeSt Premium Member @Sam Pinansky
            last edited by

            @sam-pinansky

            I just noticed it after reading about it here. I do not use the search function that often. Same issue as Drone205 described. I'm using Chrome an get the following error displayed in the console:

            19.mypagebarlibrary.a2bb2fd5de000488955a.js:7 Uncaught TypeError: Cannot read property 'title' of undefined
            at 19.mypagebarlibrary.a2bb2fd5de000488955a.js:7
            at Array.filter (<anonymous>)
            at s (19.mypagebarlibrary.a2bb2fd5de000488955a.js:7)
            at 19.mypagebarlibrary.a2bb2fd5de000488955a.js:7
            at app.b9de8ec2fe8c531c4b5a.js:48
            at keywordUpdated (19.mypagebarlibrary.a2bb2fd5de000488955a.js:7)
            at t.value (19.mypagebarlibrary.a2bb2fd5de000488955a.js:7)
            at p.updateComponent (app.b9de8ec2fe8c531c4b5a.js:44)
            at p.receiveComponent (app.b9de8ec2fe8c531c4b5a.js:44)
            at Object.receiveComponent (app.b9de8ec2fe8c531c4b5a.js:11)

            Screenshot: https://dropbox.com/s/h6s2833vj9juj3m/CaptureError.PNG

            1 Reply Last reply Reply Quote 0
            • _
              _08 @Sam Pinansky
              last edited by

              @sam-pinansky chrome tools suck apparently, but it may be this thing: .concat(e.serie.title).toLowerCase()
              Also, Paladin isn't sorted well the way you do it.

              1 Reply Last reply Reply Quote 0
              • Sam PinanskyS
                Sam Pinansky Translators
                last edited by

                Both of you are getting the errors because you haven't fully reloaded the website code.

                Clear your cache and fully reload, that error is because you're still using the old version of the website and when you have new life+ in your library it will fail to have a "series" title.

                _ M 2 Replies Last reply Reply Quote 0
                • _
                  _08 @Sam Pinansky
                  last edited by _08

                  @sam-pinansky no.
                  The script from July 2 performs filtering by checking the serie title, among other things

                  Sam PinanskyS 1 Reply Last reply Reply Quote 0
                  • M
                    MiHeSt Premium Member @Sam Pinansky
                    last edited by

                    @sam-pinansky No, I cleared all browsing history, cookies and site data. Still the same issue. I used Firefox instead of Chrome (which I had not previously used for j-novel.club). Still the same issue. Tried Chrome-Browser on my smartphone. Still the same issue.

                    1 Reply Last reply Reply Quote 0
                    • Sam PinanskyS
                      Sam Pinansky Translators @_08
                      last edited by Sam Pinansky

                      @_08 I made the update earlier today though... The current code on the site definitely doesn't have that anymore.
                      There's got to be some caching of the old js somewhere.

                      Edit: looks like the hash number of your file is the latest version, and I can see the code fragment listed above... Now to figure out where in the world that's coming from in the non-obfuscated code.

                      I wish it was occuring on my side....

                      Ah, found it! There's the culprit, it was hiding in the container code. Should have a fix up in a minute or two.

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        MiHeSt Premium Member @Sam Pinansky
                        last edited by

                        @sam-pinansky I can confirm: Now the filter function is working for me.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post