Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Specify mock to get null and call to the else block

I am new to Java and have been looking up for answers but I must be missing it. So here is the question: This is my controller: public REntity<IModel> getPersonById( @PathVariable("...
smukh's user avatar
  • 81
3 votes
0 answers
22 views

Unable to generate REST interfaces in Go for OpenAPI v3 using oapi-codegen

Is there a way to use tags (or another method) to generate interfaces in Go using oapi-codegen? I've tried: paths: /foobar: post: tags: - FooInterface operationId: createFoo ...
nkmuturi's user avatar
  • 446
0 votes
0 answers
30 views

Visual Studio raises an error adding endpoints with the wizard

Using Visual Studio 2022, I want to generate the API using the wizard for endpoints. The first endpoint is fine. When I create the second one, I get this error. error CS0121: The call is ambiguous ...
Enrico's user avatar
  • 6,024
0 votes
1 answer
17 views

ASP.NET Core MVC - Radio Button Selection Not Persisting During Edit

I'm working on an ASP.NET Core MVC application where users can manage categories. I have a partial view (_AddOrEditModal.cshtml) used for both creating and editing categories. This partial view ...
januszello's user avatar
1 vote
1 answer
26 views

Upload a ssl certificate and it gets deleted ( Nginx/K8s)

Some background: our application is running in Kubernetes( GCP ). Ingress is configured via Nginx Ingress controller\Cert-manager. Issue: there was a ssl certificate applied and it was in valid state. ...
user28748447's user avatar
0 votes
0 answers
26 views

How to inject tronclient into controller?

I am trying to make transactions on tron network in my controller, I am using tronsharp library for .NET 8.0. This is my controller's constructor: public TronController(DataContext context, ...
Kalik Kachinski's user avatar
1 vote
0 answers
16 views

Send controller signal to a console from a pc

Hello would it be possible to plug a controller to a pc then send the controller signal to the console as if the controller was directly plugged to the console. This would be usefull to edit the ...
b44l__'s user avatar
  • 11
2 votes
0 answers
47 views

Facing issue while trying the listview.builder to move to a specfic index in flutter

Here is the ListView.builder widget where UI implementation called trying to move the ListView.builder to a specific index, but it only worked when I didn't interact with the scroll manually; ...
Mussadaq Ahmad Jamil's user avatar
0 votes
1 answer
52 views

I cannot see the index.html page in spring boot

package crv_coders.ainews.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; @Controller public class ViewController { @...
MihaiPMC's user avatar
1 vote
1 answer
29 views

Chart.js register functions not recognizing any extensions (chartjs-chart-geo and chartjs-chart-wordcloud)

I'm working on a dashboard for a web application. The application uses Flask, and the dashboard is built with the Chart.js framework. For some charts, such as a word cloud and a Choropleth to display ...
Victor Lima's user avatar
0 votes
1 answer
92 views

How to use controller methods when they have different types

In my project I have several controllers for different needs. Basically, there is a main GUI and its controller opens 'child-GUIs'. Several child GUI can be opened. So in order to keep things tidy, I ...
4E71-NOP's user avatar
-2 votes
0 answers
39 views

I am getting 404 error while creating dynamic routes in NodeJs / Express.js server

i am creating a dynamic route file for calling all routes declared in routes folder in node js. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8&...
Keval Badarakhiya's user avatar
0 votes
0 answers
17 views

Capture Java Main Class Output in Spring Boot and Display in Angular

I have a Java Main class in a Spring Boot project that generates output when run. It needs to work both independently via the CLI and through a Spring Boot controller. When I input values via a form ...
Omesha Pasan's user avatar
0 votes
3 answers
59 views

Create Controller Inside a folder in CodeIgniter 4

how do i create a controller inside a folder programmatically using the Spark make command ? i wrote this code: $controllerName = service('request')->getpost('controllerName'); $...
Ali Tenni's user avatar
  • 306
0 votes
0 answers
36 views

ASP.NET Core: generating new endpoints at runtime

I'm looking for a solution to generate new API endpoints at runtime using ASP.NET Core 8. I'm open to generating controllers classes on the fly, using Minimal API or whatever other solution there is ...
jeanluc162's user avatar
-1 votes
1 answer
56 views

Odoo set response type for whole method or controller?

If there a way to set the response type for a whole method and/or controller in Odoo ? I created custom controllers to return data formatted as json. The problem is when the data isn't found I receive ...
olive007's user avatar
  • 851
0 votes
1 answer
25 views

java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'description' available as request attribute

I am getting the error: java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'description' available as request attribute. Could you help me correct this error?...
bakers's user avatar
  • 1
0 votes
2 answers
40 views

How to fetch user data from firebase for querying?

I tried to fetch data from Firebase whose userEmail is not same as current userEmailId and whose bloodGroup is same as current userBlood ordered by documentId (descending). But no desired result.how ...
Emon's user avatar
  • 1
0 votes
1 answer
67 views

405 Method Not Allowed : GET not allowed

I am building a simple bus reservation web app with Java 21 for backend . I keep getting error 405 Method Not Allowed ( GET not supported ) , This is my current code and i test with postman BUS ...
iheb khemila's user avatar
0 votes
2 answers
53 views

Login Route and Controller

My Blade file code is like below. <form action="{{ route('login') }}" method="post" class="row mt-4 align-items-center"> <input type="hidden" name=&...
abu abu's user avatar
  • 6,988
0 votes
0 answers
11 views

Issues with Capsule Cast while building a Kinematic Character Controller for Unity

I am facing an issue where capsule cast is not detecting a mesh collider. This happens in very narrow scenarios and by my estimate this is only occurring around intersection points between mesh ...
Imran Meerza's user avatar
-1 votes
1 answer
51 views

Routes are not getting available using resources in Rails

I am trying to learning Ruby On Rails MVC framework by implementing a test application where I am trying to create form submission and listing records. I am using resources way to define my routes to ...
Mr.DevEng's user avatar
  • 2,815
-1 votes
2 answers
78 views

No route matches Error in Controller and Router using Ruby on Rails MVC

I am new to ruby on rails. And I am trying to test one simple record pull example using Active Record. I am getting the following error while giving action from router to controller to get some ...
Mr.DevEng's user avatar
  • 2,815
0 votes
2 answers
63 views

How to change the routes to set the urls in codeigniter

I have created a codeigniter 3 project but I have set the name of controller as "exampleController" which is showing on my URL. I want to remove the word "controller" to setup ...
Abhinav Dubey's user avatar
0 votes
1 answer
55 views

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reports.'

So I am trying to open one of my blades that contain reported's data. But, it keeps me sending an error like that and this is the controller : <?php namespace App\Http\Controllers; use Illuminate\...
Kevin Marvello Bachtiar's user avatar
0 votes
1 answer
24 views

Validation and Data Generation Methods in Laravel: Which Method is Better?

I'm having a hard time deciding between two different methods when processing data from a form in Laravel. Both methods are explained below: 1: Creating with Validated Data After Validation $...
Madkhix's user avatar
  • 13
1 vote
0 answers
25 views

How to solve Controller integer parameter could not solve problem

Language: Java Framework: Spring Boot, MyBatis, MySQL I have been trying to add like service to my board service. It succeeded it. However, I'm trying to use userNo and boardNo to establish disable ...
codenoobie's user avatar
1 vote
0 answers
23 views

Controller Manager doesn’t have any parameters related to the controllers , why so?

Hi I created some controllers to control a mobile robot. When compile there is no error. Here is my controller launch file. from launch import LaunchDescription from launch_ros.actions import Node ...
Macedon971's user avatar
2 votes
1 answer
46 views

Add prefix to some java spring boot controllers

Is there a way to add a prefix to a group od controllers leaving the rest of the controllers out of this prefix example: @Slf4j @RestController @AllArgsConstructor @RequestMapping(value = "/...
Sparks's user avatar
  • 592
1 vote
0 answers
29 views

eloquent function delete & update not working

I use eloquent for delete in my project with laravel8.it returns true but the records not remove from table. what I try to do: Package::findOrFail($id)->delete(); I have this problem on eloquent ...
رضا رهنما's user avatar
0 votes
1 answer
45 views

trying to pass array in the view with error in the third

service one and two I can receive in the view but the third gives an error Controller: $servicos1 = DB::select("select * from servicos WHERE categoria = 1 ORDER BY servico DESC"); $...
Luciano Pereira's user avatar
0 votes
3 answers
66 views

Integration test java spring: expected at least 1 bean which qualifies as autowire candidate

I want to write Integration logic and endpoints and doesn't want to mock any class, but the program doesn't get into service layer, and gives the error of : Caused by: org.springframework.beans....
Bahar's user avatar
  • 3
0 votes
0 answers
14 views

I am trying to build a PID controller for a system with Matlab code . If i have to design it using the Eulers method, how to proceed

I have a third order maglev model for which I want to design a PID controller. I wish to build the controller using Euler's loop considering the system dynamics. The purpose of building the controller ...
Himangkana's user avatar
0 votes
0 answers
60 views

MG 996R Servo Motor Raspberry Pi Pico Angle Control

The MG996R is not working properly im using raspberry pi pico, it works sometimes. But once it work it won't buldge to sweep again what should i do? The connections are: Brown to GND Orange to VCC (5V)...
Julius Brenz Pingol's user avatar
0 votes
0 answers
19 views

python inputs plugin not detecting keyboard but not printing key presses

using the python Inputs plugin to make controller and keyboard shortcuts on my windows laptop. For some reason only the inputs from the controller is working but the keyboard. It is detecting the ...
user27878228's user avatar
0 votes
0 answers
26 views

I want an NPM library that takes my controller and service functions away from the main application

My structure in my original app is as follows: Folder Structure My controllers/index.js has this: module.exports.userController = require("./user.controller"); My functions inside the ...
Usman Khalid Mian's user avatar
0 votes
0 answers
26 views

How to use custom controller to delete indexed dynamically created container widgets

I am new to creating custom controllers, but I'm trying to dynamically create/remove container widgets while being able to add data to each one independently of each other. When I remove the widgets, ...
user25674912's user avatar
1 vote
1 answer
35 views

403 Forbidden error on my page after creating a storage link with php artisan

since I've created a storage link, I am encoutering a 403 error on a page. Not all pages. I want to create a projects page, and retrieve my project (name, description, img) from the database. Since I ...
Floris's user avatar
  • 11
0 votes
1 answer
111 views

Unity virtual mouse working for UI, but not firing OnMouseEnter/OnMouseDown events for 2D colliders

I'm setting up controller support for my game using a virtual mouse and the new Unity input system. The virtual mouse works for interacting with UI; however, I've found that for 2D elements, it won't ...
Steelfeathers's user avatar
0 votes
1 answer
74 views

How to make custom QWeb report render on public URL in Odoo

In odoo we can access inbuilt object via token url like this: http://localhost:8069/my/invoices/8336?access_token=96c52b2d-3604-4817-82be-4392aa8d051e&report_type=pdf If I have designed custom ...
hardik device's user avatar
0 votes
1 answer
61 views

Explanation for MVC pattern needed

I have a question about the MVC pattern. For example: I have a simple application that shows some objects (e.g. user datasets) in a listbox and maybe some buttons to interact with the stored data. In ...
ViktorCode's user avatar
2 votes
2 answers
75 views

How to retain field value in between requests in C#?

I have the following Service: public class MyService: IMyService { private string myToken; public MyService() { } public void SetMyToken(string token) { Console....
HeyLameRobin's user avatar
0 votes
2 answers
32 views

Flutter controller through signup button is not sending response back to database and also not showing any response in the console too

this is the signup1.dart function which is taking controllers from signup1 to signup2 void navigateToSignup2() { if (emailController.text.isNotEmpty && fullNameController.text....
Sameer's user avatar
  • 11
0 votes
0 answers
13 views

When i started my application, spring does not see my been of type IngredientRepository

Description: Parameter 0 of constructor in tacos.web.DesignTacoController required a bean of type 'tacos.data.IngredientRepository' that could not be found. Below controller; package tacos.web; ...
Aruzhan BBcrem's user avatar
0 votes
0 answers
116 views

TYPO3 TypoScript in Backend for multidomain usage (v13)

Since TYPO3 v12 ive used this code to get the TypoScript from the actual page $configurationManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Configuration\\...
180690's user avatar
  • 301
1 vote
2 answers
97 views

Saving the changes with AddSync

I'm a beginner in c# and i am having a problem in the code, i am using the Edit method as a Index, so i'm using the AddAsync, but when i run the code it just skips the line, and also its not saving. ...
Bizzle's user avatar
  • 89
0 votes
3 answers
88 views

How to dynamically remove a default object from 'IEnumerable<T>' on a REST controller

I've got a REST endpoint that receives the class EntityInsertRequest public class EntityInsertRequest { public string Description { get; set; } public IEnumerable<EntityFieldInsertRequest&...
Ederson Leandro's user avatar
0 votes
0 answers
31 views

Verifying the email without being logged in (including the user id in the verification link)

During creating my registration controller symfony asks this question: 'Would you like to include the user id in the verification link to allow anonymous email verification?' I choose [no]. But at the ...
Spowler's user avatar
  • 13
0 votes
0 answers
62 views

Table is created using render_datatable with dynamic data from MySQLdatabase but there is no method in the controller or model for fetching the data

In the render_datatable function, when I change the second parameter from 'leads' to 'lead', the table appears blank even though there is data. I don't understand where the data from the database is ...
Rakesh Kanaujiya's user avatar
1 vote
1 answer
18 views

The value are declared but never read - The link between the services and the controller are not clear

I'm translating a next JS app to node js I've made a service : commentService.js and a controller : commentControllers.js This is the the service : const prisma = require('../libs/prisma'); async ...
Marius Clément's user avatar

1
2 3 4 5
335