From: SourceForge.net <no...@so...> - 2008-03-30 02:20:29
|
Bugs item #1841636, was opened at 2007-11-30 03:30 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=586478&aid=1841636&group_id=88385 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v2.5 >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Alessandro Gasparini (blucecio) Summary: Bug in Menu->getParents() Initial Comment: getParents() in Menu parses the co_menupath by splitting it with '/'. This leads to a bug, if the menupath contains the File.separator '\' instead. When creating the menupath for a new menu the current File.separator character is used. Depending on the operating system (Windows e.g.) this character is '\' instead of '/'. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2008-03-29 19:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-12-16 09:09 Message: Logged In: NO Sorry, I confused this with request 1844132, that was also submitted by me. But anyway the getParent()-method will not work correctly, if a menupath contains '\' instead of '/'. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-12-16 09:05 Message: Logged In: NO Yes I stumbled upon this, because a subfolder was not visible when using REST to get the folder content (I was logged in as admin, so I it was no problem with the permissions). All other subfolders (that were created via the REST interface) were visible. So I took my debugger..et voila, the folder was not found because the menupath was not parsed correctly. I fixed this in our version by replacing File.separator with the hardcoded '/' and it worked. ---------------------------------------------------------------------- Comment By: Sebastian Stein (steinchen) Date: 2007-12-16 08:36 Message: Logged In: YES user_id=79775 Originator: NO Have you really noticed a bug, because I'm testing contineo always on Windows as well as Linux and it never failed because of that. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-11-30 03:34 Message: Logged In: NO Update: There is only one class that uses File.separator for the menupath in new menu entries: SaveFolderAction. All other classes use the hardcoded '/' character. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=586478&aid=1841636&group_id=88385 |