Skip to content

The FolderObjectStorage class SaveObject<T>method has a issues #246

Closed

Description

@d18zj

When log level is changed from DEBUG to INFO, The client-side server-settings.json file will be incorrect.
``

{"@@UserAgentBotPatterns":"bot,crawler,spider,aolbuild,teoma,yahoo","@@log:*":"debug"}
``

After the update, there is an additional } sign at the end

{"@@UserAgentBotPatterns":"*bot*,*crawler*,*spider*,*aolbuild*,*teoma*,*yahoo*","@@log:*":"info"}}

should modify FolderObjectStorage.cs like this:
image

Activity

  1. changed the title [-]Then FolderObjectStorage class SaveObject<T>method has a issues[/-] [+]The FolderObjectStorage class SaveObject<T>method has a issues[/+] on Mar 11, 2021
  2. niemyjski commented on Mar 11, 2021

    @niemyjski
    Member

    Thanks for this report and nice find! I wonder why we did OpenWrite there. Is there any chance you could create a test and submit this change in a pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址