Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.9.1
    • Labels:
      None
    • Sprint:
      July 2018 Sprint

      Description

      In lucee, using a fileClose() the status is not changed is still being open.In ACF, it changed the status into closed.

            base = GetDirectoryFromPath(GetCurrentTemplatePath());
      	if(!directoryExists(base&"fileDir")){
      		directoryCreate(base&'fileDir');
      	}
      	path = base&"/fileDir/sample.txt";
      	result=fileopen(path,'write');
      	fileWrite(result,'I love lucee');
      	writeDump(var=result, label="before closing a file");
      	fileclose(result);
      	writeDump(var=result, label="After closing a file");
      

      Result:
      ACF : Closed
      Lucee: Open

        Attachments

          Activity

            People

            • Assignee:
              michael1 Michael Offner
              Reporter:
              pothys-mitrahsoft Pothys - MitrahSoft
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: