Check Contracts validity when loading it.
Bug #1026317 reported by
Akshay Shekher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Contractor |
Fix Released
|
Wishlist
|
Victor Martinez |
Bug Description
When the contractor is loading contracts it must check their validity and if they are broken they must be ignored.
A contract is invalid if it has empty Name or Exec key, doesn't have them at all or the Exec key doesn't contain %[fFuU].
Related branches
lp:~victored/contractor/fixes
- Sergey "Shnatsel" Davidoff: Approve
- Victor Martinez (community): Abstain
-
Diff: 1949 lines (+856/-927)19 files modifiedsrc/Application.vala (+61/-0)
src/CMakeLists.txt (+28/-18)
src/Contract.vala (+43/-190)
src/ContractDirectory.vala (+65/-0)
src/ContractFile.vala (+48/-0)
src/ContractKeyFile.vala (+110/-0)
src/ContractManager.vala (+60/-0)
src/ContractSorter.vala (+28/-0)
src/ContractSource.vala (+79/-0)
src/DBusService.vala (+45/-136)
src/FileEnumerator.vala (+69/-0)
src/FileService.vala (+36/-185)
src/GenericContract.vala (+23/-0)
src/MimeTypeManager.vala (+71/-0)
src/String.vala (+22/-0)
src/Translations.vala (+44/-0)
src/ablage (+0/-394)
src/config.vala.cmake (+0/-4)
src/main.vala (+24/-0)
Changed in contractor: | |
importance: | Undecided → Wishlist |
Changed in contractor: | |
status: | New → Triaged |
description: | updated |
Changed in contractor: | |
assignee: | nobody → Victor (victored) |
status: | Triaged → In Progress |
Changed in contractor: | |
status: | In Progress → Fix Released |
To post a comment you must log in.