4,592 questions
0
votes
0
answers
53
views
Approach for Handling CRUD Operations with Two Related DataGridViews and Save Changes Button
In a C# desktop application I have two related DataGridViews (dgvAlgorithm and dgvParameter) and a save changes button (btnSave). Both DataGridViews are related to 3 tables: (algorithm, parameter, ...
0
votes
1
answer
99
views
How to reset password in a Django UserChangeForm
I have a basic CustomUser model in my project. When I want to update it I fill my form with instance where I try to make user's password null, but anyway in the form I receive:
"No password set.
...
0
votes
0
answers
76
views
Using Tanstack Query with Tanstack DB: Instant update when deleting and adding
I am new to everything here, I need help if this will load fast.
The Problem: When i am using normal API Calls, it takes a while to update the UI of the changes. I’m currently working implementing ...
1
vote
2
answers
122
views
How to create an update function for a Django AbstractUser
I created signup/login with 'UserCreationForm'. How can I make update possible by using 'UserChangeForm'?
users/models.py
from django.contrib.auth.models
import AbstractUser
# Create your models here....
2
votes
2
answers
84
views
Laravel redirect 404 issue after Form submitting [closed]
I have developed a webapp with laravel.
Unfortunately I get a 404 after saving the form. But the logging shows me that the task was successfully updated.
Some stackoverflow postings cant helped me.
So ...
0
votes
1
answer
93
views
spring boot saveAll() hangs when called from @Scheduled, but works if called from a controller
saveAll(myEntities) just hangs if my service is called from a @Scheduled job sub module, but works if called from a @RestController submodule.
Other @Schuled jobs in the same module work.
However, ...
1
vote
0
answers
34
views
Symfony form $form->isValid() always returns false – Form is submitted, all fields filled
<div class="container">
<h1>Hello {{ controller_name }}! </h1>
<div class="row">
<table class="table">
<tr>
...
0
votes
1
answer
23
views
Cannot POST /put-crud
I am trying to build a REST API out of Nodejs
this is the form to edit user information
<form action="/put-crud" method="POST">
<div class="form-row">
...
0
votes
1
answer
35
views
Error: Can't set headers after they are sent to the client (Node.js)
here is my fullcode whenever i use Sendemail code given below in forgot password it works very well but when i use it in signUp controller it is throwing the error ( Error: Can't set headers after ...
0
votes
0
answers
65
views
How to make many to many relation in NestJS with `nestjsx/crud` or `dataui/crud`
I'm building a RestAPI with NestJS and using the dataui/crud (nestjsx/crud) framework for crud operations and need help implementing a ManyToMany relation.
When creating a ManyToOne or OneToMany ...
-3
votes
1
answer
103
views
Automatic logout if the tab is closed or every 15 minutes page will logout in app script web page
Is there a formula or function in Google Apps Script that will automatically log out the webpage every 15 minutes?
Is there a formula or function in Google Apps Script that will automatically log out ...
1
vote
2
answers
106
views
Show all the data that equals in the inputted values of username by searching the inputted values from Data sheet
I have created a web app for database of my company, the web app is simple, it first asks them to provide their username and a password. Now, I need to find a way how to show all the data that equals ...
0
votes
1
answer
20
views
Nestjs CrudContoller Patch method not updates record
Updating record with nestjs/crud CrudController not updates record
0
votes
0
answers
146
views
CRUD operation on .NET, WPF and Entity Framework
I have an "Enterprise Resource Planning" project. It uses a SQLite database.
With Entity Framewok, I got my entity classes.
For CRUD operations, I modified my ObservableCollection:
public ...
1
vote
1
answer
486
views
What is Causing the Payload Argument must be type object when data matches the schema
I am getting an error
⨯ [TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE',
digest: '447529059'
}
when I have the following prisma ...
0
votes
0
answers
253
views
Access Dataverse tables in different tenant from Power Automate
We're currently using Power Automate to manage data that exists in Dataverse tables that are part of the same tenant as the flows. Data access is typically done using the native Dataverse connection/...
0
votes
0
answers
73
views
Getting update and delete working in Laravel 11 Inertia and Vue
I can't get the update and delete functionality working. The create functionality works.
web.php:
Route::post('/income', [IncomeController::class, 'create']);
Route::put('/income/{id}', [...
0
votes
1
answer
65
views
await InvokeAsync(StateHasChanged) does not change the database content unless page is reloded
I'm doing very basic CRUD Blazor Web App, my Create and Delete works just fine, as soon as I add or remove an item in my database the item is immediately updated on my razor page. But not when I use ...
3
votes
2
answers
398
views
Dark Overlay while navigate table and search in laravel fillament 3.2
i have a problem when navigating in table and searching for items in laravel filament a dark overlay appears but no modal, pop up or anything, and i cant close it, and i need to refresh the page and ...
0
votes
1
answer
100
views
Laravel 11 Inertia Vue making an edit that doesn't take user to another page
I'm pretty new to this and it seems there are so many pages and teachers that make the Edit function its own page, but I want to do it on the same page so the user can just edit it while seeing ...
0
votes
0
answers
84
views
Instead of updating, a new post is being created
I'm working on a small CRUD site, and I ran into a problem: when trying to update an existing post, a new one gets created instead of modifying the existing one.
The ID is being passed correctly, I’ve ...
1
vote
0
answers
49
views
Page reloads instead of displaying modal for Edit, Details, and Delete actions
I’m working with an ASP.NET MVC project where I've used Entity Framework to generate CRUD actions for a Student controller. The HomeController handles the main view (Index), which displays a paginated ...
0
votes
1
answer
48
views
Learning CRUD and ASP.Net - Parent to list Child
I do apologise if this has been asked before. I'm trying to research but I also don't know what I'm supposed to search, sorry. So I'm trying to get the Parent and Child to link together on my project. ...
1
vote
0
answers
35
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 ...
0
votes
1
answer
39
views
Update function in my CRUD with Repository-Services-Controllers architecture
I have a repository layer, service layer and controller layer for my user entity. I want to update one of my records by username.
This is my repository layer for the update:
public async Task<...
1
vote
1
answer
92
views
Eloquent model update method not working through web but working through tinker in Laravel 10.45.1
I have had this problem many times now and I really wonder why this is happening.
Here is its latest occurrence:
public function updateBirthDate(Request $request)
{
try {
$request->...
0
votes
1
answer
58
views
How to map rest resource, domain model and entity
I have a shop object where one area can only contain only one open shop.
Entity model
@Entity
Public class Shop{
@Id @GeneratedValue Long id;
String Name;
String Area;
String closed;
}
Domain ...
1
vote
3
answers
153
views
Laravel CRUD application returning null for individual items
I am trying to make a Laravel crud application following a tutorial but unable to get my items to show with data individually. I can output all items in the database but unable to output a single item ...
0
votes
1
answer
274
views
How to debug/trace Spring PreAuthorize annotation
I have spring boot application. I am trying to follow the official spring tutorial from here https://github.com/spring-attic/tut-react-and-spring-data-rest/
or specifically this class:
https://github....
1
vote
1
answer
28
views
Express CRUD operations "Cannot read properties of undefined (reading 'comment')"
I am building a simple app that displays an index of comments, allows posting of new comments, and editing+deleting of existing comments. I do this following Colt Steele's course section 371.
At a ...
0
votes
0
answers
98
views
In Laravel, I want a page history not be stored in browser history. How to prevent user using "back" button to see the old page
am working with CRUD project Laravel using Modal for: create, delete, update. But there is a situation when user from Home Page go to a Room Page. In the Room Page, they will click the update button ...
1
vote
0
answers
43
views
How to connect multiple lambda function to a unified api in Golang
I created a Golang hotel reservation application which uses GraphQL and dynamodb. I have a reservation module which has the CRUD functions. All the functions have their own APIs. like create has ...
-1
votes
1
answer
77
views
Delete Method in CRUD operation in Spring Bo
I have been trying CRUD Operation for my spring boot.
I have to delete the row by given name in delete() method. I need some guidance to get this working. I debugged the code but it returns 500 error ...
1
vote
0
answers
127
views
Symfony/EasyAdmin: how to access entity when rendering embedded form
I'm using Symfony 6.4 and EasyAdmin 4.10
I'm rendering a form including embedded forms for entities included in the main entity (A Client class that includes several Videos and Playlists).
I'm ...
0
votes
0
answers
47
views
How to save decryption key in Python using sqlite during GUI lifespan?
I'm using from pysqlcipher3 import dbapi2 to work with encrypted SQLite databases in a Python application with a GUI. Every time I connect to the database and decrypt it, I use the following code:
...
1
vote
0
answers
114
views
Automatic translator from OData requests to GraphQL
I have an existing GraphQL endpoint, and I need to connect it to a service that understands OData for CRUD operations. Is it physically possible to write an automatic translator from OData requests to ...
0
votes
0
answers
91
views
Notes not showing up on Main View (Flutter App)
Ive been following freecodecamp 37 hour flutter course by Vandad.
The course was running smoothly without any problem until 21:50:42, when he teaches how to show all notes in main ui. Ive wrote the ...
1
vote
0
answers
157
views
Failed to execute command: node @nestjs/schematics:
$ nest g resource employees
? What transport layer do you use? REST API
? Would you like to generate CRUD entry points? Yes
Error: Cannot read properties of undefined (reading 'text')
Failed to ...
0
votes
2
answers
181
views
.NET / EF Core CRUD The database operation was expected to affect 1 row(s), but actually affected 0 row(s);
I'm creating a new project trying to use Generics as much as possible, but I've encountered an issue when doing HttpPut and using EF Core.
I'm using SQL Server in a container to store temporary data.
...
0
votes
0
answers
86
views
UpdateForm.js:78 PUT http://localhost:8080/api/items/4 422 (Unprocessable Content)
I was working on a Small Personal Project of mine of learning purposes.
Using ReactJs as Frontend & send requests to Laravel API as Backend.
The CRUD application I made is almost complete but the ...
1
vote
0
answers
162
views
Problems with the update in CRUD PHP Codeigniter 4
I'm trying to do a CRUD with Codeigniter 4, it's my first time using this framework. I created the Database in Mysql and I have already done the register and login ( they work at the moment) So on the ...
1
vote
1
answer
202
views
Can't post image file to Express server with Angular 18.0.6
I am not a native English speaker so my english might be hard to read.
I am currently developing Angular(18.0.6) application and trying to implement CRUD using express and mysql.
What I am trying is ...
3
votes
1
answer
30
views
Django error: Reverse for 'user_workouts' not found. 'user_workouts' is not a valid view function or pattern name
I'm working on my project for a course and I'm totally stuck right now. I'm creating a website to manage workouts by user and the create workout do not redirect to the user's workouts page when I ...
-1
votes
1
answer
100
views
How to make update function in crud
i'm trying to make an edit function in crud using js and i can't make it the problem is that the row doesn't update when i click on the edit button the info appears in the input fields again but when ...
0
votes
2
answers
57
views
Ignoring request for not matching predefined routes
I have some Sanic Python app code where following routes are defined:
def create_inspector(app):
inspector = Sanic(configure_logging=False)
inspector.config['KEEP_ALIVE'] = False
...
2
votes
2
answers
346
views
Woocommerce Schedule Sale Start Date Issue
I am trying programmatically set a sale start date.
I am using:
function mysalesdates( $product, $sale_start,$sale_end ) {
if ( ! is_a( $product, 'WC_Product' ) ) {
$product = wc_get_product(...
0
votes
1
answer
46
views
ListView builder with data from API
i have data from API that contains 400++K data, when I search some data, it works but only shows the data that is on page 1this API contain 10 data per page
this is my controller, i want to search ...
0
votes
1
answer
214
views
SwiftData updating a Model's property which is a list
I have following problem, please refer to the code below.
In the app I can create an Artist (@Model) and add some Albums (@Model) to it. These are stored and displayed as supposed.
When I'm launching ...
1
vote
1
answer
380
views
add hours to a datetime field in mongodb
How do I add hours to a timestamp in a filtered set of documents in mongodb?
A few documents were entered into a collection with a timestamp of 13:00 Pacific Time (PDT) in error, rather than the ...
2
votes
2
answers
103
views
Issues regarding Updating values using CRUD operations in angular 17 with JSON Server
When I want to update the records stored in an API, the route is passed via ActivatedRoute and is available in the file, but the records are not showing up in the HTML where I want the user to update ...