Merge pull request #20455 from calixteman/bug1998843

[XFA] Set default max value in occur tag to -1 (bug 1998843)
This commit is contained in:
calixteman 2025-11-22 20:59:04 +01:00 committed by GitHub
commit ec71e4ed65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 1 deletions

View File

@ -3899,7 +3899,7 @@ class Occur extends XFAObject {
attributes.max !== "" attributes.max !== ""
? getInteger({ ? getInteger({
data: attributes.max, data: attributes.max,
defaultValue: 1, defaultValue: -1,
validate: x => true, validate: x => true,
}) })
: ""; : "";

View File

@ -0,0 +1 @@
https://bugzilla.mozilla.org/attachment.cgi?id=9525217

View File

@ -13075,5 +13075,15 @@
"type": "extract", "type": "extract",
"includePages": [0], "includePages": [0],
"pageMapping": { "1": 1 } "pageMapping": { "1": 1 }
},
{
"id": "xfa_bug1998843",
"file": "pdfs/xfa_bug1998843.pdf",
"md5": "b7b25e5b05b2b903d0a6727c9f962a91",
"link": true,
"rounds": 1,
"enableXfa": true,
"lastPage": 1,
"type": "eq"
} }
] ]