[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

--- Comment #8 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 108672 had a related patch set uploaded by Addshore:
Clean up error for claim index out of bounds

https://gerrit.wikimedia.org/r/108672

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

--- Comment #9 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 108672 merged by jenkins-bot:
Clean up error for claim index out of bounds

https://gerrit.wikimedia.org/r/108672

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

--- Comment #10 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 108527 merged by jenkins-bot:
Implement hack to avoid UI throwing this error

https://gerrit.wikimedia.org/r/108527

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Addshore addshorew...@gmail.com changed:

   What|Removed |Added

 CC||addshorew...@gmail.com

--- Comment #4 from Addshore addshorew...@gmail.com ---
Exception Caught: Specified index is out of bounds

#0
extensions\Wikibase\vendor\wikibase\data-model\src\Wikibase\DataModel\ByPropertyIdArray.php(432):
Wikibase\DataModel\ByPropertyIdArray-moveObjectToIndex(Object(Wikibase\DataModel\Claim\Statement),
3)
#1 extensions\Wikibase\repo\includes\ChangeOp\ChangeOpClaim.php(100):
Wikibase\DataModel\ByPropertyIdArray-addObjectAtIndex(Object(Wikibase\DataModel\Claim\Statement),
3)
#2 extensions\Wikibase\repo\includes\api\SetClaim.php(64):
Wikibase\ChangeOp\ChangeOpClaim-apply(Object(Wikibase\DataModel\Entity\Item))
#3 includes\api\ApiMain.php(861): Wikibase\Api\SetClaim-execute()
#4 includes\api\ApiMain.php(362): ApiMain-executeAction()
#5 includes\api\ApiMain.php(333): ApiMain-executeActionWithErrorHandling()
#6 api.php(76): ApiMain-execute()
#7 {main}~


Occours whenever the index submitted to wbsetclaim is 2 above the number of
claims currently in the item for the baserevid that has been submitted.

i.e. 1 claim on item for baserevid 888  submit a new claim with index 3 
Exception

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

--- Comment #5 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 108503 had a related patch set uploaded by Addshore:
Clean up error for claim index out of bounds

https://gerrit.wikimedia.org/r/108503

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|ASSIGNED|PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

--- Comment #6 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 108527 had a related patch set uploaded by Addshore:
Implement hack to avoid UI throwing this error

https://gerrit.wikimedia.org/r/108527

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

--- Comment #7 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 108503 merged by Jeroen De Dauw:
Clean up error for claim index out of bounds

https://gerrit.wikimedia.org/r/108503

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Magnus Manske magnus.man...@web.de changed:

   What|Removed |Added

 CC||magnus.man...@web.de

--- Comment #3 from Magnus Manske magnus.man...@web.de ---
For completeness' sake, it can happen for the second claim already.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2014-01-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

tobias.gritschac...@wikimedia.de changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2013-12-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

   Priority|High|Highest

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2013-12-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Maarten Dammers maar...@mdammers.nl changed:

   What|Removed |Added

 CC||maar...@mdammers.nl

--- Comment #2 from Maarten Dammers maar...@mdammers.nl ---
I've seen this happen plenty (10+) times. How to reproduce:
* Add a new claim (new property) to a page
* Add a second claim with the same property
* Try to add a third claim to the same property - POOF

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2013-12-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

   Priority|Unprioritized   |High
 Whiteboard||backlog
   Severity|normal  |major

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58394] specified index out of bounds issue when moving a statement

2013-12-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58394

Henning (WMDE) henning.sna...@wikimedia.de changed:

   What|Removed |Added

 CC||daniel.kinz...@wikimedia.de

--- Comment #1 from Henning (WMDE) henning.sna...@wikimedia.de ---
This occurs, for example, when adding three statements with a property not yet
featured by the item.
The UI sends the correct information, although the baseRevId sent along with
the request is, of course, the one received when the item was loaded since that
one is not updated by the add statement operation.
When the entity content is loaded in the SetClaim module, the initial set of
claims/statements as to the baseRevId is loaded and passed to ChangeOpClaim.
Consequently, the statements just added are missing and the index where to
place the statements within the flat list of statements is wrong because the
statements previously added are not detected being in the list of statements.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l