會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

User Forum » Empty list of private messages

發表人: shar
4 年 前
Trying JForum. Tomcat 9.0, JDK 11.
I installed JForum 2.6.2 (hsqldb). I Sent a private message to myself.
There is nothing in the list of private messages. Although at the top there is information about one new personal message.
What could I have done wrong?
Thank you in advance for your answer.

發表人: udittmer
4 年 前
That's odd. I just sent myself a message here on this site, and it was listed as expected.

Does it work for you on this site?

Are there any messages in the jforum.log file?

Which DB are you using?

發表人: shar
4 年 前
I wrote in my question that I use hsqldb.
Yes, everything works on this site. That's why I asked.
There are no errors in the Tomcat log.
jforum.log I found only in the hsqldb directory. Is that him?

/*C17*/SET SCHEMA PUBLIC
INSERT INTO JFORUM_PRIVMSGS VALUES(1,2,'test private send',3,2,'2020-04-11 06:44:45.282000','0:0:0:0:0:0:0:1',1,0,1,1)
INSERT INTO JFORUM_PRIVMSGS_TEXT VALUES(1,'jforum-2.6.2')
INSERT INTO JFORUM_PRIVMSGS VALUES(2,1,'test private send',3,2,'2020-04-11 06:44:45.282000','0:0:0:0:0:0:0:1',1,0,1,1)
INSERT INTO JFORUM_PRIVMSGS_TEXT VALUES(2,'jforum-2.6.2')
COMMIT
DISCONNECT
/*C18*/SET SCHEMA PUBLIC
DISCONNECT
/*C19*/SET SCHEMA PUBLIC
DISCONNECT
/*C20*/SET SCHEMA PUBLIC
DISCONNECT

發表人: udittmer
4 年 前
Ah, I missed that about HSQLDB. I meant jforum.log, but the actual SQL is useful, too, because it shows that everything is inserted into the DB correctly.

This site uses JForum 2.6.0, it could be that there was a bug introduced between 2.6.0 and 2.6.2. I'll check it with HSQLDB, and post here what I find.

發表人: shar
4 年 前
I also tried JForum 2.6.0. I have the same result.

發表人: udittmer
4 年 前
I see what's going on, there's a bug specifically affecting private messages in HSQLDB. I'll fix that in the next few days.

發表人: shar
4 年 前
Thanks smilie

發表人: udittmer
4 年 前
I've checked in a fix for this bug. The problem is in the Java code, so there's no easily applicable fix for existing JForum versions. You can either build your own war file from the source code, or wait a few days for me to upload a stable beta version of JForum 2.7; it needs just a little bit more work, but is otherwise ready to go.

發表人: shar
4 年 前
Apparently, we'll have to wait. I would very much like to build the project myself. However, I couldn't find a complete project for 2.6.2 that would be built without errors. I tried to take sources from
https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/
However, the build is interrupted because there are no dependencies.
I haven't been able to fix it yet. smilie

發表人: udittmer
4 年 前
Yes, you'll have to wait until we get around to uploading the 2.7.0 beta. There's only so much time unpaid volunteers can put into a project, I'm afraid (Please visit my home page at https://www.ulfdittmer.com if you want to support me via Amazon or Paypal smilie )

I have checked in a fix for the build problem, though, so you should be able to create your own war file from the latest sources.

發表人: shar
4 年 前
OK
However, I still do not lose hope of putting together a project.
I saw that other people also had problems with dependencies when building with maven.
Can you give me some tips on known build problems?
For example, are all sources located at the address?
https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/

Accordingly, is it enough to take these sources and run mvn, or is it better to build from the IDE (Eclipse, Netbeans)?
I want to understand that I have something wrong or there may still be external problems.
I'm still exploring the possibility of using JForum.
But I would like to have a project that I could control.
All I need to do is make sure that I can build the project myself.
If you don't have time there is no problem. I appreciate your time smilie
Thank you in advance for your response.

發表人: udittmer
4 年 前
Yes, that trunk directory is the source code used to put together public releases. We try to keep it stable and functional whenever possible. If the source of the HEAD doesn't even build, we would consider that a serious bug. Not sure what issue you are seeing, but I just tried the following, and it produced a war file just fine:

svn checkout svn://svn.code.sf.net/p/jforum2/code/trunk jforum2-code
cd jforum2-code
mvn -DskipTests=true package

Tests need to be skipped because they require database setup.

Make sure to switch the Maven repo from HTTP to HTTPS in your .m2/settings.xml file. That's been required by Maven since December, but has nothing to do with JForum2.

發表人: shar
4 年 前
Now the package is assembled. I tested it and now the list of private messages is displayed.
Excellent work smilie

發表人: udittmer
4 年 前
There's now a beta version of the upcoming 2.7.0 available, including a war file - see the message at the forum top. All feedback is welcome.

發表人: shar
4 年 前
Until found 15 minutes to test jforum-2.7.0 1 (HSQLDB).
So far, only one question has appeared. What should be displayed in the moderation log form. I started a moderated forum. I started the message and approved it in the admin dialog. I expected to see it on this list. But I didn't see it.
Well, the cherry on the cake message "You are now watching this forum" is not translated into Russian. But of course it doesn't matter.




會員註冊 / 登入  |  電腦版  |  Jump to top of page