#4502 NEEDS MONGO QUERY Migrated forum bugs

v1.0.0
closed
General
Cory Johns
2015-08-20
2012-07-05
Chris Tsai
No

https://sourceforge.net/apps/trac/sourceforge/ticket/26504
https://sourceforge.net/apps/trac/sourceforge/ticket/26505
https://sourceforge.net/apps/trac/sourceforge/ticket/26506

I upgraded my project vllasku to SourceForge 2.0 beta, and now the forum posts have lost all empty lines. It seems that multiple consequent line feeds are always converted to a single one. This also affects new messages created within 2.0 and makes quite a few of the messages look messy.


I upgraded my project vllasku to 2.0 beta, and now I'm unable to add new topics to the discussion forum. The url https://sourceforge.net/p/vllasku/discussion/save_new_topic throws error 500 "We're sorry but we weren't able to process this request."


I upgraded my project vllasku to 2.0 beta, and now the discussion forum displays all topics in ascending date order instead of descending order, and I couldn't find a place where this could be controlled. How can I change the order to descending?

Related

Tickets: #4532

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-07-05

    26504 I believe is the same as [#4442] which should be fixed soon.

     

    Related

    Tickets: #4442

  • Dave Brondsema

    Dave Brondsema - 2012-07-05

    Trace for the 2nd issue:

    Module forgediscussion.model.forum:147 in post
    <<      def post(self, subject, text, message_id=None, parent_id=None, **kw):
                   post = super(ForumThread, self).post(text, message_id=message_id, parent_id=parent_id, **kw)
                   if not self.first_post_id:
                       self.first_post_id = post._id
    >>  post = super(ForumThread, self).post(text, message_id=message_id, parent_id=parent_id, **kw)
    Module allura.model.discuss:198 in post
    <<              log.info('Auto-approving message from %s', c.user.username)
                       file_info = kw.get('file_info', None)
                       post.approve(file_info)
                   else:
                       self.notify_moderators(post)
    >>  post.approve(file_info)
    Module allura.model.discuss:484 in approve
    <<          n = Notification.post(artifact, 'message', post=self, file_info=file_info)
                   if hasattr(self.discussion,"monitoring_email") and self.discussion.monitoring_email:
                       n.send_simple(self.discussion.monitoring_email)
                   session(self).flush()
                   self.thread.last_post_date = max(
    >>  n.send_simple(self.discussion.monitoring_email)
    AttributeError: 'NoneType' object has no attribute 'send_simple'
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-07-05
    • labels: support --> support, migration
    • milestone: limbo --> forge-jul-13
     
  • Dave Brondsema

    Dave Brondsema - 2012-07-05

    Third issue has sort order fixed in dev (will be pushed next week maybe). And if the data is incorrect, [#4491] will be providing a cleanup script.

     

    Related

    Tickets: #4491

  • Jenny Steele - 2012-07-05
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2012-07-06
    • status: in-progress --> code-review
    • qa: Cory Johns
    • size: --> 2
     
  • Jenny Steele - 2012-07-06

    On allura and forge-classic js/4502. To test, migrate a project with forums then add a monitoring email to a forum. Make sure you are able to successfully create a new thread in that forum.

     
  • Cory Johns - 2012-07-09
    • status: code-review --> closed
     
  • Jenny Steele - 2012-07-09

    This needs to be run on prod mongo for pyforge db after push:

    db.project.update({notifications_disabled:true},{'$set':{notifications_disabled:false}}, false, true)
    
    • summary: Migrated forum bugs --> NEEDS MONGO QUERY Migrated forum bugs

    • status: closed --> validation

     
  • Jenny Steele - 2012-07-12
    • status: validation --> closed
     

Log in to post a comment.