In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1088 [In-Portal CMS] Data Management bug report always 2011-08-08 08:02 2011-09-19 16:08
alex  
alex  
normal  
closed 5.1.3-RC1  
fixed  
 
none 5.1.3  
https://groups.google.com/d/topic/in-portal-bugs/fpU2cp88SZs/discussion
Fixed copy/paste of category item with favorites
0
0001088: Unable to copy/paste a links, that is added to favorites
I'll added one of the links to a favorites. Then I used copy/paste function (debug mode was enabled) and it's failed because of favorite record wasn't copy-pasted and this SQL error came up.

Fatal Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,1' at line 3 (1064)
SQL:
    SELECT LinkId
    FROM rrg_Link
    WHERE ResourceId =
    LIMIT 0,1

I think, that favorite records shouldn't be copy-pasted along with a link record.
patch copypaste_with_favorites_fails.patch (407) 2011-08-08 08:02
http://tracker.in-portal.org/file_download.php?file_id=1088&type=bug
Issue History
2011-09-19 16:08 alex Note Added: 0003780
2011-09-19 16:08 alex Status resolved => closed
2011-09-16 09:23 alex Changeset attached 5.1.x r14521
2011-09-16 09:23 alex Note Added: 0003743
2011-09-16 09:23 alex Status reviewed and tested => resolved
2011-09-16 09:23 alex Fixed in Version => 5.1.3
2011-09-16 09:23 alex Resolution open => fixed
2011-09-16 09:23 alex Assigned To !COMMUNITY => alex
2011-09-07 17:59 Dmitry Status needs testing => reviewed and tested
2011-09-07 17:59 Dmitry Note Added: 0003723
2011-09-07 17:59 Dmitry Target Version Icebox => 5.1.3
2011-08-08 08:02 alex Assigned To => !COMMUNITY
2011-08-08 08:02 alex Developer => alex
2011-08-08 08:02 alex Status active => needs testing
2011-08-08 08:02 alex New Issue
2011-08-08 08:02 alex File Added: copypaste_with_favorites_fails.patch
2011-08-08 08:02 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/fpU2cp88SZs/discussion
2011-08-08 08:02 alex Change Log Message => Fixed copy/paste of category item with favorites

Notes
(0003723)
Dmitry   
2011-09-07 17:59   
Moved to 5.1.3.

Reviewed and tested okay. Please commit.
(0003743)
alex   
2011-09-16 09:23   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0001088: Unable to copy/paste a links, that is added to favorites
(0003780)
alex   
2011-09-19 16:08   
Closing, since 5.1.3 release has been released.