Re: media file folder delete

2013-07-30 Thread Glen Mazza
Fixed the Eclipselink issue in a way that the code will still work with Hibernate. We'll keep the Hibernate for awhile to see if it has any issues. When we delete a media folder, Eclipselink does indeed remove it from the database (the Flush Mode COMMIT/AUTO had nothing to do with the problem

Need a moderator to subscribe Jenkins to the Roller DEV list

2013-07-30 Thread Glen Mazza
We need an dev-list email moderator (presumably Dave, I don't know who else can moderate), to subscribe the Jenkins account to dev@roller.apache.org so it can receive Jenkins build fail/pass messages: Following these instructions: http://wiki.apache.org/general/Jenkins#How_do_I_allow_Jenkins_t

Re: media file folder delete

2013-07-30 Thread Glen Mazza
Np, one sec... On 07/30/2013 07:06 AM, Greg Huber wrote: Glen, OK, can you make the changes to the trunk so i can switch to hibernate. On 30 July 2013 11:47, Glen Mazza wrote: Much appreciated. I was thinking it may be good for us to run on Hibernate for a few weeks anyway, even if Eclipse

Re: media file folder delete

2013-07-30 Thread Greg Huber
Glen, OK, can you make the changes to the trunk so i can switch to hibernate. On 30 July 2013 11:47, Glen Mazza wrote: > Much appreciated. I was thinking it may be good for us to run on > Hibernate for a few weeks anyway, even if EclipseLink were running > perfectly, just to see if there are a

Re: media file folder delete

2013-07-30 Thread Glen Mazza
Much appreciated. I was thinking it may be good for us to run on Hibernate for a few weeks anyway, even if EclipseLink were running perfectly, just to see if there are any kinks with it where our code needs to be tightened up. I can fix EclipseLink's problem in the interim so if/when *Hiberna

Re: media file folder delete

2013-07-30 Thread Greg Huber
Glen, I was trying to add the usecase but ran into the howto debug issue. I will sort the test if I manage to get the debug working. Cheers Greg On 30 July 2013 11:05, Glen Mazza wrote: > Let me play with it today before throwing in the towel and going with > Hibernate. Even if we jump to Hib

Re: media file folder delete

2013-07-30 Thread Glen Mazza
Actually, if you can give me a *few* days (by this weekend), I may need a little bit more time to look at the persistence portion. Glen On 07/30/2013 06:05 AM, Glen Mazza wrote: Let me play with it today before throwing in the towel and going with Hibernate. Even if we jump to Hibernate I stil

Re: media file folder delete

2013-07-30 Thread Glen Mazza
Let me play with it today before throwing in the towel and going with Hibernate. Even if we jump to Hibernate I still need to figure out the EclipseLink matter so our coding is not dependent on one JPA framework alone, we should be able to work with both or have a JIRA ticket with EclipseLink.

Re: Searching with locale on Multi Language blog

2013-07-30 Thread Maciej Rumianowski
Okay issue created https://issues.apache.org/jira/browse/ROL-1965 with patch attached, hope You like it :) Maciej 2013/7/30 Glen Mazza > Hi Maciej, please open a JIRA issue at https://issues.apache.org/** > jira/browse/ROL and attach > your patch to

Re: run/debug tests locally

2013-07-30 Thread Glen Mazza
Sure, I blogged it here for Eclipse and IntelliJ: http://www.jroller.com/gmazza/entry/jpa_and_junit Enter from a command-line window (remove #methodName if you want to debug all tests, but normally you want 1-by-1): roller/app$ mvn test -Dtest=TestClassName#methodName -Dmaven.surefire.debug Y

Re: Searching with locale on Multi Language blog

2013-07-30 Thread Glen Mazza
Hi Maciej, please open a JIRA issue at https://issues.apache.org/jira/browse/ROL and attach your patch to it partly for Apache licensing reasons. Also, that way, even if we don't apply the patch due to lack of time or disagreement it doesn't get lost and can always be referred to later. (BTW

Re: Searching with locale on Multi Language blog

2013-07-30 Thread Maciej Rumianowski
Okay, this is the second version of the patch. It is much more simpler, only add locale to search fields and perform searches with current locale (or without if locale is not set) Now when search is performed from: http://localhost:8083/roller/test/ - search in all languages and return links witho

Re: Searching with locale on Multi Language blog

2013-07-30 Thread Maciej Rumianowski
2013/7/29 Glen Mazza > Oh, um, never mind on one point -- I was complaining below about having > URLs like > http://www.jroller.com/gmazza/**en/entry/myblogentryand > http://www.jroller.com/gmazza/**entry/myblogentry

Re: media file folder delete

2013-07-30 Thread Greg Huber
Glen, Commenting out the FlushModeType.COMMIT makes no difference, (assumes it switches to auto). Would have thought that createNamedQuery or createQuery would behave the same way as they both follow the same logic in roller. Where one works and one does not, maybe an EclipseLink issue. I am no e

run/debug tests locally

2013-07-30 Thread Greg Huber
Glen, Any ideas on how to run/debug the local unit tests in eclipse? This seems quite difficult. The tests seem now are purely focused on the finial build, and really not caring about its surrounding ecosystem :( Cheers Greg.