nuget-feed/src/jetbrains/buildServer/nuget/feed/server/tab/PackagesSettingsController.java [238:256]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        @Override
        public void process(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response, @Nullable Element xmlResponse) {
            final ActionErrors errors = new ActionErrors();
            final SProject project = getProject(request);
            try {
                if (project == null) {
                    errors.addError("projectNotFound", "Project was not found");
                    return;
                }

                if (project.isReadOnly()) {
                    errors.addError("cannotEditProject", "Project is read-only");
                    return;
                }

                final String type = request.getParameter("type");
                if (StringUtil.isEmpty(type)) {
                    errors.addError(RepositoryConstants.REPOSITORY_TYPE_KEY, "Repository type not found");
                    return;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



nuget-feed/src/jetbrains/buildServer/nuget/feed/server/tab/PackagesSettingsController.java [292:310]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        @Override
        public void process(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response, @Nullable Element xmlResponse) {
            final ActionErrors errors = new ActionErrors();
            final SProject project = getProject(request);
            try {
                if (project == null) {
                    errors.addError("projectNotFound", "Project was not found");
                    return;
                }

                if (project.isReadOnly()) {
                    errors.addError("cannotEditProject", "Project is read-only");
                    return;
                }

                final String type = request.getParameter("type");
                if (StringUtil.isEmpty(type)) {
                    errors.addError(RepositoryConstants.REPOSITORY_TYPE_KEY, "Repository type not found");
                    return;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



