Search update

60548 results
2

votes
3

answer

Laravel - Routing to update error

I encounter a error: Some mandatory parameters are missing ('users') to generate a URL for route 'users.update'. I have this set on my view: {{ Form::open( array('action' => array('[email protected]')) ) }} {{ Form::label('username', 'Username:') }} {{ Form::text('username', $user->username...
Bajongskie
2

votes
2

answer

Batch update records in Grails

I have to calculate a 'total' for each user based on individual actions -- that is, a User hasMany Actions and each Action has a point. So I need to basically get a sum of all the points on all the actions. Actions are added and subtracted regularly. Since this can be a rather heavy operation, it's...
RyanLynch
4

votes
1

answer

Instance Transform incorrect on update

I'm using instance transforms to install the same product multiple times on the same machine. When starting the .msi installation file, I pass TRANSFORMS=':X' (and several other variables needed for the installation) on the command line, where X is the version of the Program to use. In the Product.w...
Daniel
4

votes
1

answer

Run update inside knex migration

I want to add a column to a table, then perform some work to populate the column as part of the migration. Populating the column requires some manipulation in code. Consider two tables: Users [ user_id, first_name, last_name ], and Orders [ order_id, user_id, other_field_1, other_field_2 ]. And the...
sheamus
2

votes
1

answer

extjs4 ajax api store update

I'm trying to update my store and then database after using cellediting and a combobox in a gridpanel to update a record. The update operation.action in the ajax proxy is firing correctly, it just that the store and the grid aren't syncronizing, and the post tab in firebug says my json looks like th...
user997117
7

votes
5

answer

Jquery Uniform Update doesn't work

I'm using jquery uniform on one of the project I'm working on. Since this is admin panel, I truly don't have option to show. I will explain my problem What I'm trying to do is quite simple. I'm adding some form elements (like select, check box, text input) to the page with ajax. Every single thing w...
Revenant
2

votes
1

answer

Update denormalized data in Cassandra

Let's say, we have users who can comment videos and we want to show all comments by video with user's name. Also user may go to his profile page and change his name. Based on Cassandra data modeling practices that was covered in this answer Cassandra denormalization datamodel, I've create such table...
NikolayS
2

votes
1

answer

JSlider changeListener won't update - Java

I have a fractal tree generator and I am trying to make a slider control the number of iterations, but I can not get it to work. Also, the layout gets messed up whenever the repaint() method is called. Any thoughts on how to fix this? public class FractalTree extends JPanel implements ChangeListener...
Mitchell Sayer
2

votes
2

answer

ViewController won't update after load

I got two viewControllers using a navigation bar. The first viewController displays some data I change on the second viewController. So if I load the second viewController, a back button appears in the NavBar and I can change my values (and they are stored, I used the debugger). My problem is, after...
DAS
4

votes
1

answer

Bigquery: invalid: Illegal Schema update

I tried to append data from a query to a bigquery table. Job ID job_i9DOuqwZw4ZR2d509kOMaEUVm1Y Error: Job failed while writing to Bigquery. invalid: Illegal Schema update. Cannot add fields (field: debug_data) at null I copy and paste the query executed in above jon, run it in web console and choos...
foxwendy
3

votes
4

answer

C# update SQL Server table

I've tried to write an update statement that will update some information in my SQL Server table Here is my code so far, I can't see the issue. protected void Page_Load(object sender, EventArgs e) { FirstNameEdit.Text = Session['FirstName'].ToString(); LastNameEdit.Text = Session['LastName'].ToStrin...
299

votes
15

answer

Hibernate: hbm2ddl.auto=update in production?

Is it okay to run Hibernate applications configured with hbm2ddl.auto=update to update the database schema in a production environment?
cretzel
4

votes
1

answer

Clickonce update without overwriting config

I want deploy many client (WPF) with Clickonce, i would not overwriting configuration file when i update client. It is possible ? not include the file for update ? or make a differential update ? In fact I do not want to crush the connectionString in the updated with ClickOnce.
rad
2

votes
1

answer

Symfony2 Update Error.No mapping file

I am using Symfony2 and when i try to append FOSUserBundle, but i got an error (bin/console doctrine:schema:update --force) //---------------------------------------------------------------Appkernel.php public function registerBundles() { $bundles = [ new Symfony\Bundle\AsseticBundle\AsseticBundle()...
Suat Kocabas
4

votes
0

answer

Update Certificate of KeyStore file

I have an application which has had a keystore file for a very long time. I have shared it with my colleagues for signing the live apk before publishing updates. Now, they do not work with me anymore, but my keystore remains the same. How do i prevent them from sending an update to my application,co...
Sugata Mukherjee
6

votes
4

answer

Update static variables in java

I have a class with static variables as: class Commons { public static String DOMAIN ='www.mydomain.com'; public static String PRIVATE_AREA = DOMAIN + '/area.php'; } And if I try to change DOMAIN from an Android Activity (or another java class) at runtime, the DOMAIN variable change but PRIVATE_...
AlexBerry
3

votes
1

answer

PrimeFaces Panel collapses on update

I do not know if this is possible using just primefaces and JSF but I have a panel, which is collapsed on View Entry. I can open the Panel which has a checkbox that triggers an update of the Panel. The problem is that when the panel is updated by Ajax, the Panel is collapsed again. But I want to ret...
Coen Damen
6

votes
1

answer

Wordpress Plugin - Self-Hosted Update

I'm developing a Wordpress plugin that requires updates, although the plugin version is being checked from my server. There are several plugins that I have developed which use the exact same server to check for new versions. The problem I'm experiencing is that when all the plugins require an update...
Eypeon
15

votes
2

answer

Mercurial - When to use update

When do I use update vs merge? If I do a pull from a remote repository, I'm reading that I have to do update to get those changes into my working directory. But others times I'm reading that I have to do merge. Do I maybe want to always do an update after a pull, and then do a merge only if there...
Greg
3

votes
1

answer

update Gradle to 2.10 error

I' using Gradle 2.9 in my Android Studio Project. And today I try to update Gradle to 2.10, but got an error : I follow the tip and change it to 2.2, but it doesn't work, 2.10 neither. I use local gradle distribution not the wrapper, so I think this tip looks useless.
L. Swifter
2

votes
1

answer

iPhone - Update Label from UIPickerView

I have two UIPickerViews set up on one view under the same view controller. The picker's seem to be populated with values as expected. I also have a label for each picker. The label updates with each value change, but the value displayed on the label is not correct. It's always off by 10. The codes...
intl
5

votes
1

answer

use of FOR UPDATE statement

I am using PL/SQL (Oracle 11g) to update the EMPLOYEES table salary column. I have used two separate scripts to do the same thing i.e update the salary of employees. One script uses FOR UPDATE OF statement where as another script doesn't uses it. In both cases I found that oracle holds the row lev...
niceApp
5

votes
3

answer

Asynchronous UI update with Swing

I've written a Scala program that I'd like to be triggered through a UI (also in Swing). The problem is, when I trigger it, the UI hangs until the background program completes. I got to thinking that the only way to get around this is by having the program run in another thread/actor and have it up...
Plasty Grove
8

votes
5

answer

MySQL performance DELETE or UPDATE?

I have a MyISAM table with more than 10^7 rows. When adding data to it, I have to update ~10 rows at the end. Is it faster to delete them and then insert the new ones, or is it faster to update those rows? Data that should be updated is not part of the index. What about index/data fragmentation
4

votes
2

answer

Django update and save asynchronous?

We have a model that only allows one instance of it to be active : class MyModel(models.Model): active = models.BooleanField() def save(self, *args, **kwargs): if self.active: MyModel.objects.update(active=False) super(MyModel, self).save(*args, **kwargs) This appears to work, passes simple tests to...
Guy Bowden
2

votes
2

answer

Hibernate 2nd level cache update

I have following problem. I use JBoss 5.1, JPA/Hibernate with 2-nd level cache. My system has few entities mapping the same database table. Example: Table FURNITURES is mapped by entity 'Furn' and 'Furniture'. These classes CAN NOT be changed. Now the when i change the data of 'Furn' with id 1, the...
androdevo
2

votes
1

answer

Update MySQL table in chunks

I am trying to update a MySQL InnoDB table with c. 100 million rows. The query takes close to an hour, which is not a problem. However, I'd like to split this update into smaller chunks in order not to block table access. This update does not have to be an isolated transaction. At the same time, th...
user52366
11

votes
4

answer

Update page after file download

I put together a download script after some wonderful help from stack overflow the other day. However I have now found that after the file has been downloaded I need to reload the page to get rid of the progress template on the aspx page. The code to remove the template worked before I added in the...
flyersun
5

votes
1

answer

Fall creators update performance issues

After the recent Windows 10 Update (Fall Creators Update) the performance of our .NET c# 4.0 application had decreased a lot. I think there are various issues and one of them is log4net (or disk IO). Our application is very complex (various WCF applications and a ASPNET MVC 3.0 app) and in developm...
Marc
2

votes
1

answer

Dynamics CRM 2015 update data

Exported data from CRM2015, updated one field in spreadsheet that needs updating, resaved as Excel 2003 xml format. Struggling to see how to import back in to get it to update existing contact using the 3 fields the export from CRM included. All it does is attempt to create new records.
Andy
4

votes
2

answer

Update embedded excel file programmatically

I'm trying to modify an embedded excel table in a word document programmatically. To do this, I have modified the docx file and the embedded excel file. The significant part of the main document is the following: The word document uses an OLEObject to link to the embedded excel document. For display...
Scharrels
1

votes
1

answer

Update column with generated UUID

How to update column value with a generated UUID with different value on each rows? UPDATE TABLE SET id = replace(cast(uuid_in(md5(now()::text)::cstring) as varchar), '-', ''); I've used that code but resulted in every row on id column has the same value. Thanks! UPDATE replace(cast(uuid_in(md5(now...
mrjimoy_05
2

votes
2

answer

JPA many-to-many update

Just another one regarding many to many relationship in JPA. I have the following structure in my database: ______ ___________ _______ | user | | user2item | | item | |------| |-----------| |-------| | id | | user_id | | id | | name | | item_id | | name |...
LordHelmchen
3

votes
4

answer

Update each 5-th td

I need update each 5-th td. I write such jquery $(document).ready(function(){ var td = $('tbody td:nth-child(5)'); var img = '/img/'+td.html().trim().toString(); $.each(td, function(index, value){ value.html(''); }); }) But it say me Uncaught TypeError: value.html is not a function. How i can fixed...
Taylor Beear
35

votes
7

answer

Animate ProgressBar update in Android

I am using a ProgressBar in my application which I update in onProgressUpdate of an AsyncTask. So far so good. What I want to do is to animate the progress update, so that it does not just 'jump' to the value but smoothly moves to it. I tried doing so running the following code: this.runOnUiThread(...
user1033552
5

votes
3

answer

Magento: Update cart quantity programatically

I am creating a magento extension. In which i want to update the item quantity in cart programatically. I am using the following code to display the items in cart. $quote = Mage::getSingleton('checkout/session')->getQuote(); $cartItems = $quote->getAllVisibleItems(); foreach ($cartItems as $item) {...
Nirmal Ram
2

votes
2

answer

update query with multiple values

I want to write an update query in MS Access 2003. I have a field called product_code. If product code is (between 110 and 752) OR (between 910 and 1124), I want to update product code=15. If product code is (between 1210 and 1213) OR (1310 and 1423) I want to assign product code=16. If product cod...
ozlem
2

votes
2

answer

Extjs store.save() not recognize update

I follow instruction in writer to create grid with CRUD ability, but the problem is when I edit existing row and save() it recognize that dirty row as create, I think the problem may lie in my idProperty as in link, but can't figure out how. Here is my code Column model var xsmWin = new Ext.grid.Che...
sarunw
2

votes
2

answer

Yii2 composer update error authclient

Today i did a composer update on my project. During updating dektrium return error : here is my composer: { 'name': 'my company', 'description': 'my company website', 'keywords': ['computers', 'advanced', 'web design'], 'homepage': 'here is a link', 'type': 'project', 'license': 'BSD-3-Clause', 'su...
Jeni Vasileva
80

votes
8

answer

SQLite UPSERT / UPDATE OR INSERT

I need to perform UPSERT / INSERT OR UPDATE against a SQLite Database. There is the command INSERT OR REPLACE which in many cases can be useful. But if you want to keep your id's with autoincrement in place because of foreign keys, it does not work since it deletes the row, creates a new one and con...
bgusach