https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362006-01-24T22:28:24ZEcoinformatics RedmineKepler - Bug #2330: Saving a workflow doesn't add .xml or .moml extendershttps://projects.ecoinformatics.org/ecoinfo/issues/2330?journal_id=79832006-01-24T22:28:24ZChad Berkleyberkley@nceas.ucsb.edu
<ul></ul><p>I modified PTII ptolemy/actor/gui/TableauFrame code to put a .xml extension on<br />the files when it save them. it only puts the extension on them if the user<br />hasn't specified an extension and the "all files" filter is not chosen.</p> Kepler - Bug #2330: Saving a workflow doesn't add .xml or .moml extendershttps://projects.ecoinformatics.org/ecoinfo/issues/2330?journal_id=79842006-01-26T17:42:08ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>Hi Chad,<br />My concern is that adding the filter to TableauFrame is the wrong place,<br />since TableauFrame is the base class that is used by other classes that are<br />not .xml or .moml files.</p>
<p>For example, in Ptolemy, Do File -> New -> Text Editor<br />Type some text<br />Do File -> Save<br />Change the name to README<br />Save the file.<br />The file is saved as README.xml</p>
<p>This does not seem quite right, perhaps we can put the "Add the .xml" <br />code somewhere lower in the class hierarchy? I'm reopening this bug<br />pending a fix for this problem.</p>
<p>This bug seems like the bug in wordpad or notepad where you can't save a <br />file without .txt being added automagically.</p> Kepler - Bug #2330: Saving a workflow doesn't add .xml or .moml extendershttps://projects.ecoinformatics.org/ecoinfo/issues/2330?journal_id=79852006-02-13T22:24:18ZChad Berkleyberkley@nceas.ucsb.edu
<ul></ul><p>Christopher fixed this in the ptii code (right christopher?)</p> Kepler - Bug #2330: Saving a workflow doesn't add .xml or .moml extendershttps://projects.ecoinformatics.org/ecoinfo/issues/2330?journal_id=79862006-02-13T23:27:42ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>Yep, I think I fixed this, but I neglected to close the bug pending<br />testing by someone else.<br />I think it can stay closed.</p> Kepler - Bug #2330: Saving a workflow doesn't add .xml or .moml extendershttps://projects.ecoinformatics.org/ecoinfo/issues/2330?journal_id=79872013-03-27T21:19:50ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 2330</p>