Boards don't get their PURLs created properly

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Boards don't get their PURLs created properly
« on March 19th, 2012, 12:58 PM »
I believe Nao's already aware of this one, but when creating a board, its pretty URL isn't generated properly, causing all sorts of odd breakage when creating new boards.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Boards don't get their PURLs created properly
« Reply #1, on March 19th, 2012, 10:42 PM »
Yes. I worked on it this morning but was only able to fix a few bugs. The issue is that createBoard generates a dummy URL and then transmits it to modifyBoard. Untouched.
To be complete, there is an identical issue with membergroups. It sets -1,0 by default and never the request into account. Interestingly I had the same problem with Wedge.org when running SMF and thought it was a problem with the noisen codebase. Now I doubt it.
Tomorrow I hope I'll fix it. So many bugs left to look into... But I'll have much more time available.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Boards don't get their PURLs created properly
« Reply #2, on March 19th, 2012, 10:48 PM »
Quote
Yes. I worked on it this morning but was only able to fix a few bugs. The issue is that createBoard generates a dummy URL and then transmits it to modifyBoard. Untouched.
*nods* In our case, though, the generated URL should include domains and the ones I was seeing didn't include that...
Quote
To be complete, there is an identical issue with membergroups. It sets -1,0 by default and never the request into account.
The membergroups UI hasn't been updated to cope with the new boards stuff, so it's still using the old UI and logic. I suspect I'm going to end up mirroring the board->groups logic in group->boards (but using the boards instead of groups if that makes sense)
Quote
Tomorrow I hope I'll fix it. So many bugs left to look into... But I'll have much more time available.
So many bugs, but we'll get there. I'd link the appropriate strip I have in mind but it's not online at present and I don't know if I have an image copy on my HD anywhere.

Nao

  • Dadman with a boy
  • Posts: 16,082