Skip to content

Commit 68e3d6e

Browse files
authored
Merge pull request #523 from edly-io/fix/short_resource_id
fix: Data too long for column 'resource_id'
2 parents beab598 + d245292 commit 68e3d6e

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

CHANGELOG.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Please See the `releases tab <https://github.com/openedx/xblock-lti-consumer/rel
1616
Unreleased
1717
~~~~~~~~~~
1818

19+
9.13.2 - 2025-01-21
20+
-------------------
21+
* Fix Data too long for column 'resource_id'. Increase column size to 255.
22+
1923
9.13.1 - 2025-01-15
2024
-------------------
2125
* Fix broken LTI 1.3 launch by adding a `kid` field to both the JWT header and data returned by the public keyset endpoint.
@@ -24,6 +28,10 @@ Unreleased
2428
-------------------
2529
* Removed pyjwkset package and replace with pyjwt package
2630

31+
9.12.1 - 2024-12-19
32+
-------------------
33+
* Update lti_url in readme for testing LTI 1.1/1.2.
34+
2735
9.12.0 - 2024-11-14
2836
-------------------
2937
* Dropped support for Python 3.8 and added support for Python 3.12.
@@ -53,7 +61,7 @@ Unreleased
5361
* BREAKING CHANGE: This version breaks translations with Quince and earlier releases.
5462
* Adding python 3.11 support. Dropping django32 support.
5563

56-
9.9.0 (2024-01-24)
64+
9.9.0 - 2024-01-24
5765
---------------------------
5866
* XBlockI18NService js translations support
5967

lti_consumer/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from .apps import LTIConsumerApp
55
from .lti_xblock import LtiConsumerXBlock
66

7-
__version__ = '9.13.1'
7+
__version__ = '9.13.2'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2.23 on 2023-12-25 10:56
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('lti_consumer', '0017_lticonfiguration_lti_1p3_redirect_uris'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='ltiagslineitem',
15+
name='resource_id',
16+
field=models.CharField(blank=True, max_length=255),
17+
),
18+
]

lti_consumer/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ class LtiAgsLineItem(models.Model):
695695
)
696696

697697
# Tool resource identifier, not used by the LMS.
698-
resource_id = models.CharField(max_length=100, blank=True)
698+
resource_id = models.CharField(max_length=255, blank=True)
699699

700700
# LMS Resource link
701701
# Must be the same as the one sent in the tool's LTI launch.

0 commit comments

Comments
 (0)