TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    NodeBB 1.17 and later breaks PBF compatibility

    Scheduled Pinned Locked Moved Player Help
    28 Posts 10 Posters 9.1k Views 10 Watching
    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.
    • PantherP Offline
      Panther Admin Moderators
      last edited by Panther

      As already noticed on axisandallies. org and potentially here after the next forum software update:

      https://github.com/triplea-game/triplea/issues/10032

      Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

      ubernautU 1 Reply Last reply Reply Quote 1
      • ubernautU Offline
        ubernaut Moderators @Panther
        last edited by

        @panther i thought we already had that issue here and fixed in prerelease is this something new?

        "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

        PantherP 1 Reply Last reply Reply Quote 0
        • PantherP Offline
          Panther Admin Moderators @ubernaut
          last edited by Panther

          @ubernaut

          Yes, this is new.

          I can reproduce it with the current prerelease:

          trax.png

          You won't notice this on this forum, yet, as this forum runs on the very outdated NodeBB 1.16.2 while the current version is 1.19.1.

          TripleA (as well as this forum's software) needs to be updated to support PBF on forum software versions >=1.17.0.

          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

          B ubernautU 2 Replies Last reply Reply Quote 0
          • B Offline
            beelee @Panther
            last edited by

            @panther yea i saw where Djensen talked to the nodebb guys and they found where it broke but Idk anything about a fix. Not sure, but my guess is triplea needs to change to make it work ?

            1 Reply Last reply Reply Quote 1
            • ubernautU Offline
              ubernaut Moderators @Panther
              last edited by

              @panther gotcha just making sure 🙂

              "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

              1 Reply Last reply Reply Quote 0
              • LaFayetteL Offline
                LaFayette Admin
                last edited by

                Joy, perhaps that update can be done in a backward compatible way in 2.6, though it'll be an ugly hack. I don't know how we can preserve 2.5 to still work after updating the forum software.

                djensen47D 1 Reply Last reply Reply Quote 1
                • djensen47D Offline
                  djensen47 @LaFayette
                  last edited by

                  @lafayette I don't know how the code works but if this piece is encapsulated in it's own class, then you can extract an interface and have two implementations of the interface. Then you can use a factory method to return the correct instance based on a key. In this case the key could be some constant that represents the forum in question.

                  LaFayetteL 1 Reply Last reply Reply Quote 1
                  • LaFayetteL Offline
                    LaFayette Admin @djensen47
                    last edited by

                    @djensen47 I was more thinking how to handle updating the TripleA forum. Presumably we'll need to handle both formats; I think 2.6 will precede the forum upgrade. To handle this in code it will be seemingly ugly as the code will have to do things like "is this map?" no, okay, "is this a list?"

                    djensen47D 1 Reply Last reply Reply Quote 0
                    • djensen47D Offline
                      djensen47 @LaFayette
                      last edited by

                      @lafayette I was thinking the same ... maybe I need to see the code. Where's the entry point for this code? E.g., where I can see the forum posting workflow?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        simon33 @djensen47
                        last edited by

                        @djensen47 Is it feasible to roll back to the previous version of NodeBB?

                        PantherP 1 Reply Last reply Reply Quote 0
                        • PantherP Offline
                          Panther Admin Moderators @simon33
                          last edited by

                          @simon33 The previous version had other bugs affecting forum functionality.

                          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                          1 Reply Last reply Reply Quote 1
                          • RoiEXR Offline
                            RoiEX Admin
                            last edited by

                            I created https://github.com/triplea-game/triplea/pull/10059/files to quickly fix this issue without breaking compatibility. Not pretty but it should work for now

                            PantherP redrumR 3 Replies Last reply Reply Quote 3
                            • PantherP Offline
                              Panther Admin Moderators @RoiEX
                              last edited by Panther

                              @roiex

                              Thank you.

                              Unfortunately no one has merged this until now.
                              Can you maybe self-merge this?

                              However, this would result in another 2.6 -prerelease - so in a version that for other reasons currently can't be recommended for general usage, at least as far as I understand it. Any chance we can have sort of a fix that runs with the current stable?

                              Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                              B 1 Reply Last reply Reply Quote 1
                              • B Offline
                                beelee @Panther
                                last edited by

                                @panther yea adding this fix only to another 2.5 would be the way to go. Idk if that's simple or not. People would still need to DL the new one but without the 2.6 stuff that is still being worked on.

                                1 Reply Last reply Reply Quote 0
                                • redrumR Offline
                                  redrum Admin @RoiEX
                                  last edited by

                                  @roiex Message me if you need someone to review it.

                                  If the current master isn't in a good state to release soon then it might be better to patch the current release version and release that.

                                  TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                                  RoiEXR 1 Reply Last reply Reply Quote 2
                                  • RoiEXR Offline
                                    RoiEX Admin @redrum
                                    last edited by

                                    @redrum

                                    If you have like 5 Minutes, please feel free to review it, it's a rather small change. Not really clean but it should work for now

                                    redrumR 1 Reply Last reply Reply Quote 1
                                    • redrumR Offline
                                      redrum Admin @RoiEX
                                      last edited by

                                      @roiex Yeah, looks good. I merged it. Do you know if we are close to pushing out a release? Otherwise, we should probably consider putting that fix into 2.5 and pushing it out.

                                      TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                                      1 Reply Last reply Reply Quote 2
                                      • PantherP Offline
                                        Panther Admin Moderators
                                        last edited by

                                        @roiex @redrum

                                        I just want to bring this issue back to attention. It seems like we get no answer to the question how close a 2.6 release actually is.

                                        This seems to indicate that it might be useful to push an updated 2.5 stable.

                                        Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                                        LaFayetteL 1 Reply Last reply Reply Quote 3
                                        • LaFayetteL Offline
                                          LaFayette Admin @Panther
                                          last edited by

                                          @panther This is the 2.6 project: https://github.com/triplea-game/triplea/projects/25

                                          Volunteers to help come up with a list of any other items that need to be fixed would be really welcome (https://forums.triplea-game.org/topic/2999/2-6-release-getting-close-need-volunteers-to-help-beta-test-2-6/3)

                                          1 Reply Last reply Reply Quote 0
                                          • PantherP Offline
                                            Panther Admin Moderators @RoiEX
                                            last edited by Panther

                                            @roiex

                                            Unfortunately this fix doesn't work as expected.
                                            I have just verified
                                            https://github.com/triplea-game/triplea/issues/10117

                                            and can confirm it with 2.6.571.

                                            Anyone else tested PBF on A&A .org using a current prerelease?

                                            cc: @redrum

                                            Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                                            redrumR 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums